TSTP Solution File: LCL320-3 by Twee---2.4.2
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Twee---2.4.2
% Problem : LCL320-3 : TPTP v8.1.2. Released 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 : n011.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:30 EDT 2023
% Result : Unsatisfiable 24.04s 3.38s
% Output : Proof 24.04s
% Verified :
% SZS Type : -
% Comments :
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.09 % Problem : LCL320-3 : TPTP v8.1.2. Released v2.3.0.
% 0.09/0.10 % Command : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.09/0.29 % Computer : n011.cluster.edu
% 0.09/0.29 % Model : x86_64 x86_64
% 0.09/0.29 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.09/0.29 % Memory : 8042.1875MB
% 0.09/0.29 % OS : Linux 3.10.0-693.el7.x86_64
% 0.09/0.29 % CPULimit : 300
% 0.09/0.30 % WCLimit : 300
% 0.09/0.30 % DateTime : Thu Aug 24 17:05:52 EDT 2023
% 0.09/0.30 % CPUTime :
% 24.04/3.38 Command-line arguments: --no-flatten-goal
% 24.04/3.38
% 24.04/3.38 % SZS status Unsatisfiable
% 24.04/3.38
% 24.04/3.40 % SZS output start Proof
% 24.04/3.40 Take the following subset of the input axioms:
% 24.04/3.40 fof(axiom_1_3, axiom, ![A, B]: axiom(implies(A, or(B, A)))).
% 24.04/3.40 fof(axiom_1_4, axiom, ![A2, B2]: axiom(implies(or(A2, B2), or(B2, A2)))).
% 24.04/3.40 fof(axiom_1_5, axiom, ![C, A2, B2]: axiom(implies(or(A2, or(B2, C)), or(B2, or(A2, C))))).
% 24.04/3.40 fof(axiom_1_6, axiom, ![A2, B2, C2]: axiom(implies(implies(A2, B2), implies(or(C2, A2), or(C2, B2))))).
% 24.04/3.40 fof(implies_definition, axiom, ![X, Y]: implies(X, Y)=or(not(X), Y)).
% 24.04/3.40 fof(prove_this, negated_conjecture, ~theorem(or(implies(p, q), implies(not(p), q)))).
% 24.04/3.40 fof(rule_1, axiom, ![X2]: (theorem(X2) | ~axiom(X2))).
% 24.04/3.40 fof(rule_2, axiom, ![X2, Y2]: (theorem(X2) | (~theorem(implies(Y2, X2)) | ~theorem(Y2)))).
% 24.04/3.40
% 24.04/3.40 Now clausify the problem and encode Horn clauses using encoding 3 of
% 24.04/3.40 http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 24.04/3.40 We repeatedly replace C & s=t => u=v by the two clauses:
% 24.04/3.40 fresh(y, y, x1...xn) = u
% 24.04/3.40 C => fresh(s, t, x1...xn) = v
% 24.04/3.40 where fresh is a fresh function symbol and x1..xn are the free
% 24.04/3.40 variables of u and v.
% 24.04/3.40 A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 24.04/3.40 input problem has no model of domain size 1).
% 24.04/3.40
% 24.04/3.40 The encoding turns the above axioms into the following unit equations and goals:
% 24.04/3.40
% 24.04/3.40 Axiom 1 (rule_2): fresh(X, X, Y) = true.
% 24.04/3.40 Axiom 2 (rule_1): fresh2(X, X, Y) = true.
% 24.04/3.40 Axiom 3 (implies_definition): implies(X, Y) = or(not(X), Y).
% 24.04/3.40 Axiom 4 (rule_2): fresh3(X, X, Y, Z) = theorem(Y).
% 24.04/3.40 Axiom 5 (rule_1): fresh2(axiom(X), true, X) = theorem(X).
% 24.04/3.40 Axiom 6 (axiom_1_3): axiom(implies(X, or(Y, X))) = true.
% 24.04/3.40 Axiom 7 (rule_2): fresh3(theorem(implies(X, Y)), true, Y, X) = fresh(theorem(X), true, Y).
% 24.04/3.40 Axiom 8 (axiom_1_4): axiom(implies(or(X, Y), or(Y, X))) = true.
% 24.04/3.40 Axiom 9 (axiom_1_6): axiom(implies(implies(X, Y), implies(or(Z, X), or(Z, Y)))) = true.
% 24.04/3.40 Axiom 10 (axiom_1_5): axiom(implies(or(X, or(Y, Z)), or(Y, or(X, Z)))) = true.
% 24.04/3.40
% 24.04/3.40 Lemma 11: theorem(implies(X, or(Y, X))) = true.
% 24.04/3.40 Proof:
% 24.04/3.40 theorem(implies(X, or(Y, X)))
% 24.04/3.40 = { by axiom 5 (rule_1) R->L }
% 24.04/3.40 fresh2(axiom(implies(X, or(Y, X))), true, implies(X, or(Y, X)))
% 24.04/3.40 = { by axiom 6 (axiom_1_3) }
% 24.04/3.40 fresh2(true, true, implies(X, or(Y, X)))
% 24.04/3.40 = { by axiom 2 (rule_1) }
% 24.04/3.40 true
% 24.04/3.40
% 24.04/3.40 Lemma 12: theorem(implies(or(X, Y), or(Y, X))) = true.
% 24.04/3.40 Proof:
% 24.04/3.40 theorem(implies(or(X, Y), or(Y, X)))
% 24.04/3.40 = { by axiom 5 (rule_1) R->L }
% 24.04/3.40 fresh2(axiom(implies(or(X, Y), or(Y, X))), true, implies(or(X, Y), or(Y, X)))
% 24.04/3.40 = { by axiom 8 (axiom_1_4) }
% 24.04/3.40 fresh2(true, true, implies(or(X, Y), or(Y, X)))
% 24.04/3.40 = { by axiom 2 (rule_1) }
% 24.04/3.40 true
% 24.04/3.40
% 24.04/3.40 Lemma 13: fresh(theorem(or(X, Y)), true, or(Y, X)) = theorem(or(Y, X)).
% 24.04/3.40 Proof:
% 24.04/3.40 fresh(theorem(or(X, Y)), true, or(Y, X))
% 24.04/3.40 = { by axiom 7 (rule_2) R->L }
% 24.04/3.40 fresh3(theorem(implies(or(X, Y), or(Y, X))), true, or(Y, X), or(X, Y))
% 24.04/3.40 = { by lemma 12 }
% 24.04/3.40 fresh3(true, true, or(Y, X), or(X, Y))
% 24.04/3.40 = { by axiom 4 (rule_2) }
% 24.04/3.40 theorem(or(Y, X))
% 24.04/3.40
% 24.04/3.40 Lemma 14: fresh(theorem(or(X, or(Y, Z))), true, or(X, or(Z, Y))) = theorem(or(X, or(Z, Y))).
% 24.04/3.40 Proof:
% 24.04/3.40 fresh(theorem(or(X, or(Y, Z))), true, or(X, or(Z, Y)))
% 24.04/3.40 = { by axiom 7 (rule_2) R->L }
% 24.04/3.40 fresh3(theorem(implies(or(X, or(Y, Z)), or(X, or(Z, Y)))), true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by axiom 4 (rule_2) R->L }
% 24.04/3.40 fresh3(fresh3(true, true, implies(or(X, or(Y, Z)), or(X, or(Z, Y))), implies(or(Y, Z), or(Z, Y))), true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by axiom 2 (rule_1) R->L }
% 24.04/3.40 fresh3(fresh3(fresh2(true, true, implies(implies(or(Y, Z), or(Z, Y)), implies(or(X, or(Y, Z)), or(X, or(Z, Y))))), true, implies(or(X, or(Y, Z)), or(X, or(Z, Y))), implies(or(Y, Z), or(Z, Y))), true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by axiom 9 (axiom_1_6) R->L }
% 24.04/3.40 fresh3(fresh3(fresh2(axiom(implies(implies(or(Y, Z), or(Z, Y)), implies(or(X, or(Y, Z)), or(X, or(Z, Y))))), true, implies(implies(or(Y, Z), or(Z, Y)), implies(or(X, or(Y, Z)), or(X, or(Z, Y))))), true, implies(or(X, or(Y, Z)), or(X, or(Z, Y))), implies(or(Y, Z), or(Z, Y))), true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by axiom 5 (rule_1) }
% 24.04/3.40 fresh3(fresh3(theorem(implies(implies(or(Y, Z), or(Z, Y)), implies(or(X, or(Y, Z)), or(X, or(Z, Y))))), true, implies(or(X, or(Y, Z)), or(X, or(Z, Y))), implies(or(Y, Z), or(Z, Y))), true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by axiom 7 (rule_2) }
% 24.04/3.40 fresh3(fresh(theorem(implies(or(Y, Z), or(Z, Y))), true, implies(or(X, or(Y, Z)), or(X, or(Z, Y)))), true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by lemma 12 }
% 24.04/3.40 fresh3(fresh(true, true, implies(or(X, or(Y, Z)), or(X, or(Z, Y)))), true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by axiom 1 (rule_2) }
% 24.04/3.40 fresh3(true, true, or(X, or(Z, Y)), or(X, or(Y, Z)))
% 24.04/3.40 = { by axiom 4 (rule_2) }
% 24.04/3.40 theorem(or(X, or(Z, Y)))
% 24.04/3.40
% 24.04/3.40 Goal 1 (prove_this): theorem(or(implies(p, q), implies(not(p), q))) = true.
% 24.04/3.40 Proof:
% 24.04/3.40 theorem(or(implies(p, q), implies(not(p), q)))
% 24.04/3.40 = { by axiom 3 (implies_definition) }
% 24.04/3.40 theorem(or(or(not(p), q), implies(not(p), q)))
% 24.04/3.40 = { by lemma 13 R->L }
% 24.04/3.40 fresh(theorem(or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.40 = { by lemma 14 R->L }
% 24.04/3.41 fresh(fresh(theorem(or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by lemma 13 R->L }
% 24.04/3.41 fresh(fresh(fresh(theorem(or(or(q, not(p)), implies(not(p), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 3 (implies_definition) }
% 24.04/3.41 fresh(fresh(fresh(theorem(or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by lemma 14 R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(theorem(or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 4 (rule_2) R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh3(true, true, or(or(q, not(p)), or(q, not(not(p)))), or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 2 (rule_1) R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh3(fresh2(true, true, implies(or(q, or(or(q, not(p)), not(not(p)))), or(or(q, not(p)), or(q, not(not(p)))))), true, or(or(q, not(p)), or(q, not(not(p)))), or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 10 (axiom_1_5) R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh3(fresh2(axiom(implies(or(q, or(or(q, not(p)), not(not(p)))), or(or(q, not(p)), or(q, not(not(p)))))), true, implies(or(q, or(or(q, not(p)), not(not(p)))), or(or(q, not(p)), or(q, not(not(p)))))), true, or(or(q, not(p)), or(q, not(not(p)))), or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 5 (rule_1) }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh3(theorem(implies(or(q, or(or(q, not(p)), not(not(p)))), or(or(q, not(p)), or(q, not(not(p)))))), true, or(or(q, not(p)), or(q, not(not(p)))), or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 7 (rule_2) }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(theorem(or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 4 (rule_2) R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh3(true, true, or(q, or(or(q, not(p)), not(not(p)))), or(or(q, not(p)), not(not(p)))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by lemma 11 R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh3(theorem(implies(or(or(q, not(p)), not(not(p))), or(q, or(or(q, not(p)), not(not(p)))))), true, or(q, or(or(q, not(p)), not(not(p)))), or(or(q, not(p)), not(not(p)))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 7 (rule_2) }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh(theorem(or(or(q, not(p)), not(not(p)))), true, or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 4 (rule_2) R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh(fresh3(true, true, or(or(q, not(p)), not(not(p))), implies(not(p), or(q, not(p)))), true, or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by lemma 12 R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh(fresh3(theorem(implies(or(not(not(p)), or(q, not(p))), or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), not(not(p))), implies(not(p), or(q, not(p)))), true, or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 3 (implies_definition) R->L }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh(fresh3(theorem(implies(implies(not(p), or(q, not(p))), or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), not(not(p))), implies(not(p), or(q, not(p)))), true, or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 7 (rule_2) }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh(fresh(theorem(implies(not(p), or(q, not(p)))), true, or(or(q, not(p)), not(not(p)))), true, or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by lemma 11 }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh(fresh(true, true, or(or(q, not(p)), not(not(p)))), true, or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 1 (rule_2) }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(fresh(true, true, or(q, or(or(q, not(p)), not(not(p))))), true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 1 (rule_2) }
% 24.04/3.41 fresh(fresh(fresh(fresh(fresh(true, true, or(or(q, not(p)), or(q, not(not(p))))), true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 1 (rule_2) }
% 24.04/3.41 fresh(fresh(fresh(fresh(true, true, or(or(q, not(p)), or(not(not(p)), q))), true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 1 (rule_2) }
% 24.04/3.41 fresh(fresh(fresh(true, true, or(implies(not(p), q), or(q, not(p)))), true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 1 (rule_2) }
% 24.04/3.41 fresh(fresh(true, true, or(implies(not(p), q), or(not(p), q))), true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.41 = { by axiom 1 (rule_2) }
% 24.04/3.42 fresh(true, true, or(or(not(p), q), implies(not(p), q)))
% 24.04/3.42 = { by axiom 1 (rule_2) }
% 24.04/3.42 true
% 24.04/3.42 % SZS output end Proof
% 24.04/3.42
% 24.04/3.42 RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------