TSTP Solution File: NUM839+2 by Twee---2.4.2
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Twee---2.4.2
% Problem : NUM839+2 : TPTP v8.1.2. Released v4.1.0.
% Transfm : none
% Format : tptp:raw
% Command : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% Computer : n004.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8042.1875MB
% OS : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Thu Aug 31 11:58:33 EDT 2023
% Result : Theorem 16.77s 2.58s
% Output : Proof 17.38s
% Verified :
% SZS Type : -
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12 % Problem : NUM839+2 : TPTP v8.1.2. Released v4.1.0.
% 0.00/0.13 % Command : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.13/0.34 % Computer : n004.cluster.edu
% 0.13/0.34 % Model : x86_64 x86_64
% 0.13/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34 % Memory : 8042.1875MB
% 0.13/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34 % CPULimit : 300
% 0.13/0.34 % WCLimit : 300
% 0.13/0.34 % DateTime : Fri Aug 25 15:34:23 EDT 2023
% 0.13/0.34 % CPUTime :
% 16.77/2.58 Command-line arguments: --no-flatten-goal
% 16.77/2.58
% 16.77/2.58 % SZS status Theorem
% 16.77/2.58
% 16.77/2.58 % SZS output start Proof
% 16.77/2.58 Take the following subset of the input axioms:
% 17.38/2.58 fof('ass(cond(189, 0), 0)', axiom, ![Vd295, Vd296]: greater(vplus(Vd295, Vd296), Vd295)).
% 17.38/2.58 fof('ass(cond(33, 0), 0)', axiom, ![Vd46, Vd47, Vd48]: vplus(vplus(Vd46, Vd47), Vd48)=vplus(Vd46, vplus(Vd47, Vd48))).
% 17.38/2.58 fof('ass(cond(61, 0), 0)', axiom, ![Vd78, Vd79]: vplus(Vd79, Vd78)=vplus(Vd78, Vd79)).
% 17.38/2.58 fof('ass(cond(81, 0), 0)', axiom, ![Vd104, Vd105]: (Vd104!=Vd105 => ![Vd107]: vplus(Vd107, Vd104)!=vplus(Vd107, Vd105))).
% 17.38/2.58 fof('def(cond(conseq(axiom(3)), 11), 1)', axiom, ![Vd193, Vd194]: (greater(Vd194, Vd193) <=> ?[Vd196]: Vd194=vplus(Vd193, Vd196))).
% 17.38/2.58 fof('holds(antec(204), 331, 0)', axiom, greater(vplus(vd328, vd330), vplus(vd329, vd330))).
% 17.38/2.58 fof('holds(conseq(204), 332, 0)', conjecture, greater(vd328, vd329)).
% 17.38/2.58
% 17.38/2.58 Now clausify the problem and encode Horn clauses using encoding 3 of
% 17.38/2.58 http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 17.38/2.58 We repeatedly replace C & s=t => u=v by the two clauses:
% 17.38/2.58 fresh(y, y, x1...xn) = u
% 17.38/2.58 C => fresh(s, t, x1...xn) = v
% 17.38/2.58 where fresh is a fresh function symbol and x1..xn are the free
% 17.38/2.58 variables of u and v.
% 17.38/2.58 A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 17.38/2.58 input problem has no model of domain size 1).
% 17.38/2.58
% 17.38/2.58 The encoding turns the above axioms into the following unit equations and goals:
% 17.38/2.58
% 17.38/2.58 Axiom 1 (ass(cond(61, 0), 0)): vplus(X, Y) = vplus(Y, X).
% 17.38/2.58 Axiom 2 (ass(cond(81, 0), 0)): fresh(X, X, Y, Z) = Z.
% 17.38/2.58 Axiom 3 (def(cond(conseq(axiom(3)), 11), 1)_1): fresh3(X, X, Y, Z) = Z.
% 17.38/2.58 Axiom 4 (ass(cond(189, 0), 0)): greater(vplus(X, Y), X) = true2.
% 17.38/2.58 Axiom 5 (ass(cond(33, 0), 0)): vplus(vplus(X, Y), Z) = vplus(X, vplus(Y, Z)).
% 17.38/2.58 Axiom 6 (def(cond(conseq(axiom(3)), 11), 1)_1): fresh3(greater(X, Y), true2, Y, X) = vplus(Y, vd196(Y, X)).
% 17.38/2.58 Axiom 7 (holds(antec(204), 331, 0)): greater(vplus(vd328, vd330), vplus(vd329, vd330)) = true2.
% 17.38/2.58 Axiom 8 (ass(cond(81, 0), 0)): fresh(vplus(X, Y), vplus(X, Z), Y, Z) = Y.
% 17.38/2.58
% 17.38/2.58 Lemma 9: vd196(X, vplus(X, Y)) = Y.
% 17.38/2.58 Proof:
% 17.38/2.58 vd196(X, vplus(X, Y))
% 17.38/2.58 = { by axiom 2 (ass(cond(81, 0), 0)) R->L }
% 17.38/2.58 fresh(vplus(X, Y), vplus(X, Y), Y, vd196(X, vplus(X, Y)))
% 17.38/2.58 = { by axiom 3 (def(cond(conseq(axiom(3)), 11), 1)_1) R->L }
% 17.38/2.58 fresh(vplus(X, Y), fresh3(true2, true2, X, vplus(X, Y)), Y, vd196(X, vplus(X, Y)))
% 17.38/2.58 = { by axiom 4 (ass(cond(189, 0), 0)) R->L }
% 17.38/2.58 fresh(vplus(X, Y), fresh3(greater(vplus(X, Y), X), true2, X, vplus(X, Y)), Y, vd196(X, vplus(X, Y)))
% 17.38/2.58 = { by axiom 6 (def(cond(conseq(axiom(3)), 11), 1)_1) }
% 17.38/2.58 fresh(vplus(X, Y), vplus(X, vd196(X, vplus(X, Y))), Y, vd196(X, vplus(X, Y)))
% 17.38/2.58 = { by axiom 8 (ass(cond(81, 0), 0)) }
% 17.38/2.58 Y
% 17.38/2.58
% 17.38/2.58 Goal 1 (holds(conseq(204), 332, 0)): greater(vd328, vd329) = true2.
% 17.38/2.58 Proof:
% 17.38/2.58 greater(vd328, vd329)
% 17.38/2.58 = { by lemma 9 R->L }
% 17.38/2.58 greater(vd196(vd330, vplus(vd330, vd328)), vd329)
% 17.38/2.58 = { by axiom 1 (ass(cond(61, 0), 0)) }
% 17.38/2.58 greater(vd196(vd330, vplus(vd328, vd330)), vd329)
% 17.38/2.58 = { by axiom 3 (def(cond(conseq(axiom(3)), 11), 1)_1) R->L }
% 17.38/2.58 greater(vd196(vd330, fresh3(true2, true2, vplus(vd329, vd330), vplus(vd328, vd330))), vd329)
% 17.38/2.58 = { by axiom 7 (holds(antec(204), 331, 0)) R->L }
% 17.38/2.58 greater(vd196(vd330, fresh3(greater(vplus(vd328, vd330), vplus(vd329, vd330)), true2, vplus(vd329, vd330), vplus(vd328, vd330))), vd329)
% 17.38/2.58 = { by axiom 6 (def(cond(conseq(axiom(3)), 11), 1)_1) }
% 17.38/2.58 greater(vd196(vd330, vplus(vplus(vd329, vd330), vd196(vplus(vd329, vd330), vplus(vd328, vd330)))), vd329)
% 17.38/2.58 = { by axiom 5 (ass(cond(33, 0), 0)) }
% 17.38/2.58 greater(vd196(vd330, vplus(vd329, vplus(vd330, vd196(vplus(vd329, vd330), vplus(vd328, vd330))))), vd329)
% 17.38/2.58 = { by axiom 1 (ass(cond(61, 0), 0)) R->L }
% 17.38/2.58 greater(vd196(vd330, vplus(vd329, vplus(vd196(vplus(vd329, vd330), vplus(vd328, vd330)), vd330))), vd329)
% 17.38/2.58 = { by axiom 5 (ass(cond(33, 0), 0)) R->L }
% 17.38/2.58 greater(vd196(vd330, vplus(vplus(vd329, vd196(vplus(vd329, vd330), vplus(vd328, vd330))), vd330)), vd329)
% 17.38/2.58 = { by axiom 1 (ass(cond(61, 0), 0)) }
% 17.38/2.58 greater(vd196(vd330, vplus(vd330, vplus(vd329, vd196(vplus(vd329, vd330), vplus(vd328, vd330))))), vd329)
% 17.38/2.58 = { by lemma 9 }
% 17.38/2.58 greater(vplus(vd329, vd196(vplus(vd329, vd330), vplus(vd328, vd330))), vd329)
% 17.38/2.58 = { by axiom 4 (ass(cond(189, 0), 0)) }
% 17.38/2.58 true2
% 17.38/2.58 % SZS output end Proof
% 17.38/2.58
% 17.38/2.58 RESULT: Theorem (the conjecture is true).
%------------------------------------------------------------------------------