Download OTTER 3.0 Reference Manual and Guide
Transcript
$ATOMIC(x) -> conjunctive_normal_form(x)=x. member(gcd(4,x),y) -> Equal(f(x,y), g(y)). $GT($NEXT_CL_NUM,1000) -> e(x,x) = junk. 17.5 Special Unary Function Demodulation A feature, activated by the special_unary command, allows Otter to avoid one of the problems caused by the lack of associative-commutative matching during demodulation. The feature is useful when an associative-commutative function and an inverse are present, as in rings. Without this feature, the following lex command and demodulators lex([0,a,b,c,d,e,g(_),f(_,_)]). list(demodulators). f(x,y) = f(y,x). f(x,f(y,z)) = f(y,f(x,z)). f(x,g(x)) = 0. f(x,f(g(x),y)) = f(0,y). f(0,x) = x. end_of_list. will cause the expression f(f(f(g(b),a),c),f(b,g(c))) to be sorted into f(a,f(b,f(c,f(g(b),g(c))))). One would like b and g(b) to be next to each other so that they could be canceled by one of the inverse demodulators. The special-unary feature accomplishes just that. The command special_unary([g(x)]) causes g to be ignored during term comparisons, and the expression would be demodulated to a. The special_unary command has no effect if the flag lrpo is set. This is an experimental feature. Its behavior has not been well analyzed. 17.6 Ancestor Subsumption Otter does not necessarily prefer short or simple proofs—it simply reports the proofs that it finds. An option ancestor_subsume extends the concept of subsumption to include the derivation history, so that if two clause occurrences are logically 50