Home
E 1.8 User Manual
Contents
1. 7 Additional utilities fl Common options S yere 6 42 0 Pee pra 7 2 Grounding gro nd ra r 0004 7 3 Rewriting enormalizer 7 4 Multiple queries e ltb_runner TAL USAGE tM Mol Sie ite a ed Dak ek eG As 7 4 2 Batch specification fle 0 o 42 7 4 3 Interactive queries a 44 7 5 Specification pruning e axfilter 44 Tol Filter algorithms po ensein e hae oe a 46 7 5 2 Filter specification aaao 46 A License 48 Chapter 1 Introduction This is a short and currently quite sketchy documentation of the equational theorem prover E E is an purely equational theorem prover for full first order logic with equality It is based on paramodulation and rewriting This means that E reads a set of formulas and or clauses and saturates it by systematically applying a number of inference rules until either all possible non redundant inferences have been performed or until the empty clause has been derived i e the clause set has been found to be unsatisfiable and thus the conjecture has been proved E is still a moving target but most recent releases have been quite stable and the prover is being used productively by several independent groups of people This manual should enable you to experiment with the prover and to use some of its more advanced features The manual assumes a working knowledge of refutational theorem proving wh
2. firstmaximal0 Give the same arbitrary positive weight to all function sym bols except to the first maximal one encountered order is arbitrary which is given weight 0 arity Weight of a function symbol f n is n 1 i e its arity plus one aritymax0 As arity except that the first maximal symbol is given weight 0 modarity Weight of a function symbol f is n c where cis a positive constant W_TO_BASEWEIGHT which has been 4 since the dawn of time modaritymax0 As modarity except that the first maximal symbol is given weight 0 aritysquared Weight of a symbol f n is n 1 aritysquaredmax0 As aritysquared except that the first maximal symbol is given weight 0 invarity Let m be the largest arity of any symbol in the signature Weight of a symbol f ism n 1 invaritymax0 As invarity except that the first maximal symbol is given weight 0 invaritysquared Let m be the largest arity of any symbol in the signature Weight of a symbol f n is m n 1 invaritysquaredmax0 As invaritysquared except that the first maximal symbol is given weight 0 precedence Let lt be the pre determined precedence on function symbols F in the problem Then the weight of f is given by glg lt fH 1 the number of symbols smaller than f in the precedence increased by one invprecedence Let lt be the pre determined precedence on function symbols F in the problem Then the weight of f is given by g f lt g
3. o dVR adv S ables d D and R does not contain any symbol from D We write SP N to denote the set of all clauses that can be generated with one generating inference from SP on a set of clauses N Dsp to denote the set of all SP derivations and Dyp to denote the set of all finite SP derivations lt As SP only removes clauses that are composite with respect to the remaining set of clauses the calculus is complete For the case of unit clauses it degener ates into unfailing completion BDP89 as implemented in DISCOUNT E can also simulate the positive unit strategy for Horn clauses described in Der91 using appropriate selection functions Contrary to e g SPASS E does not implement special rules for non equa tional literals or sort theories Non equational literals are encoded as equations and dealt with accordingly 5This rule is always exhaustively applied to any clause leaving n split off clauses and one final link clause of all negative propositions 11 3 2 Preprocessing Axiom Filtering Real life axiom sets have grown steadily over the last years One increasing application for deduction is e g the answering of questions based on large common sense ontologies Such specifications can contain from several thousand to several million input axioms only a small part of which are necessary for any given query To avoid swamping the inference engine with most likely irrelevant facts E implements two different
4. 1 the number of symbols larger than f in the precedence increased by one freqcount Make the weight of a symbol the number of occurrences of that symbol in the potentially preprocessed input problem invfreqcount Let m be the number of occurrences of the most frequent symbol in the input problem The weight of f is m minus he number of occurrences of f in the input problem 26 freqrank Sort all function symbols by frequency of occurrence which induces a total quasi ordering The weight of a symbol is the rank of it s equiva lence class with less frequent symbols getting lower weights invfregrank Sort all function symbols by frequency of occurrence which in duces a total quasi ordering The weight of a symbol is the rank of its equivalence class with less frequent symbols getting higher weights freqranksquare As freqrank but weight is the square of the rank invfreqranksquare As invfreqrank but weight is the square of the rank invmodfregrank Sort all function symbols by frequency of occurrence which induces a total quasi ordering The weight of an equivalence class is the sum of the cardinality of all smaller classes 1 The weight of a symbol is the weight of its equivalence classes Less frequent symbols get higher weights invmodfreqrankmax0 As invmodfreqrank except that the first maximal sym bol is given weight 0 constant Give the same arbitrary positive weight to all function symbols 4 3 Lit
5. 4
6. CC e If sel C NC 9 then sel C 0 We say that a literal is selected with respect to a given selection function in a clause C if sel C lt We will use two kinds of restrictions on deducing new clauses One induced by ordering constraints and the other by selection functions We combine these in the notion of eligible literals Definition 3 1 2 Eligible literals Let C L V R be a clause let o be a substitution and let sel be a selection function e We say a L is eligible for resolution if either sel C and o L is gt maximal in o C or C ACT or C ACH sel C 0 and o L is gt z maximal in o sel sel C 0 and o L is gt maximal in o sel e o L is eligible for paramodulation if is positive sel C and o L is strictly gt maximal in o C The calculus is represented in the form of inference rules For convenience we distinguish two types of inference rules For generating inference rules written with a single line separating preconditions and results the result is added to the set of all clauses For contracting inference rules written with a double line the result clauses are substituted for the clauses in the precondition In the following u v s and t are terms o is a substitution and R S and T are partial clauses p is a position in a term and A is the empty or top position D C F is a set of unused constant predicate symbols Different clauses are assumed
7. formula being counted multiple times The second parameter determines if only formulas and clauses of the type conjecture and negated_conjecture are used as the initial seed for the SInE algorithm or if clauses and formulas of type hypothesis are auto matically added to the core for the first iteration The benevolence determines the threshold used for determining the rarest symbols in a clause or formula It is a floating point value All symbols with a frequency count less than the benevolence value times the count of the least frequent symbol in a clause are considered for the D relation The generosity also determines how many symbols are used for the D relation It defines an upper bound on the number of symbols used The rec depth determines how many levels of clause formula selection are performed before the selection is stopped The set size adds another early termination criterion It stops the al gorithm as soon as this number of axioms have been selected The set fraction has the same purpose but specifies the limit as a fraction of the cardinality of the input set Finally the optional last argument determines if clauses or formulas which do not contain any function or predicate symbols pass the filter E does not consider equality as a normal symbol so clauses or formulas that only contain variables will never be selected by the standard SInE algorithm This parameter adds them explicitly This is a rare occurence s
8. A Robinson and A Voronkov editors Handbook of Automated Reasoning volume I chapter 5 pages 335 367 Elsevier Science and MIT Press 2001 A Riazanov and A Voronkov Vampire 1 1 System Description In R Gor A Leitsch and T Nipkow editors Proc of the 1st IJCAR Siena volume 2083 of LNAI pages 376 380 Springer 2001 50 RVO2 Sch00 Sch01 Sch02a Sch02b Sch04 Sch12 SS02 SSCG06 Sut09 Tam97 WAB 99 A Riazanov and A Voronkov The Design and Implementation of VAMPIRE Journal of AI Communications 15 2 3 91 110 2002 S Schulz Learning Search Control Knowledge for Equational De duction Number 230 in DISKI Akademische Verlagsgesellschaft Aka GmbH Berlin 2000 Ph D Thesis Fakult t fiir Informatik Technische Universitat M nchen S Schulz Learning Search Control Knowledge for Equational The orem Proving In F Baader G Brewka and T Eiter editors Proc of the Joint German Austrian Conference on Artificial Intelligence KI 2001 volume 2174 of LNAI pages 320 334 Springer 2001 S Schulz A Comparison of Different Techniques for Grounding Near Propositional CNF Formulae In S Haller and G Simmons editors Proc of the 15th FLAIRS Pensacola pages 72 76 AAAI Press 2002 S Schulz E A Brainiac Theorem Prover Journal of AI Commu nications 15 2 3 111 126 2002 S Schulz System Description E 0 81 In D Basin and M Rusinow itch ed
9. filtering mechanisms Both start with the conjecture select facts that are likely connected to the conjecture and then recursively apply this process again e Classical relevancy pruning starts with the function and predicate sym bols in the goal Every axiom that shares such a symbol is considered relevant Symbols in relevant axioms become relevant themselves The process is then repeated for a selected number of iterations The option rel pruning level determines how many iterations are performed Relevance pruning is complete in the non equational case if allowed to reach a fixed point It only provides a relatively coarse measure however e More fine grained control is offered by the SInE method HV11 SInE does not consider all symbols in already selected clauses and formulas to be relevant but defines a D relation that determines which symbols to consider relevant E implements a frequency based D relation in every clause or formula the least frequently occurring symbols are considered relevant SInE in E is controlled via the option sine It takes as its argument either the name of a predefined SInE filter specification or a newly defined strategy The default is equivalent to sine Auto and will automatically determine if axiom filtering should be applied and if yes which filter should be applied Filter selection is based on a number of features of the problem specification and on performance of different filters on the
10. txt interactive Parsing Axioms CSRO03 2 ax Parsing Axioms CSROO3 5 ax WCT 1s Solved 0 0 Enter job help or quit followed by go on a line of its own help go Enter a job help or quit Finish any action with go on a line of its own A job consists of an optional job name specifier of the form job lt ident gt followed by a specification of a first order problem in TPTP 3 syntax including any combination of cnf fof and include statements The system then tries to solve the specified problem including the constant background theory and prints the results of this attempt Enter job help or quit followed by go on a line of its own job test_job include CSR083 3 p go HHH H Processing started for test_job Filtering for Threshold 10000 606 Filtering for GSinE CountFormulas hypos 6 000000 Filtering for GSinE CountFormulas hypos 1 200000 sal Filtering for GSinE CountFormulas nohypos 6 000000 No proof found by Threshold 10000 SZS status Theorem for test_job Solution found by GSinE CountFormulas nohypos 1 200000 Pid 69178 Preprocessing time 0 012 s SZS status Theorem SZS answers Tuple s__Human _ HHH HH HH HOH HH H Proof found User time 0 009 s System time 0 005 s Total time 0 013 s Maximum resident set size 2457600 pages Proof reconstruction starting SZS ou
11. wall clock time limit al lowed per problem If this is zero no per problem limit exists e The specification of the background theory in the form of a list of TPTP include statement Note that the file names will be interpreted as always An absolute file name is an absolute file name A relative file name is relative to the current working directory or of the file is not found relative to the value of the TPTP environment variable if set e The list of individual batch jobs in the form of pairs of absolute problem file names with the first giving the problem specification the second the 43 location for the result for the problem In the setup for interactive queries this will typically be empty 7 4 3 Interactive queries If e_1tb_runner is called with the option interactive it will not terminate after processing the batch jobs but will wait for user requests entered via stan dard input i e usually via the terminal All requests need to be terminated with go on a line of its own The following three user requests are supported e help Prints a short help text e quit Terminates the program in a controlled manner e The last option specifies a theorem proving job It optionally starts with a job name specifier of the form job lt ident gt and then specified a problem in TPTP 3 CNF FOF syntax optionally using include statements After the concluding go the specification will be parsed combined with the backgro
12. 1991 J Denzinger M Kronenburg and S Schulz DISCOUNT A Dis tributed and Learning Equational Prover Journal of Automated Reasoning 18 2 189 198 1997 Special Issue on the CADE 13 ATP System Competition J Denzinger and S Schulz Analysis and Representation of Equa tional Proofs Generated by a Distributed Completion Based Proof System Seki Report SR 94 05 Universit t Kaiserslautern 1994 J Denzinger and S Schulz Recording Analyzing and Present ing Distributed Deduction Processes In H Hong editor Proc 1st PASCO Hagenberg Linz volume 5 of Lecture Notes Series in Com puting pages 114 123 Singapore 1994 World Scientific Publishing J Denzinger and S Schulz Recording and Analysing Knowledge Based Distributed Deduction Processes Journal of Symbolic Com putation 21 4 5 523 541 1996 49 ES04 HBF 96 HJL99 HV11 McC94 MIL 97 MMZ 01 MW97 NN93 NWo1 RVO1 Niklas E n and Niklas S rensson An extensible SAT solver In En rico Giunchiglia and Armando Tacchella editors Proc of the Sixth International Conference on Theory and Applications of Satisfiability Testing volume 2919 of LNCS pages 502 518 Springer 2004 Th Hillenbrand A Buch and R Fettig On Gaining Efficiency in Completion Based Theorem Proving In H Ganzinger editor Proc of the 7th RTA New Brunswick volume 1103 of LNCS pages 432 435 Springer 1996 Th Hillenbrand A Jaeger
13. E 1 8 User Manual preliminary version Stephan Schulz July 14 2015 Abstract E is an equational theorem prover for full first order logic based on superposi tion and rewriting In this preliminary manual we first give a short introduc tion for impatient new users and then cover calculus and proof procedure The manual covers proof search control and related options followed by input and output formats Finally it describes some additional tools that are part of the E distribution Contents 1 Introduction 2 Getting Started 3 Calculus and Proof Procedure Salis Caleulus gt oben ates DA ri a aa A 3 2 PTeprocessi cs aa eg ea 3 3 Proof Procedure til ob bee E Re E 4 Controlling the Proof Search 4 1 Search Control Heuristics o e e 4 27 Teri Orderings s i s Le a A 4 3 Literal Selection Strategies ee en 4 4 The Watchlist Feature e e 4 5 Learning Clause Evaluation Functions 4 0 7 Other Options 2 6 sa a e ed Sok a a we a 5 Input Language A od So Se Ge at ate Sk A ee Ah ye eee eR ate 52 gt TPTP Format iria ioe et ee ee a 4 6 Output or how to interpret what you see 6 1 The Bare Essentials o a 6 2 Observing Saturation 2 2 en 6 3 Inference Protocols 0 0 000002 eee 6 4 Proofs Objects sie lee ees a ee a ee ee dit ee eo 6 5 Answersi i an bo Aa Pe a DA ee a A 6 6 Requesting Specific Output o e
14. THEO allows the same identifier to be used as a constant a non constant function symbol and a predicate symbol E encodes all of these as ordinary function symbols and hence will complain if a symbol is used inconsistently E allows the use of as an infix symbol for equality a b is equivalent to equal a b for E E does not support constraints or SETHEO built in symbols This should not usually affect pure theorem proving tasks E normally treats procedural clauses exactly as it treats declarative clauses Query clauses clauses with an empty head and starting with e g p X q X can optionally be used to define the a set of goal clauses by default all negative clauses are considered to be goals At the mo ment this information is only used for the initial set of support with sos uses input types Note that you can still specify arbitrary clauses as query clauses since LOP supports negated literals 31 5 2 TPTP Format The TPTP Sut09 is a library of problems for automated theorem prover Prob lems in the TPTP are written in TPTP syntax There are two major versions of the TPTP syntax both of which are supported by E Version 2 of the TPTP syntax was used up for TPTP releases previous to TPTP 3 0 0 The current version 3 of the TPTP syntax described in SSCG06 covers both input problems and both proof and model output using one consis tent formalism It has been used as the native format for TPTP releases sin
15. TPTP problem library A SInE Filter for E is specified as follows lt sine filter gt GSinE lt g measure gt hypos nohypos lt benvolvence gt lt generosity gt lt rec depth gt lt set size gt lt set fraction gt addnosymb ignorenosymb 12 lt g measure gt is the generality measure Currently CountFormulas and CountTerms are supported The first considers a symbol more general than another if it occurse in more formulas The second counts the number of subterms which contain the symbol as the top symbol hypos or nohypos determines if clauses and formulas of type hypothesis are used as additional seeds for the analysis lt benevolence gt is a floating point value that determines how much more general a function symbol in a clause or formula is allowed to be relative to the least general one to be still considered for the D relation lt generosity gt is an integer count and determines how many symbols are maximally considered for the D relation of each clause or formula lt rec depth gt determines the maximal number of iterations of the selection algorithm lt set size gt gives an absolute upper bound for the number of clauses and formulas selected set fraction gives a relative size which fraction of clauses formulas will be at most selected Finally the optional last argument determines if clauses or formulas which do not contain any function or predicate s
16. This inference rule is an alternative to SP that performs better in prac tice e Equality factoring sxtVuxvVR if o mgu s u o t 4 o s and o s t eligible for o tAvVuzv VR paramodulation EF e Rewriting of negative literals RN ue OO sxt ulpco t 4ZuvVR in k Ka e Rewriting of positive literals st uxuvVR if ulp a s o s gt a t and RP if uv is not eligible for reso s t ulp o t vu VR lution or u 4vorpXA e Clause subsumption C a C V R where C and R are arbitrary CS partial clauses and is a C substitution 2A stronger version of RP is proven to maintain completeness for Unit and Horn prob lems and is generally believed to maintain completeness for the general case as well Bac98 However the proof of completeness for the general case seems to be rather involved as it re quires a very different clause ordering than the one introduced BG94 and we are not aware of any existing proof in the literature The variant rule allows rewriting of maximal terms of maximal literals under certain circumstances if ulp o s o s gt o t and if RP gt sxt usvVR u v is not eligible for resolution or set ulp o 80 v VR u vor p Xora is not a variable renaming This stronger rule is implemented successfully by both E and SPASS Wei99 Equality subsumption ES sxt ulp o s ulp o t VR Set Positive simplify reflect sxt up o s 2ul
17. ain backwards compatibility to for the LTB format used in CASC J6 and docu mented at http www cs miami edu tptp CASC J6 Design html Problems A batch specification file consists of a number of defined comments inter leaved with parameter settings and include statements for the axiom files of the background theory This is followed by an optional list of job specifiers where each job specifier consists of a pair of file names with the first specified file containing the conjecture and possible additional hypotheses while the second file name describes where the output of the proof attempt should be stored Figure 7 2 shows an example of an LTB batch specification file E 1tb_runner ignores all comment lines in the batch specification file The non comment lines are described below e division category division_mnemonic category_mnemonic This line is expected and parsed but has no effect e execution order ordered unordered This line specifies if batch problems must be processed in order or can be reordered E 1tb_runner parses the line but always tries to solve the problems in the order provided e output required space_separated_list This specifies what output is required from the system Available values are 42 SZS start BatchConfiguration division category LTB SMO execution order ordered output required Assurance output desired Proof Answer limit time problem wc 60 SZS end BatchConfiguration SZS start BatchI
18. and B L chner System Abstract Waldmeister Improvements in Performance and Ease of Use In H Ganzinger editor Proc of the 16th CADE Trento volume 1632 of LNAI pages 232 236 Springer 1999 Krystof Hoder and Andrei Voronkov Sine Qua Non for Large The ory Reasoning In Nikolaj Bjgrner and Sofronie Viorica Stokker mans editors Proc of the 23rd CADE Wroclav volume 6803 of LNAI pages 299 314 Springer 2011 W W McCune Otter 3 0 Reference Manual and Guide Technical Report ANL 94 6 Argonne National Laboratory 1994 M Moser O Ibens R Letz J Steinbach C Goller J Schumann and K Mayr SETHEO and E SETHEO The CADE 13 Systems Journal of Automated Reasoning 18 2 237 246 1997 Special Issue on the CADE 13 ATP System Competition M Moskewicz C Madigan Y Zhao L Zhang and S Malik Chaff Engineering an Efficient SAT Solver In D Blaauw and L Lavagno editors Proc of the 88th Design Automation Conference Las Vegas pages 530 535 2001 W W McCune and L Wos Otter The CADE 13 Competition Incarnations Journal of Automated Reasoning 18 2 211 220 1997 Special Issue on the CADE 13 ATP System Competition P Nivela and R Nieuwenhuis Saturation of First Order Con strained Clauses with the Saturate System In C Kirchner edi tor Proc of the 5th RTA Montreal volume 690 of LNCS pages 436 440 Springer 1993 A Nonnengart and C Weidenbach Computing Small Clause Nor mal Forms In
19. ce TPTP 3 0 0 Parsing in TPTP format version 2 is enabled by the options tptp in tptp2 in tptp format and tptp2 format The last two options also se lect TPTP 2 format for the output of normal clauses during and after saturation Proof output will be in PCL2 format however TPTP syntax version 3 SSCG06 is the currently recommended format It is supported by many provers it is more consistent than the old TPTP language and it adds a number of useful features E supports TPTP 3 syntax with the options tstp in tptp3 in tstp format and tptp3 format The last two options will also enable TPTP 3 format for proof output Note that many of E s support tools still require PCL2 format Various tools for processing TPTP 3 proof format are available via the TPTP web site http www tptp org In either TPTP format clauses and formulas with TPTP type conjecture negated conjecture or question the last two in TPTP 3 only are consid ered goal clauses for the sos uses input types option Version 1 allowed the specification of problems in clause normal form only Version 2 is a conservative extension of version 1 and adds support for full first order formulas 32 Chapter 6 Output or how to interpret what you see E has several different output levels controlled by the option 1 or output level Level 0 prints nearly no output except for the result Level 1 is intended to give humans a somewhat readable impression o
20. checkproof provided with the distribution 6 4 Proofs Objects E 1 8 can internally record all necessary information for proof output It makes use of the DISCOUNT loop property that only processed clauses usually a small subset of all clauses in the search state can ever participate in generating inferences or be used to simplify other clauses For each clause the system stores its origin usually a generating inference and the parents and a history of simplifications inference rule and side premises Only if a processed clause can be backward simplified by a new clause the original is archived and replaced by a simplified copy in the search state which points to the original as its parent When the empty clause has been derived and hence a proof concluded the proof tree is extracted by tracing the dependencies Steps are topologically sorted ensuring that all dependencies of a step are listed before it The lin earised proof can then be printed either in TPTP 3 syntax or in PCL2 syntax The syntax is identical to the detailed proof output described in the previous section and proof objects can typically be processed with the same tools as full inference protocols Proof object generation and output are activated by the option proof object 2PCL2 is a proof output designed as a successor to PCL DS94a DS94b DS96 35 Specification fof greeks axiom philosopher socrates philosopher plato fof scot axiom p
21. chlist To guide the proof search using a heuris tic that prefers clauses on the watchlist or to find purely constructive proofs for clauses on the watchlist If you want to guide the proof search place clauses you believe to be im portant lemmata onto the watchlist Also include the empty clause to make 2Except for SelectOptimalLit where the resulting strategy PSelectOptimalLit will allow paramodulation into positive literals only if no ground literal has been selected 3Clauses are checked against the watchlist after normalization both when they are inserted into U or if they are selected for processing 28 sure that the prover will not terminate prematurely You can then use a clause selection heuristic that will give special consideration to clauses on the watch list This is currently supported via the priority functions PreferWatchlist and DeferWatchlist A clause evaluation function using PreferWatchlist will always select clauses which subsume watchlist clauses first Similarly using DeferWatchlist can be used to put the processing of watchlist clauses off There is a predefined clause selection heuristic UseWatchlist select it with xUseWatchlist that will make sure that watchlist clauses are selected rela tively early It is a strong general purpose heuristic and will maintain com pleteness of the prover This should allow easy access to the watchlist feature even if you don t yet feel comfortable with specifying you
22. e and G Rock SPASS amp FLOTTER Ver sion 0 42 In M A McRobbie and J K Slaney editors Proc of the 18th CADE New Brunswick volume 1104 of LNAI pages 141 145 Springer 1996 52 Index batch processing 41 batch specifications 42 clause evaluation 21 clause splitting 11 clausification 13 common options 39 condensing 11 contextual literal cutting 11 DISCOUNT 11 E theorem prover 9 e_axfilter 44 e_Itb_runner 41 eground 39 eligible for paramodulation see literal eligible eligible for resolution see literal eligi ble eligible literals see literal eligible enormalizer 41 equality resolution 10 equality factoring 9 equality resolution 8 equational definition 14 equations 6 given clause 14 17 GNU General Public License 48 GNU Lesser General Public License 48 GPL 48 interactive queries 44 interreduction 14 LGPL 48 53 literal 6 eligible 7 selection 16 17 27 LOP 29 31 ordering 7 Otter 3 34 PCL 33 35 proof procedure 15 reduction ordering 7 relevancy pruning 12 rewriting 9 selection functions 7 SETHEO 3 31 simplify reflect 10 simultaneous superposition 8 9 SInE 12 46 SP calculus 8 SPASS 3 9 11 subsumption 9 10 subterm 6 superposition inference rule 8 tautology deletion 10 term ordering 14 term ordering 17 23 terms 6 TPTP 12 32 language 5 13 29 32 35 Vampire 3 variables 6 xyzzy
23. e in a number of ways see below The selection algorithm starts with the conjectures all clauses formulas of TPTP type conjecture and marks all symbols in them as active It then proceeds to add all clauses formulas that are in the D relation with an active symbol All other symbols in those new clauses are made active as well and the process repeats until a fix point is reached or one of several other termination conditions is reached The second kind of filter is a simple threshold filter It will pass all clauses and formulas of a specification that are below a certain threshold size and no clauses or formulas that are above this threshold The main purpose of this filter is to allow small specifications to pass through the filter mechanism unchanged This is in particular useful for an ensemble approach where the problem is tackled using a variety of filters Such an approach is implemented by e 1tb_runner 7 5 2 Filter specification The specification of a single filter follows the syntax show in Figure 7 4 For all optional names and values reasonable defaults are provided automatically The parameters have the following type and meaning e The first parameter defines how function and predicate symbols are counted to determine relative rarity For CountFormulas the measure is the num 46 ber of formulas or clauses in which the symbol occurs For CountTerms the total number of occurrences is used with multiple occurrences in a
24. e set of all clauses is split into two sets a set P of processed clauses and a set U of unprocessed clauses Initially all input clauses are in in U and P is empty The algorithm selects a new clause sometimes called the given clause from U simplifies it w r t to P then uses it to back simplify the clauses in P in turn It then performs equality factoring equality resolution and superposition between the selected clause and the set of processed clauses The generated clauses are added to the set of unprocessed clauses The process stops when the empty clause is derived or no further inferences are possible The proof search is controlled by three major parameters The term ordering described in section 4 2 the literal selection function and the order in which the select operation selects the next given clause to process E implements two different classes of term orderings lexicographic term or derings and Knuth Bendix orderings A given ordering is determined by instan tiating one of the classes with a variety of parameters described in section 4 2 14 Input Axioms in U P is empty while U 4 begin c select U U U c Apply RN RP NS PS CLC DR DD DE simplify c P Apply CS ES TD if c is trivial or subsumed by P then Delete ignore c else if c is the empty clause then Success Proof found sto else P T Temporary clause set foreach p P do if p can be simp
25. e special characters for most shells There are a variety of clause evaluation functions predefined in the variable DefaultWeightFunctions which can be found in che_proofcontrol c See also sections 4 4 and 4 5 which cover some of the more complex weight functions of E Heuristics A heuristic defines how many selections are to be made according to one of several clause evaluation functions Syntactically lt heu element gt lt int gt lt eval fun gt lt heuristic gt lt heu element gt lt heu element gt lt ident gt lt heuristic def gt lt ident gt lt heuristic gt lt heuristic gt As above a single identifier is only a valid heuristic if it has been defined in lt heuristic def gt previously A lt heuristic def gt which degenerates to a sim ple heuristic defines a heuristic with name Default which the prover will auto matically choose if no other heuristic is selected with x expert heuristic Example To continue the above example eprover D ex1 Clauseweight ConstPrio 2 1 1 ex2 FIFOWeight PreferGoals H new 3x ex1 1x ex2 x new LUSK3 lop will run the prover on a problem file named LUSK3 lop with a heuristic that chooses 3 out of every 4 clauses according to a simple symbol count ing heuristic and the last clause first among goals and then among other clauses selecting by order of creation in each of these two classes 22 4 2 Term Orderings E cu
26. eferGoals PreferNonGoals PreferUnits PreferNonUnits PreferHorn PreferNonHorn ConstPrio ByLiteralNumber ByDerivationDepth ByDerivationSize ByNegLitDist ByGoalDifficulty SimulateSOS PreferHorn PreferNonHorn PreferUnitAndNonEq DeferNonUnitMaxEq ByCreationDate PreferWatchlist DeferWatchlist The priority functions are interpreted as follows PreferGroundGoals Always prefer ground goals all negative clauses without variables do not differentiate between all other clauses PreferUnitGroundGoals Prefer unit ground goals PreferGround Prefer clauses without variables PreferNonGround Prefer clauses with variables PreferProcessed Prefer clauses that have already been processed once and have been eliminated from the set of processed clauses due to interreduc tion forward contraction PreferNew Prefer new clauses i e clauses that are processed for the first time PreferGoals Prefer goals all negative clauses PreferNonGoals Prefer non goals i e facts with at least one positive literal PreferUnits Prefer unit clauses clauses with one literal PreferNonUnits Prefer non unit clauses 18 PreferHorn Prefer Horn clauses clauses with no more than one positive liter als PreferNonHorn Prefer non Horn clauses ConstPrio Assign the same priority to all clauses ByLiteralNumber Give a priority according to the number of literals i e al ways pre
27. eful if E is used as a normalization tool or as a preprocessor or lemma generator In this case E will print a corresponding message Clause set closed under restricted calculus 1Unless the prover runs out of memory see below the user selects an unfair strategy in which case the prover may never terminate or some strange and unexpected things happen 34 6 2 Observing Saturation If you run E without selecting an output level or by setting it explicitly to 1 E will print each non tautological non subsumed clause it processes as a comment It will also print a hash for each clause it tries to process but can prove to be superfluous This mode gives some indication of progress and as the output is fairly restricted does not slow the prover down too much For any output level greater than 0 E will also print statistical information about the proof search and final clause sets The data should be fairly self explaining 6 3 Inference Protocols At output levels greater that 1 E prints certain inferences in PCL2 format or TPTP 3 output format At level 2 it only prints generating inferences At level 4 it prints all generating and modifying inferences and at level 6 it also prints PCL TPTP 3 steps that don t correspond to inferences but give some insight into the internal operation of the inference engine This protocol is fairly readable and from level 4 on can be used to check the proof with the utility
28. eral Selection Strategies The superposition calculus allows the selection of arbitrary negative literals in a clause and only requires generating inferences to be performed on these literals E supports this feature and implements it via manipulations of the literal ordering Additionally E implements strategies that allow inferences into maximal positive literals and selected negative literals A selection strategy is selected with the option literal selection strategy Currently at least the following strategies are implemented NoSelection Perform ordinary superposition without selection NoGeneration Do not perform any generating inferences This strategy is not complete but applying it to a formula generates a normal form that does not contain any tautologies or redundant clauses SelectNegativeLiterals Select all negative literals For Horn clauses this implements the maximal literal positive unit strategy Der91 previously realized separately in E SelectPureVarNegLiterals Select the first negative literal of the form X xY SelectLargestNegLit Select the largest negative literal by symbol counting function symbols count as 2 variables as 1 SelectSmallestNegLit As above but select the smallest literal 27 SelectDiffNegLit Select the negative literal in which both terms have the largest size difference SelectGroundNegLit Select the first negative ground literal for which the size difference between both ter
29. eration lt arg gt w lt arg gt Select a symbol weight function see below order constant weight lt arg gt c lt arg gt Modify any symbol weight function by assigning a special weight to constant function symbols precedence lt arg gt Describe a partial precedence for the term ordering The ar gument is a comma separated list of precedence chains where a precedence chain is a list of function symbols which all have to appear in the proof problem connected by gt lt or to denote equivalent symbols If this option is used in connection with order precedence generation the par tial ordering will be completed using the selected method otherwise the prover runs with a non ground total ordering The option without the optional argument is equivalent to precedence the empty precedence There is a drawback to using precedence Normally total precedences are rep resented by mapping symbols to a totally ordered set small integers which can be compared using standard machine in structions The used data structure is linear in the number n of function symbols However if precedence is used the prover allocates and completes a n x n lookup table to effi ciently represent an arbitrary partial ordering If n is very big this matrix takes up significant space and takes a long time to compute in the first place This is unlikely to be a problem unless there are at least hundreds of symbols order we
30. etter prints axioms for reflexivity symmetry and transitivity and a set of substitutivity axioms one for each argument position of every function symbol and pred icate symbol As a but print a single substitutivity axiom covering all positions for each symbol The short form S is equivalent to print saturated eigEIG If the op tion print sat info is set then each of the clauses is followed by a comment of the form info id pd pl sc cd nl no nv The following table explains the meaning of these values id pd pl sc cd nl no nv Clause ident probably only useful internally Depth of the derivation graph for this clause Number of nodes in the derivation grap Symbol count function symbols and variables Depth of the deepest term in the clause Number of literals in the clause Number of variable occurences Number of different variables 38 Chapter 7 Additional utilities The E distribution contains a number of programs beyond the main prover The following sections contains a short description of the programs that are reasonably stable All of the utilities support the option help to print a description of the operation and all supported options 7 1 Common options All major programs in the E distribution share some common options Some more options are shared to the degree that they are applicable The most important of these shared options are listed in Table 7 1 7 2 Grounding eground The Ber
31. exception that unary symbols come first Frequency is used as a tie breaker rarer symbols are greater unary_freq Sort symbols by frequency rarer symbols are bigger with the exception that unary symbols come first Yes this should better be named unary_invfreq for consistency but is not arity Sort symbols by arity symbols with higher arity are larger invarity Sort symbols by arity symbols with higher arity are smaller const_max Sort symbols by arity symbols with higher arity are larger but make constants the largest symbols This is allegedly used by SPASS Wei01 in some configurations const_min Sort symbols by arity symbols with higher arity are smaller but make constants the smallest symbols Provided for reasons of symmetry freq Sort symbols by frequency frequently occurring symbols are larger Ar ity is used as a tie breaker invfreq Sort symbols by frequency frequently occurring symbols are smaller In our experience this is one of the best general purpose precedence gen eration schemes invfreqconstmin Same as invfreq but make constants always smaller than everything else inv reghack As invfreqconstmin but unary symbols with maximal frequency become largest 25 Weight Generation Schemes Weight generation schemes are based on syntactic features of the symbol and the input clause set or on the predefined precedence The following options are available for order weight generation
32. f nested occurrences of f this increase can be significant E controls equational definition unfolding with the following options eq unfold limit lt arg gt limits unfolding and removing of equational definitions to those where the expanded definition is at most the given limit bigger in terms of standard term weight than the defined term eq unfold maxclauses lt arg gt inhibits unfolding of equational definitions if the problem has more than the stated limit of clauses no eq unfolding disables equational definition unfolding completely Presaturation Interreduction If the option presat simplify is set E will perform an inital interreduction of the clause set It will exhaustively apply simplifying inferences by running its main proof procedure while disabling generating inferences Some problems can be solved purely by simplification without the need for deducing new clauses via the expensive application of the generating inference rules in particularly paramodulation superposition Moreover exhaustive ap plication of simplifying inferences can reduce redundancy in the specification and allows all input clauses to be evaluated under the same initial conditions On the down side a complete interreduction of the input problem can take significant time especially for large specifications 3 3 Proof Procedure Fig 3 1 shows a slightly simplified pseudocode sketch of the quite straightfor ward proof procedure of E Th
33. f what is going on inside the infer ence engine Levels 3 to 6 output increasingly more information about the inside processes in PCL2 format At level 4 and above a large superset of the proof inferences is printed You can use the epclextract utility in E PROVER to extract a simple proof object In Level 0 and 1 everything E prints is either a clause that is implied by the original axioms or a comment or very often both 6 1 The Bare Essentials In silent mode output level 0 s or silent E will not print any output during saturation It will print a one line comment documenting the state of the proof search after termination The following possibilities exist e The prover found a proof This is denoted by the output string Proof found e The problem does not have a proof i e the specification is satisfiable and E can detect this No proof found Ensuring the completeness of a prover is much harder than ensuring cor rectness Moreover proofs can easily be checked by analyzing the output of the prover while such a check for the absence of proofs is rarely possible 33 I do believe that the current version of E is both correct and complete but my belief in the former is stronger than my belief in the latter e A hard resource limit was hit For memory this can be either due to a per process limit set with limit or the prover option memory limit or due to running out of virtual memory For CPU
34. fer a clause with fewer literals to one with more literals ByDerivationDepth Prefer clauses which have a short derivation depth i e give a priority based on the length of the longest path from the clause to an axiom in the derivation tree Counts generating inferences only ByDerivationSize Prefer clauses which have been derived with a small num ber of generating inferences ByNegLitDist Prefer goals to non goals Among goals prefer goals with fewer literals and goals with ground literals more exactly the priority is in creased by 1 for a ground literal and by 3 for a non ground literal Clauses with lower values are selected before clauses with higher values ByGoalDifficulty Prefer goals to non goals Select goals based on a simple estimate of their difficulty First unit ground goals then unit goals then ground goals then other goals SimulateSOS Use the priority system to simulate Set Of Support This prefers all initial clauses and all Set Of Support clauses Some non SOS clauses will be generated but not selected for processing This is neither well tested nor a particularly good fit with E s calculus but can be used as one among many heuristics If you try a pure SOS strategy you also should set restrict literal comparisons and run the prover without literal selection enabled PreferHorn Prefer Horn clauses note includes units PreferNonHorn Prefer non Horn clauses PreferUnitAndNonEq Prefer all unit c
35. ght term_pen lit_pen posmult fun fweight This evaluation function is similar to FunWeight The first 6 parameter are identical in meaning The extra arguments allow both positive and negative values and are used as once off weight modifiers added to the weight of all clauses that contain the defined symbol Clause Evaluation Functions A clause evaluation function is constructed by instantiating a generic weight function It can either be specified directly or specified and given a name for later reference at once lt eval fun gt lt ident gt lt weight fun gt lt eval fun def gt lt eval fun def gt lt ident gt lt weight fun gt lt eval fun def list gt lt eval fun def gt x Of course a single identifier is only a valid evaluation function if it has been previously defined in a lt eval fun def gt It is possible to define the value of an identifier more than once in which case later definitions take precedence to former ones Clause evaluation functions can be be defined on the command line with the D define weight function option followed by a lt eval fun def list gt 21 Example eprover D ex1 Clauseweight ConstPrio 2 1 1 ex2 FIFOWeight PreferGoals sets up the prover to know about two evaluation function ex1 and ex2 which supposedly will be used later on the command line to define one or more heuristics The double quotes are necessary because the brackets and the commas ar
36. ght variation of Refinedweight In this case 1Note that there now are many additional generic weight functions not yet documented 20 the weight of both terms of an unorientable literal is multiplied by a penalty term_pen Simweight prio equal weight vv_clash vt_clash tt_clash This weight function is intended to return a low weight for literals in which the two terms are very similar It does not currently work very well even for unit clauses RTFS in lt che simweight c gt to find out more FIFOWeight prio This weight function assigns weights that increase in a strictly monotonic manner i e it realizes a first in first out strategy if used all by itself This is the most obviously fair strategy LIFOWeight prio This weight function assigns weights that decrease in a strictly monotonic manner i e it realizes a last in first out strategy if used all by itself which of course would be unfair and result in an extremely incomplete prover FunWeight prio fweight vweight term_pen lit_pen pos_mult fun fweight This evaluation function is a variant of Refinedweight The first 6 parameter are identical in meaning The function takes an arbitrary number of extra parameters of the form fun fweight where fun is any valid function symbol and fweight is a non negative integer The extra weight assignments will overwrite the default weight for the listed function symbol Sym0ffsetWeight prio fweight vwei
37. hilosopher hume fof phils_wise axiom X philosopher X gt wise X fof is_there_wisdom question X wise X Answers eprover tptp3 format s answers SZS status Theorem SZS answers Tuple hume _ SZS answers Tuple socrates plato _ Proof found Figure 6 1 Answer generation 6 5 Answers E supports the proposed TPTP standard for answers An answer is an in stantiation for an existential conjecture or query that makes the conjecture true In practice E will supply bindings for the outermost existentially quanti fied variables in a TPTP formula with type question The implementation is straightforward The query is extended by adding the atomic formula answer new_fun lt varlist gt where lt varlist gt is the list of outermost existentially quantified variables This atom is carried through clausification and ends up as a positive literal in the CNF The literal ordering is automatically chosen so that the answer literal never participates in infer ences Semantically the answer predicate always evaluates to false It is only evaluated in clauses where all literals are answer literals Answers are extracted and printed in tuple form at the time of the evaluation Figure 6 1 shows an example The system correctly handles disjunctive answers at least one of socrates or plato is a philosopher and hence wise but the theory does not allow us to decide who is Wh
38. ich can be gained from e g CL73 For a short description of E including performance data see Sch04 A more detailed description has been published as Sch02b Most papers on E and much more information is available at or a few hops away from the E home page http www eprover org Some other provers have influenced the design of E and may be refer enced in the course of this manual These include SETHEO MIL 97 Ot ter McC94 MW97 SPASS WGR96 WAB 99 DISCOUNT DKS97 Wald meister HBF96 HJL99 and Vampire RV02 RVO01 Chapter 2 Getting Started Installation of E should be straightforward The file README in the main direc tory of the distribution contains the necessary information After building you will find the stand alone executable E PROVER eprover E is controlled by a very wide range of parameters However if you do not want to bother with the details you can leave configuration for a problem to the prover To use this feature use the following command line options autosat Choose a literal selection strategy a clause eval uation heuristic and a term ordering automagi cally based on problem features auto As autosat but add heuristic specification pruning using one of several instantiation of the SInE algorithm HV11 for large specifications auto schedule As auto but try not one but up to 5 different strategies memory limit xx Tell the prover how much memory measured in MB to u
39. ied order Subterms are normalized in strict leftmost innermost manner In particular all subterms are normalized before a superterm is rewritten Supported formats are LOP TPTP 2 and TPTP 3 A typical command line for starting enormalizer is enormalizer tptp3 in lt rulefile gt t lt termfile gt 7 4 Multiple queries e 1tb_runner E is designed to handle individual proof problems one at a time The prover has mechanism to handle even large specifications However in cases where multi ple queries or conjectures are posed against a large background theory even the parsing of the background theory may take up significant time E 1tb_runner has been developed to efficiently handle this situation It can read the back ground theory once and then run E with additional axioms and different con jectures against this background theory without re parsing of the full theory The program was originally designed for running sets of queries against large theories in batch mode but now also supports interactive queries However e 1tb_runner is in a more prototypical state than most of the E distribution In particular any syntax error in the input will cause the whole program to terminate By default e_1tb_runner will process a batch specification file see 7 4 2 which contains a specification of the background theory some options and optionally a number of individual job requests If used with the option interactive it will enter
40. ights lt arg gt Give explicit weights to function symbols The argument syn tax is a comma separated list of items of the form f w where f is a symbol from the specification and w is a non negative integer Note that at best very simple checks are performed so you can specify weights that do not obey the KBO weight constraints Behaviour in this case is undefined If all your weights are positive this is unlikely to happen Since KBO needs a total weight function E always uses a weight generation scheme in addition to the user defined op tions You may want to use wconstant for predictable behaviour 24 lpo recursion limit lt arg gt Limits the recursion depth of LPO comparison This is useful in rare cases where very large term comparisons can lead to stack overflow issues It does not change completeness but may lead to unnecessary inferences in rare cases Note By default recursion depth is limited to 1000 To get effectively unlimited recursion depth use this option with an outrageously large argument Don t forget to increase process stack size with limit ulimit from your favourite shell Precedence Generation Schemes Precedence generation schemes are based on syntactic features of the sym bol and the input clause set like symbol arity or number of occurrences in the formula At least the following options are supported as argument to order precedence generation unary_first Sort symbols by arity with the
41. ile the example has been kept intentionally simple the system also supports complex terms and variables as parts of answers in that case representing the set of all instances The answers lt x gt option controls the number of answers generated By default the prover terminates after the first successful proof and thus only provides one answer Using the option without an argument will make the prover search for LONG_MAX answers i e a practically unlimited number Using a positive integer argument limits the number of answers to the limit given The option conjectures are questions will make the prover treat any formula of type conjecture as a question not just formulas with explicit type question 36 6 6 Requesting Specific Output There are two additional kinds of information E can provide beyond the normal output during proof search Statistical information and final clause sets with additional information First E can give you some technical information about the conditions it runs under The option print pid will make E print its process id as a comment in the format Pid XXX where XXX is an integer number This is useful if you want to send signals to the prover in particular if you want to terminate the prover to control it from the outside The option R resources info will make E print a summary of used system resources after graceful termination User time 0 010 s System time 0 020 s Total t
42. ime 0 030 s Maximum resident set size 0 pages Most operating systems do not provide a valid value for the resident set size and other memory related resources so you should probably not depend on the last value to carry any meaningful information The time information is required by most standards and should be useful for all tested operating systems E can be used not only as a prover but as a normalizer for formulae or as a lemma generator In these cases you will not only want to know if E found a proof but also need some or all of the derived clauses possibly with statistical information for filtering This is supported with the print saturated and print sat info options for E The option print saturated takes as its argument a string of letters each of which represents a part of the total set of clauses E knows about The following table contains the meaning of the individual letters 37 H H A Processed positive unit clauses Equations Processed negative unit clauses Inequations Processed non unit clauses except for the empty clause which if present is printed separately The above three sets are interreduced and all selected inferences between them have been computed Unprocessed positive unit clauses Unprocessed negative unit clauses Unprocessed non unit clause this set may contain the empty clause in very rare cases Print equality axioms if equality is present in the prob lem This l
43. interactive mode 7 4 3 after all batch jobs have been processed For every job the program will use several different goal directed pruning strategies to extract likely useful axioms from the background theory For each of the pruned axiomatizations e_ltb_runner will run E in automatic mode If one of the strategies succeeds all running strategies will be terminated and the result returned 41 The program will run up to 8 strategies in parallel Thus it is best used on a multi core machine with sufficient amounts of memory 7 4 1 Usage E_1tb_runner relies on TPTP 3 include file syntax and semantics and hence will only and implicitly work with the TPTP 3 syntax The main program runs several instances of eprover as sub processes Unless the executable is in the search path the full path should be given as as the optional second argument to the program A typical command line for starting e_1tb_runner is e_1tb_runner lt batchspec gt path_to_eprover path_to_epclextract For interactive use add the option interactive 7 4 2 Batch specification file The batch specification file format is defined for the CADE ATP System Com petition LTB division and is typically updated every year E tracks this devel opment The E 1 8 distribution implements support for the LTB format used in CASC 24 and documented at http www cs miami edu tptp CASC 24 Design htmlitProblems subsection Batch Specification Files It tries to main t
44. itors Proc of the 2nd IJCAR Cork Ireland volume 3097 of LNAT pages 223 228 Springer 2004 S Schulz The E Web Site http www eprover org 2004 2012 S Schulz and G Sutcliffe System Description GrAnDe 1 0 In A Voronkov editor Proc of the 18th CADE Copenhagen volume 2392 of LNAI pages 280 284 Springer 2002 Geoff Sutcliffe Stephan Schulz Koen Claessen and Allen Van Gelder Using the TPTP Language for Writing Derivations and Finite Interpretations In Ulrich Fuhrbach and Natarajan Shankar editors Proc of the 3rd IJCAR Seattle volume 4130 of LNAI pages 67 81 4130 2006 Springer G Sutcliffe The TPTP Web Site http www tptp org 2004 2009 acccessed 2009 09 28 T Tammet Gandalf Journal of Automated Reasoning 18 2 199 204 1997 Special Issue on the CADE 13 ATP System Competition C Weidenbach B Afshordel U Brahm C Cohrs T Engel G Jung E Keen C Theobalt and D Topic System Abstract SPASS Version 1 0 0 In H Ganzinger editor Proc of the 16th CADE Trento volume 1632 of LNAI pages 378 382 Springer 1999 51 Wei99 Wei01 WGRO96 C Weidenbach Personal communication at CADE 16 Trento Un published 1999 C Weidenbach SPASS Combining Superposition Sorts and Split ting In A Robinson and A Voronkov editors Handbook of Auto mated Reasoning volume II chapter 27 pages 1965 2013 Elsevier Science and MIT Press 2001 C Weidenbach B Gaed
45. lauses and all clauses without equational literal This was an attempt to model some restricted calculi used e g in Gandalf Tam97 but did not quite work out DeferNonUnitMaxEq Prefer everything except for non unit clauses with a max imal equational literal Don t paramodulate if it is to expensive See above same result ByCreationDate Return the creation date of the clause as priority This im poses a FIFO equivalence class on clauses Clauses generated from the same given clause are grouped together and can be ordered with any evaluation function among each other 19 PreferWatchlist Prefer clauses on the watchlist see 4 4 DeferWatchlist Defer clauses on the watchlist see above Please note that careless use of certain priority functions can make the prover incomplete for the general case Generic Weight Functions Generic weight functions are templates for functions taking a clause and return ing a weight i e an estimate of the usefulness for it where a lower weight means that the corresponding clause should be processed before a clause with a higher weight A generic weight function is combined with a priority function and instantiated with a set of parameters to yield a clause evaluation function You can specify an instantiated generic weight function as described in this rule lt weight fun gt Clauseweight lt prio fun gt lt int gt lt int gt lt loat gt Refined
46. lection of the given clause for any iteration of the main loop and the optional selection of inference literals In addition to these major choice points there are a large number of additional selections of lesser but not insigificant importance 4 1 Search Control Heuristics Search control heuristics define the order in which the prover considers newly generated clauses A heuristic is defined by a set of clause evaluation functions and a selection scheme which defines how many clauses are selected according to each evaluation function A clause evaluation function consists of a priority function and an instance of a generic weight function Priority functions Priority functions define a partition on the set of clauses A single clause evalua tion consists of a priority which is the first selection criteria and an evaluation Priorities are usually not suitable to encode heuristical control knowledge but rather are used to express certain elements of a search strategy or to restrict the effect of heuristic evaluation functions to certain classes of clauses It is quite trivial to add a new priority function to E so at any time there probably exist a few not yet documented here Syntactically a large subset of currently available priority functions is de scribed by the following rule lt prio fun gt PreferGroundGoals 17 PreferUnitGroundGoals PreferGround PreferNonGround PreferProcessed PreferNew Pr
47. lified with c P P p U UN dld is direct descendant of p T TU p done PU c T U e resolvents c ER T U e factors c EF T U paramodulants c P SN SP foreach p T do end fi end Failure Apply efficiently implemented subset of RN RP NS PS CLC DR DD DE p cheap_simplify p P Apply TD or efficient approximation of it if p is trivial Delete ignore p else U U U cheap simplify p P fi Initial U is satisfiable P describes model Figure 3 1 Main proof procedure of E 15 Literal selection currently is done according to one of more than 50 prede fined functions Section 4 3 describes this feature Clause selection is determined by a heuristic evaluation function which con ceptually sets up a set of priority queues and a weighted round robin scheme that determines from which queue the next clause is to be picked The order within each queue is determined by a priority function which partitions the set of unprocessed clauses into one or more subsets and a heuristic evaluation function which assigns a numerical rating to each clause Section 4 1 describes the user interface to this mechanism 16 Chapter 4 Controlling the Proof Search This section describes some of the different options available to control the search of the main proof procedure The three most important choice points in the proof search are the choice of term ordering the se
48. m CNF begins various transformations can be applied to the input problem In particular E processes not only clausal problems but can read full first order format including a rich set of formula roles logical operators and quantifiers This format is reduced to clause normal form in a way that the CNF is unsatisfiable if and only if the original problem is provable if an explicit conjecture is given or itself unsatisfiable 3 1 Calculus Term F V denotes the set of first order terms over a finite set of function symbols F with associated arities and an enumerable set of variables V We write t to denote the subterm of t at a position p and write tlp t to denote t with t replaced by t An equation s t is an implicitly symmetrical pair of terms A positive literal is an equation s t a negative literal is a negated equation s t We write s t to denote an arbitrary literal Literals can be represented as multi sets of multi sets of terms with s t represented 1Non equational literals are encoded as equations or disequations P t1 tn amp T In this case we treat predicate symbols as special function symbols that can only occur at the top most positions and demand that atoms terms formed with a top predicate symbol cannot be unified with a first order variable from V i e we treat normal terms and predicate terms as two disjoint sorts We sometimes write the literal P t1 tn T as P t1 tn and Plt1 t
49. ms is maximal SelectOptimalLit If there is a ground negative literal select as in the case of SelectGroundNegLit otherwise as in SelectDiffNegLit Each of the strategies that do actually select negative literals has a corre sponding counterpart starting with P that additionally allows paramodulation into maximal positive literals Example Some problems become a lot simpler with the correct strategy Try e g eprover literal selection strategy NoSelection GRP001 1 rm_eq_rstfp lop eprover literal selection strategy SelectLargestNegLit GRP001 1 rm_eq_rstfp lop You will find the file GRP001 1 rm_eq_rstfp lop in the E PROVER direc tory As we aim at replacing the vast number of individual literal selection func tions with a more abstract mechanism we refrain from describing all of the cur rently implemented functions in detail If you need information about the set of implemented functions run eprover W none The individual functions are implemented and somewhat described in E HEURISTICS che_litselection h 4 4 The Watchlist Feature Since public release 0 81 E supports a watchlist A watchlist is a user defined set of clauses Whenever the prover encounters a clause that subsumes one or more clauses from the watchlist those clauses are removed from it The saturation process terminates if the watchlist is empty or of course if a saturated state or the empty clause have been reached There are two uses for a wat
50. n 2 T as P t1 tn for simplicity as s t and s 2 t represented as s t A ground reduction ordering gt is a Noetherian partial ordering that is stable w r t the term structure and substitutions and total on ground terms gt can be extended to an ordering gt on literals by comparing the multi set representation of literals with gt gt gt the multi set multi set extension of gt Clauses are multi sets of literals They are usually represented as disjunc tions of literals s t1 V soXte VSnXtn We write Clauses F P V to denote the set of all clauses with function symbols F predicate symbols P and vari ables V If C is a clause we denote the multi set of positive literals in C by C and the multi set of negative literals in C by C7 We extend gt to clauses by defining gt c gt gt 1 i e we compare clauses as multi sets of literals We write s t t to denote the term s in which every occurance of the subterm t has been replaced by t We extend this notion to literals and clauses i e Cit t is the clause C in which all occurrences of t have been replaced by t The introduction of an extended notion of literal selection has improved the performance of E significantly The necessary concepts are explained in the following Definition 3 1 1 Selection functions sel Clauses F P V Clauses F P V is a selection function if it has the following properties for all clauses C e sel C
51. nays Sch nfinkel class is a decidable fragment of first order logic Prob lems from this class can be clausified into clause normal form without non constant function symbols This clausal class is effectively propositional EPR since the Herbrand universe is finite The program eground takes a problem from the Bernays Schonfinkel class or an EPR clause normal form problem and tries to convert it into an equisatisfiable propositional problem It does so by clausification and instantiation of the the clausal problem The result ing propositional problem can than be handed to a propositional reasoner e g Chaff MMZ 01 or MiniSAT ES04 One pre packaged system build on this principles is GrAnDe SS02 Eground uses a number of techniques to reduce the number of instances generated The technical background is described in Sch02a The program can generate output in LOP TPTP 2 and TPTP 3 format but also directly in the DIMACS format used by many propositional reasoners A typical command line for starting eground is eground tptp3 in dimacs split tries 1 39 h help Print the help page for the program This usually includes documen tation for all options supported by the program V version Print the version number of the program If you encounter bugs please check if updating to the latest version solves your problem Also always include the output of this with all bug reports v verbose level Make the
52. ncludes include Axioms CSRO03 2 ax include Axioms CSRO03 5 ax SZS end BatchIncludes SZS start BatchProblems Users schulz EPROVER TPTP_5 Users schulz EPROVER TPTP_5 Users schulz EPROVER TPTP_5 Users schulz EPROVER TPTP_5 Users schulz EPROVER TPTP_5 Users schulz EPROVER TPTP_5 SZS end BatchProblems FLAT CSRO83 3 p Users schulz tmp CSR083 3 FLAT CSRO75 3 p Users schulz tmp CSRO75 3 FLAT CSRO82 3 p Users schulz tmp CSR082 3 FLAT CSRO86 3 p Users schulz tmp CSR086 3 FLAT CSRO91 3 p Users schulz tmp CSR091 3 4 0_ 4 0_ 4 0_ 4 0_ 4 0_ 4 0_FLAT CSRO92 3 p Users schulz tmp CSR092 3 Figure 7 2 Example LT B batch specification file Assurance A plain statement about existence of proof or counter model is sufficient Proof An explicit proof will be provided ListOfFOF An implicitly small subset of axioms sufficient for a proof should be provided E_1tb_runner fulfills this by giving a full proof as for the previous option Model If the problem is disproved e 1tb_runner will provide a sat urated clause set as evidence Answer If conjectures contain existentially quantified variables a suitable instantiation will be given e output desired space_separated_list This specifies what output is required from the system Available values are as for the previous option E 1tb_runner treats this exactly as the required output e limit time problem wc limit_in_seconds The
53. o the effect is minor in either case AT Appendix A License The standard distribution of E is free software You can use modify and copy it under the terms of the GNU General Public License version 2 0 or later or the GNU Lesser General Public License version 2 1 or later You may also have bought a commercial version of E from Safelogic A B in Gothenburg Sweden In this case you are bound by whatever license you agreed to If you are in doubt about which version of E you have run eprover V or eprover h See the file COPYING in the main directory for the full text of the licenses 48 Bibliography Bac98 BDP89 BG94 CL73 Der91 DKS97 DS94a DS94b DS96 L Bachmair Personal communication at CADE 15 Lindau Un published 1998 L Bachmair N Dershowitz and D A Plaisted Completion With out Failure In H Ait Kaci and M Nivat editors Resolution of Equations in Algebraic Structures volume 2 pages 1 30 Academic Press 1989 L Bachmair and H Ganzinger Rewrite Based Equational Theorem Proving with Selection and Simplification Journal of Logic and Computation 3 4 217 247 1994 C Chang and R C Lee Symbolic Logic and Mechanical Theorem Proving Computer Science and Applied Mathematics Academic Press 1973 N Dershowitz Ordering Based Strategies for Horn Clauses In J Mylopoulos editor Proc of the 12th IJCAI Sydney volume 1 pages 118 124 Morgan Kaufmann
54. p o t VR set R PS Negative simplify reflect sit o s o t VR set R NS Tautology deletion L TD if C is a tautology Deletion of duplicate literals stVs tVR sxtV R DD Deletion of resolved literals s gsVR DR E Destructive equality resolution kzy VR DE if x y V o mgulx y a R 3In practice this rule is only applied if o s and o t are gt incomparable in all other cases this rule is subsumed by RN and the deletion of resolved literals DR 4This rule can only be implemented approximately as the problem of recognizing tautolo gies is only semi decidable in equational logic Current versions of E try to detect tautologies by checking if the ground completed negative literals imply at least one of the positive literals as suggested in NN93 10 o CV RV s amp t CV st where s amp t is the negation of o C V R CV s amp t set and is a substitution e Contextual literal cutting CLC This rule is also known as subsumption resolution or clausal simplification e Condensing hVibVR if o l1 0 l2 and o l V R CON o l V R subsumes h V la V R Introduce definition if R and S do not share any RVS variables d D has not been ID used in a previous definition dVR dvS and R does not contain any symbol from D Apply definition if is a variable renaming R ao dVR RVS and S do not share any vari
55. parsed Using Learned Knowledge The knowledge in a knowledge base can be utilized by the two clause evalu ation functions TSMWeight and TSMRWeight Both compute a modifica tion weight based on the learned knowledge and apply it to a conventional symbol counting base weight similar to Clauseweight for TSMWeight and Refinedweight for TSMWeight An example command line is eprover x 1 TSMWeight ConstPrio 1 1 2 flat E_KNOWLEDGE 100000 1 0 1 0 Flat IndexIdentity 100000 20 20 2 1 0 2 There are also two fully predefined learning clause selection heuristics Se lect them with xUseTSM1 for some influence of the learned knowledge or xUseTSM2 for a lot of influence of the learned knowledge 4 6 Other Options 4The name is an historical accident and has no significance anymore 30 Chapter 5 Input Language 5 1 LOP E natively uses E LOP a dialect of the LOP language designed for SETHEO At the moment your best bet is to retrieve the LOP description from the E web site Sch12 and or check out the examples available from it LOP is very close to Prolog and E can usually read many fully declarative Prolog files if they do not use arithmetic or rely on predefined symbols Plain SETHEO files usually also work very well There are a couple of minor differences however equal is an interpreted symbol for E It normally does not carry any meaning for SETHEO unless equality axioms are added SE
56. program more verbose Verbose output is written to stterr not the standard output and will cover technical aspects Most programs support verbosity levels 0 the default 1 and 2 with v selecting level 1 s silent Reduce output of the tool to a minimal o lt outfile gt output file lt outfile gt By default most of the programs in the E distribution provide output to stdout i e usually to the controlling terminal This option allows the user to specify an output file tptp2 in tptp2 out tptp2 format tptp3 in tptp3 out tptp3 format Select TPTP formats for input and or output If you do not start with an existing corpus the recommended format is TPTP 3 syntax Figure 7 1 Common program options 40 constraints lt infile gt o lt outfile gt 7 3 Rewriting enormalizer The program enormalizer uses E s shared terms cached rewriting and index ing to implement an efficient normalizer It reads a set of rewrite rules and computes the normal forms of a set of terms clauses and formulas with respect to that set of rewrite rules The rule set can be specified as a set of positive unit clauses and or formulas that clausify into unit clauses Literals are taken as rewrite rules with the orientation they are specified in the input In particular no term ordering is applies and neither termination nor confluence are ensured or verified The rewrite rules are applied exhaustively but in an unspecif
57. r own heuristics To generate constructive proofs of clauses just place them on the watch list and select output level 4 or greater see section 6 3 Steps affecting the watch list will be marked in the PCL2 output file If you use the eproof script for proof output or run epclextract on your own subproofs for watchlist steps will be automatically extracted Note that this forward reasoning is not complete i e the prover may never generate a given watchlist clause even if it would be trivial to prove it via refutation Options controlling the use of the watch list watchlist lt arg gt Select a file containing the watch list clauses Syntax should be the same syntax as your proof problem E LOP TPTP 1 2 or TPTP 3 TSTP Just write down a list of clauses and or for mulas no watchlist simplification By default watch list clauses are sim plified with respect to the current set P Use this option to disable the fea ture 4 5 Learning Clause Evaluation Functions E can use a knowledge base generated by analyzing many successful proof at tempts to guide its search i e it can learn what kinds of clauses are likely to be useful for a proof and which ones are likely superfluous The details of the learn ing mechanism can be found in Sch00 Sch01 Essentially an inference protocol is analyzed useful and useless clauses are identified and generalized into clause patterns and the resulting information is stored in a knowledge ba
58. rrently supports two families of orderings The Knuth Bendix Ordering KBO which is used by default and the Lexicographical Path Ordering LPO The KBO is weight based and uses a precedence on function symbols to break ties Consequently to specify a concrete KBO we need a weight function that assigns a weight to all function symbols and a precedence on those symbols The LPO is based on a lexicographic comparison of symbols and subterms and is fully specified by giving just a precedence Currently it is possible to explicitly specify an arbitrary including incom plete or empty precedence or to use one of several precedence generating schemes Similarly there is a number of predefined weight functions and the ability to assign arbitrary weights to function and predicate symbols The simplest way to get a reasonable term ordering is to specify automatic ordering selection using the tAuto option Options controlling the choice of term ordering 23 term ordering lt arg gt t lt arg gt Select a term ordering class or automatic selection Sup ported arguments are at least LPO LPO4 for a much faster new implementation of LPO KBO and Auto If Auto is selected all aspects of the term ordering are fixed and additional op tions about the ordering will be or at least should be silently ignored order precedence generation lt arg gt G lt arg gt Select a precedence generation scheme see below order weight gen
59. se Later new clauses that match a pattern are evaluated accordingly Creating Knowledge Bases An E knowledge base is a directory containing a number of files storing both the knowledge and configuration information Knowledge bases are generated 29 with the tool ekb_create If no argument is given ekb_create will create a knowledge base called E KNOWLEDGE in the current directory You can run ekb_create h for more information about the configuration However the defaults are usually quite sufficient Populating Knowledge Bases The knowledge base contains information gained from clausal PCL2 protocols of E In a first step information from the protocol is abstracted into a more compact form A number of clauses is selected as training examples and anno tations about their role are computed The result is a list of annotated clauses and a list of the axioms initial clauses of the problem This step can be performed using the program direct_examples In a second step the collected information is integrated into the knowledge base For this purpose the program ekb_insert can be used However it is probably more convenient to use the single program ekb_ginsert which directly extracts all pertinent information from a PCL2 protocol and inserts it into a designated knowledge base The program ekb_delete will delete an example from a knowledge base This process is not particularly efficient as the whole knowledge base is first
60. se at most In automatic mode E will op timize its behaviour for this amount 32 MB will work 128 MB is reasonable 1024 MB is what I use More is better but if you go over your phys ical memory you will probably experience very heavy swapping Example If you happen to have a workstation with 64 MB RAM the following command is reasonable eprover auto memory limit 48 PUZ031 1 rm_eq_rstfp lop 1Emphasis added for E 0 7 and up which globally cache rewrite steps 2Yes this is outdated If it still applies to you get a new computer It will still work ok though If you use problems in the current version of the TPTP language you should also add the option tptp3 format or only tptp3 in if you like the tradi tional output better This documentation will probably lag behind the development of the latest version of the prover for quite some time To find out more about the options available type eprover help or consult the source code included with the distribution Chapter 3 Calculus and Proof Procedure E is a purely equational theorem prover based on ordered paramodulation and rewriting As such it implements an instance of the superposition calculus described in BG94 We have extended the calculus with some stronger con traction rules and a more general approach to literal selection The core proof procedure is a variant of the given clause algorithm However before proof search in clause normal for
61. time this case is triggered if the per process CPU time limit is reached and signalled to the prover via a SIGXCPU signal This limit can be set with limit or more reliable with the option cpu limit The output string is one of the following two depending on the exact reason for termination Failure Resource limit exceeded memory Failure Resource limit exceeded time e A user defined limit was reached during saturation and the saturation pro cess was stopped gracefully Limits include number of processed clauses number of total clauses and CPU time as set with soft cpu limit The output string is Failure User resource limit exceeded and the user is expected to know which limit he selected e By default E is complete i e it will only terminate if either the empty clause is found or all clauses have been processed in which case the pro cessed clause set is satisfiable However if the option delete bad limit is given or if automatic mode in connection with a memory limit is used E will periodically delete clauses it deems unlikely to be processed to avoid running out of memory In this case completeness cannot be ensured any more This effect manifests itself extremely rarely If it does E will print the following string Failure Out of unprocessed clauses This is roughly equivalent to Otter s SOS empty message e Finally it is possible to chose restricted calculi when starting E This is us
62. to not share any common variables Definition 3 1 3 The inference system SP Let gt be a total simplification ordering extended to orderings gt and gt c on literals and clauses let sel be a selection function and let D be a set of fresh propositional constants The inference system SP consists of the following inference rules e Equality Resolution ER ugvV R if o mgu u v and o u a R v is eligible for resolution e Superposition into negative literals if o mgu ul s o s he a t o u o v o s t SN AA AS is eligible for paramodula o ulp t v V SV R tion o u 2 v is eligible for resolution and ul V e Superposition into positive literals ifo mgu ulp s a s aaa ca kons a a t o u olv o s t SP is eligible for paramodula o ulp amp t v V SV R tion o u v is eligible for resolution and ul V e Simultaneous superposition into negative literals ifo mgu ulp s a s af o t o u ov ei SSN e E is eligible for paramodula a S V u vV R ulp t tion o u v is eligible for resolution and ul V This inference rule is an alternative to SN that performs better in prac tice e Simultaneous superposition into positive literals if o mgu ulp s a s PEE a t olu o v a s t SSP is eligible for paramodula a S V u v V R ulp t tion o u v is eligible for resolution and ul V
63. tput start CNFRefutation 0 SZS output end CNFRefutation Proof reconstruction done HE HOH HHH HA Processing finished for test_job Enter job help or quit followed by go on a line of its own Figure 7 3 Example of an interactivee_1tb_runner session slightly shortened 45 lt axfilterdef gt lt name gt lt sine filter gt lt threshold filter gt lt sine filter gt GSinE CountTerms CountFormulas hypos nohypos lt benvolvence gt lt generosity gt 37 lt rec depth gt a lt set size gt ma lt set fraction gt addnosymblignorenosymb lt threshold filter gt Theshold lt threshold gt Figure 7 4 Specification filter specification syntax 7 5 1 Filter algorithms E currently implements two types of filters The major filter type is a con figurable variant of Krystoff Hoder s SINE algorithm HV11 for pruning large specification The basic idea of this filter is to rate function and predicate sym bols by their rarity the less often a symbol occurs in the specification the more important any given formula or clause that handles the symbol is for the defini tion of that symbol The algorithm starts by computing the D relation between clauses formulas and symbols A clause formula is in the D relation with the rarest symbols that occur in it The exact details of rarest are configurabl
64. und theory and passed to the proving engine Figure 7 3 shows an slightly shortened example of an interactive session with e_ltb_runner 7 5 Specification pruning e_axfilter One of the problems of automated deduction is the handling of large specifi cations that contain a lot of axioms that are not relevant for the conjectures at hand The irrelevant facts contribute to the size and growths of the search space and hence make proof search much more difficult E provides a mechanism to apply pruning filters to specifications The aim of these filters is to select subsets of the clauses and formulas in the problem set that are likely sufficient for proving a conjecture but which are much smaller than the full axiomatization This functionality is also available as the stand alone tool e_axfilter This tool accepts a specification and a list of named filters and generates one output file for each filter containing the parts of the specification that result from applying the corresponding filter to the original specification A typical command line for running e_axfilter is e_axfilter tptp3 format filter lt filterfile gt lt infile gt The output files are named by taking the input file without the suffix appending the filter name and the suffix p If no filter definition is given the program uses the built in default which consists of a set of reasonably orthogonal filters 44 gt e_1tb_runner etc LTBSampleInputI
65. weight lt prio fun gt lt int gt lt int gt lt float gt lt float gt lt float gt Orientweight lt prio fun gt lt int gt lt int gt lt float gt lt float gt lt float gt Simweight lt prio fun gt lt float gt lt float gt lt float gt lt float gt FIFOWeight lt prio fun gt LIFOWeight lt prio fun gt FunWeight lt prio fun gt lt int gt lt int gt lt float gt lt float gt lt float gt lt fun gt lt posint gt I SymOffsetWeight lt prio fun gt lt int gt lt int gt lt float gt lt float gt lt float gt lt fun gt lt int gt Clauseweight prio fweight vweight pos_mult This is the basic sym bol counting heuristic Variables are counted with weight vweight function symbols with weight fweight The weight of positive literals is multiplied by pos_mult before being added into the final weight Refinedweight prio fweight vweight term_pen lit_pen pos_mult This weight function is very similar to the first one It differs only in that it takes the effect of the term ordering into account In particular the weight of a term that is maximal in its literal is multiplied by term_pen and the weight of maximal literals is multiplied by 1it_pen Orientweight prio fweight vweight term_pen lit_pen pos_mult This weight function is a sli
66. ymbols pass the filter This is a rare occurence so the effect is minor in either case Clausification E converts problems in full FOF into clause normal form using a slightly simpli fied version of the algorithm described by Nonnengart and Weidenbach NW0 1 E s algorithm has the following modifications e E supports the full set of first order connectives defined in the TPTP 3 language e E is more eager about introducing definitions to keep the CNF from exponential explosion E will introduce a definition for a sub formula if it can determine that it will be duplicated more than a given num ber of times in the naive output The limit can be set with the option definitional cnf E will reuse definitions generated for one input for mula for syntactically identical formulae in other formulas with the same specification e E supports mini scoping but not the more advanced forms of Skolemiza tion It is possible to use E as a clausifier only When given the cnf option E will just perform clausification and print the resulting clause set 13 Equational Definition unfolding Equational definitions are unit clauses of the form f X1 Xn t where f does not occur in t and all variables in t are also in f In this case we can completely replace all occurrences of f by the properly instantiated t This reduces the size of the search space but can increase the size of the input specification In particular in the case o
Download Pdf Manuals
Related Search
Related Contents
Mode d`emploi - FuturesAlerte Moen KINGSLEY T3112 User's Manual Samsung SGH-M300 User Manual 310910b GMAX II 3900, 5900, 5900HD, 7900 Repair Asrock X99 WS-E motherboard User Manual Inventory Sentinel™ Enteral Feeding Pump Machine à laver Mode d`emploi ROBO-8717VG2A User`s Manual Copyright © All rights reserved.