TSTP Solution File: LCL238-1 by Twee---2.4.2
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Twee---2.4.2
% Problem : LCL238-1 : TPTP v8.1.2. Bugfixed v2.3.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 : n001.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 08:18:12 EDT 2023
% Result : Unsatisfiable 0.21s 0.57s
% Output : Proof 0.21s
% Verified :
% SZS Type : -
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12 % Problem : LCL238-1 : TPTP v8.1.2. Bugfixed v2.3.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.14/0.34 % Computer : n001.cluster.edu
% 0.14/0.34 % Model : x86_64 x86_64
% 0.14/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.14/0.34 % Memory : 8042.1875MB
% 0.14/0.34 % OS : Linux 3.10.0-693.el7.x86_64
% 0.20/0.34 % CPULimit : 300
% 0.20/0.34 % WCLimit : 300
% 0.20/0.34 % DateTime : Fri Aug 25 07:56:43 EDT 2023
% 0.20/0.35 % CPUTime :
% 0.21/0.57 Command-line arguments: --no-flatten-goal
% 0.21/0.57
% 0.21/0.57 % SZS status Unsatisfiable
% 0.21/0.57
% 0.21/0.57 % SZS output start Proof
% 0.21/0.57 Take the following subset of the input axioms:
% 0.21/0.57 fof(axiom_1_2, axiom, ![A]: axiom(or(not(or(A, A)), A))).
% 0.21/0.57 fof(axiom_1_3, axiom, ![B, A2]: axiom(or(not(A2), or(B, A2)))).
% 0.21/0.57 fof(axiom_1_4, axiom, ![A2, B2]: axiom(or(not(or(A2, B2)), or(B2, A2)))).
% 0.21/0.57 fof(prove_this, negated_conjecture, ~theorem(or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))))).
% 0.21/0.57 fof(rule_1, axiom, ![X]: (theorem(X) | ~axiom(X))).
% 0.21/0.57 fof(rule_2, axiom, ![Y, X2]: (theorem(X2) | (~axiom(or(not(Y), X2)) | ~theorem(Y)))).
% 0.21/0.57 fof(rule_3, axiom, ![Z, X2, Y2]: (theorem(or(not(X2), Z)) | (~axiom(or(not(X2), Y2)) | ~theorem(or(not(Y2), Z))))).
% 0.21/0.57
% 0.21/0.57 Now clausify the problem and encode Horn clauses using encoding 3 of
% 0.21/0.57 http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 0.21/0.57 We repeatedly replace C & s=t => u=v by the two clauses:
% 0.21/0.57 fresh(y, y, x1...xn) = u
% 0.21/0.57 C => fresh(s, t, x1...xn) = v
% 0.21/0.57 where fresh is a fresh function symbol and x1..xn are the free
% 0.21/0.57 variables of u and v.
% 0.21/0.57 A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 0.21/0.58 input problem has no model of domain size 1).
% 0.21/0.58
% 0.21/0.58 The encoding turns the above axioms into the following unit equations and goals:
% 0.21/0.58
% 0.21/0.58 Axiom 1 (rule_1): fresh4(X, X, Y) = true.
% 0.21/0.58 Axiom 2 (rule_2): fresh3(X, X, Y) = true.
% 0.21/0.58 Axiom 3 (rule_3): fresh(X, X, Y, Z) = true.
% 0.21/0.58 Axiom 4 (rule_2): fresh5(X, X, Y, Z) = theorem(Y).
% 0.21/0.58 Axiom 5 (rule_1): fresh4(axiom(X), true, X) = theorem(X).
% 0.21/0.58 Axiom 6 (rule_3): fresh2(X, X, Y, Z, W) = theorem(or(not(Y), Z)).
% 0.21/0.58 Axiom 7 (axiom_1_3): axiom(or(not(X), or(Y, X))) = true.
% 0.21/0.58 Axiom 8 (axiom_1_2): axiom(or(not(or(X, X)), X)) = true.
% 0.21/0.58 Axiom 9 (rule_2): fresh5(theorem(X), true, Y, X) = fresh3(axiom(or(not(X), Y)), true, Y).
% 0.21/0.58 Axiom 10 (axiom_1_4): axiom(or(not(or(X, Y)), or(Y, X))) = true.
% 0.21/0.58 Axiom 11 (rule_3): fresh2(theorem(or(not(X), Y)), true, Z, Y, X) = fresh(axiom(or(not(Z), X)), true, Z, Y).
% 0.21/0.58
% 0.21/0.58 Lemma 12: fresh5(theorem(or(X, Y)), true, or(Y, X), or(X, Y)) = true.
% 0.21/0.58 Proof:
% 0.21/0.58 fresh5(theorem(or(X, Y)), true, or(Y, X), or(X, Y))
% 0.21/0.58 = { by axiom 9 (rule_2) }
% 0.21/0.58 fresh3(axiom(or(not(or(X, Y)), or(Y, X))), true, or(Y, X))
% 0.21/0.58 = { by axiom 10 (axiom_1_4) }
% 0.21/0.58 fresh3(true, true, or(Y, X))
% 0.21/0.58 = { by axiom 2 (rule_2) }
% 0.21/0.58 true
% 0.21/0.58
% 0.21/0.58 Goal 1 (prove_this): theorem(or(not(not(or(not(p), not(q)))), not(or(not(q), not(p))))) = true.
% 0.21/0.58 Proof:
% 0.21/0.58 theorem(or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))))
% 0.21/0.58 = { by axiom 4 (rule_2) R->L }
% 0.21/0.58 fresh5(true, true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 3 (rule_3) R->L }
% 0.21/0.58 fresh5(fresh(true, true, or(not(q), not(p)), not(not(or(not(p), not(q))))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 10 (axiom_1_4) R->L }
% 0.21/0.58 fresh5(fresh(axiom(or(not(or(not(q), not(p))), or(not(p), not(q)))), true, or(not(q), not(p)), not(not(or(not(p), not(q))))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 11 (rule_3) R->L }
% 0.21/0.58 fresh5(fresh2(theorem(or(not(or(not(p), not(q))), not(not(or(not(p), not(q)))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 4 (rule_2) R->L }
% 0.21/0.58 fresh5(fresh2(fresh5(true, true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 3 (rule_3) R->L }
% 0.21/0.58 fresh5(fresh2(fresh5(fresh(true, true, not(or(not(p), not(q))), not(or(not(p), not(q)))), true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 7 (axiom_1_3) R->L }
% 0.21/0.58 fresh5(fresh2(fresh5(fresh(axiom(or(not(not(or(not(p), not(q)))), or(not(or(not(p), not(q))), not(or(not(p), not(q)))))), true, not(or(not(p), not(q))), not(or(not(p), not(q)))), true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 11 (rule_3) R->L }
% 0.21/0.58 fresh5(fresh2(fresh5(fresh2(theorem(or(not(or(not(or(not(p), not(q))), not(or(not(p), not(q))))), not(or(not(p), not(q))))), true, not(or(not(p), not(q))), not(or(not(p), not(q))), or(not(or(not(p), not(q))), not(or(not(p), not(q))))), true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 5 (rule_1) R->L }
% 0.21/0.58 fresh5(fresh2(fresh5(fresh2(fresh4(axiom(or(not(or(not(or(not(p), not(q))), not(or(not(p), not(q))))), not(or(not(p), not(q))))), true, or(not(or(not(or(not(p), not(q))), not(or(not(p), not(q))))), not(or(not(p), not(q))))), true, not(or(not(p), not(q))), not(or(not(p), not(q))), or(not(or(not(p), not(q))), not(or(not(p), not(q))))), true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 8 (axiom_1_2) }
% 0.21/0.58 fresh5(fresh2(fresh5(fresh2(fresh4(true, true, or(not(or(not(or(not(p), not(q))), not(or(not(p), not(q))))), not(or(not(p), not(q))))), true, not(or(not(p), not(q))), not(or(not(p), not(q))), or(not(or(not(p), not(q))), not(or(not(p), not(q))))), true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 1 (rule_1) }
% 0.21/0.58 fresh5(fresh2(fresh5(fresh2(true, true, not(or(not(p), not(q))), not(or(not(p), not(q))), or(not(or(not(p), not(q))), not(or(not(p), not(q))))), true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 6 (rule_3) }
% 0.21/0.58 fresh5(fresh2(fresh5(theorem(or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(or(not(p), not(q))), not(not(or(not(p), not(q))))), or(not(not(or(not(p), not(q)))), not(or(not(p), not(q))))), true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by lemma 12 }
% 0.21/0.58 fresh5(fresh2(true, true, or(not(q), not(p)), not(not(or(not(p), not(q)))), or(not(p), not(q))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by axiom 6 (rule_3) }
% 0.21/0.58 fresh5(theorem(or(not(or(not(q), not(p))), not(not(or(not(p), not(q)))))), true, or(not(not(or(not(p), not(q)))), not(or(not(q), not(p)))), or(not(or(not(q), not(p))), not(not(or(not(p), not(q))))))
% 0.21/0.58 = { by lemma 12 }
% 0.21/0.58 true
% 0.21/0.58 % SZS output end Proof
% 0.21/0.58
% 0.21/0.58 RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------