TSTP Solution File: LCL237-3 by Twee---2.4.2

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Twee---2.4.2
% Problem  : LCL237-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 : n019.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 6.76s 1.26s
% Output   : Proof 6.76s
% Verified : 
% SZS Type : -

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.12  % Problem  : LCL237-3 : TPTP v8.1.2. Released 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.13/0.34  % Computer : n019.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 03:10:13 EDT 2023
% 0.13/0.34  % CPUTime  : 
% 6.76/1.26  Command-line arguments: --flip-ordering --lhs-weight 1 --depth-weight 60 --distributivity-heuristic
% 6.76/1.26  
% 6.76/1.26  % SZS status Unsatisfiable
% 6.76/1.26  
% 6.76/1.27  % SZS output start Proof
% 6.76/1.27  Take the following subset of the input axioms:
% 6.76/1.27    fof(and_defn, axiom, ![P, Q]: and(P, Q)=not(or(not(P), not(Q)))).
% 6.76/1.27    fof(axiom_1_4, axiom, ![A, B]: axiom(implies(or(A, B), or(B, A)))).
% 6.76/1.27    fof(axiom_1_5, axiom, ![C, A2, B2]: axiom(implies(or(A2, or(B2, C)), or(B2, or(A2, C))))).
% 6.76/1.27    fof(axiom_1_6, axiom, ![A2, B2, C2]: axiom(implies(implies(A2, B2), implies(or(C2, A2), or(C2, B2))))).
% 6.76/1.27    fof(implies_definition, axiom, ![X, Y]: implies(X, Y)=or(not(X), Y)).
% 6.76/1.27    fof(prove_this, negated_conjecture, ~theorem(implies(q, implies(p, and(p, q))))).
% 6.76/1.27    fof(rule_1, axiom, ![X2]: (theorem(X2) | ~axiom(X2))).
% 6.76/1.27    fof(rule_2, axiom, ![X2, Y2]: (theorem(X2) | (~theorem(implies(Y2, X2)) | ~theorem(Y2)))).
% 6.76/1.27  
% 6.76/1.27  Now clausify the problem and encode Horn clauses using encoding 3 of
% 6.76/1.27  http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 6.76/1.27  We repeatedly replace C & s=t => u=v by the two clauses:
% 6.76/1.27    fresh(y, y, x1...xn) = u
% 6.76/1.27    C => fresh(s, t, x1...xn) = v
% 6.76/1.27  where fresh is a fresh function symbol and x1..xn are the free
% 6.76/1.27  variables of u and v.
% 6.76/1.27  A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 6.76/1.27  input problem has no model of domain size 1).
% 6.76/1.27  
% 6.76/1.27  The encoding turns the above axioms into the following unit equations and goals:
% 6.76/1.27  
% 6.76/1.27  Axiom 1 (implies_definition): implies(X, Y) = or(not(X), Y).
% 6.76/1.27  Axiom 2 (rule_2): fresh(X, X, Y) = true.
% 6.76/1.27  Axiom 3 (rule_1): fresh2(X, X, Y) = true.
% 6.76/1.27  Axiom 4 (rule_2): fresh3(X, X, Y, Z) = theorem(Y).
% 6.76/1.27  Axiom 5 (rule_1): fresh2(axiom(X), true, X) = theorem(X).
% 6.76/1.27  Axiom 6 (and_defn): and(X, Y) = not(or(not(X), not(Y))).
% 6.76/1.27  Axiom 7 (axiom_1_4): axiom(implies(or(X, Y), or(Y, X))) = true.
% 6.76/1.27  Axiom 8 (rule_2): fresh3(theorem(implies(X, Y)), true, Y, X) = fresh(theorem(X), true, Y).
% 6.76/1.27  Axiom 9 (axiom_1_6): axiom(implies(implies(X, Y), implies(or(Z, X), or(Z, Y)))) = true.
% 6.76/1.27  Axiom 10 (axiom_1_5): axiom(implies(or(X, or(Y, Z)), or(Y, or(X, Z)))) = true.
% 6.76/1.27  
% 6.76/1.27  Goal 1 (prove_this): theorem(implies(q, implies(p, and(p, q)))) = true.
% 6.76/1.27  Proof:
% 6.76/1.27    theorem(implies(q, implies(p, and(p, q))))
% 6.76/1.27  = { by axiom 4 (rule_2) R->L }
% 6.76/1.27    fresh3(true, true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.27  = { by axiom 2 (rule_2) R->L }
% 6.76/1.27    fresh3(fresh(true, true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q))))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.27  = { by axiom 3 (rule_1) R->L }
% 6.76/1.27    fresh3(fresh(fresh2(true, true, implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q))))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 7 (axiom_1_4) R->L }
% 6.76/1.28    fresh3(fresh(fresh2(axiom(implies(or(and(p, q), not(p)), or(not(p), and(p, q)))), true, implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q))))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 1 (implies_definition) R->L }
% 6.76/1.28    fresh3(fresh(fresh2(axiom(implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q))))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 5 (rule_1) }
% 6.76/1.28    fresh3(fresh(theorem(implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q))))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 8 (rule_2) R->L }
% 6.76/1.28    fresh3(fresh3(theorem(implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))), implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 5 (rule_1) R->L }
% 6.76/1.28    fresh3(fresh3(fresh2(axiom(implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))))), true, implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))), implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 1 (implies_definition) }
% 6.76/1.28    fresh3(fresh3(fresh2(axiom(implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(implies(q, or(and(p, q), not(p))), or(not(q), implies(p, and(p, q)))))), true, implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))), implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 1 (implies_definition) }
% 6.76/1.28    fresh3(fresh3(fresh2(axiom(implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(or(not(q), or(and(p, q), not(p))), or(not(q), implies(p, and(p, q)))))), true, implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))), implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 9 (axiom_1_6) }
% 6.76/1.28    fresh3(fresh3(fresh2(true, true, implies(implies(or(and(p, q), not(p)), implies(p, and(p, q))), implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))))), true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))), implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 3 (rule_1) }
% 6.76/1.28    fresh3(fresh3(true, true, implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q)))), implies(or(and(p, q), not(p)), implies(p, and(p, q)))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 4 (rule_2) }
% 6.76/1.28    fresh3(theorem(implies(implies(q, or(and(p, q), not(p))), implies(q, implies(p, and(p, q))))), true, implies(q, implies(p, and(p, q))), implies(q, or(and(p, q), not(p))))
% 6.76/1.28  = { by axiom 8 (rule_2) }
% 6.76/1.28    fresh(theorem(implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 4 (rule_2) R->L }
% 6.76/1.28    fresh(fresh3(true, true, implies(q, or(and(p, q), not(p))), or(and(p, q), implies(q, not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 3 (rule_1) R->L }
% 6.76/1.28    fresh(fresh3(fresh2(true, true, implies(or(and(p, q), implies(q, not(p))), implies(q, or(and(p, q), not(p))))), true, implies(q, or(and(p, q), not(p))), or(and(p, q), implies(q, not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 10 (axiom_1_5) R->L }
% 6.76/1.28    fresh(fresh3(fresh2(axiom(implies(or(and(p, q), or(not(q), not(p))), or(not(q), or(and(p, q), not(p))))), true, implies(or(and(p, q), implies(q, not(p))), implies(q, or(and(p, q), not(p))))), true, implies(q, or(and(p, q), not(p))), or(and(p, q), implies(q, not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 1 (implies_definition) R->L }
% 6.76/1.28    fresh(fresh3(fresh2(axiom(implies(or(and(p, q), implies(q, not(p))), or(not(q), or(and(p, q), not(p))))), true, implies(or(and(p, q), implies(q, not(p))), implies(q, or(and(p, q), not(p))))), true, implies(q, or(and(p, q), not(p))), or(and(p, q), implies(q, not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 1 (implies_definition) R->L }
% 6.76/1.28    fresh(fresh3(fresh2(axiom(implies(or(and(p, q), implies(q, not(p))), implies(q, or(and(p, q), not(p))))), true, implies(or(and(p, q), implies(q, not(p))), implies(q, or(and(p, q), not(p))))), true, implies(q, or(and(p, q), not(p))), or(and(p, q), implies(q, not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 5 (rule_1) }
% 6.76/1.28    fresh(fresh3(theorem(implies(or(and(p, q), implies(q, not(p))), implies(q, or(and(p, q), not(p))))), true, implies(q, or(and(p, q), not(p))), or(and(p, q), implies(q, not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 8 (rule_2) }
% 6.76/1.28    fresh(fresh(theorem(or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 5 (rule_1) R->L }
% 6.76/1.28    fresh(fresh(fresh2(axiom(or(and(p, q), implies(q, not(p)))), true, or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 1 (implies_definition) }
% 6.76/1.28    fresh(fresh(fresh2(axiom(or(and(p, q), or(not(q), not(p)))), true, or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 6 (and_defn) }
% 6.76/1.28    fresh(fresh(fresh2(axiom(or(not(or(not(p), not(q))), or(not(q), not(p)))), true, or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 1 (implies_definition) R->L }
% 6.76/1.28    fresh(fresh(fresh2(axiom(or(not(implies(p, not(q))), or(not(q), not(p)))), true, or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 1 (implies_definition) R->L }
% 6.76/1.28    fresh(fresh(fresh2(axiom(implies(implies(p, not(q)), or(not(q), not(p)))), true, or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 1 (implies_definition) }
% 6.76/1.28    fresh(fresh(fresh2(axiom(implies(or(not(p), not(q)), or(not(q), not(p)))), true, or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 7 (axiom_1_4) }
% 6.76/1.28    fresh(fresh(fresh2(true, true, or(and(p, q), implies(q, not(p)))), true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 3 (rule_1) }
% 6.76/1.28    fresh(fresh(true, true, implies(q, or(and(p, q), not(p)))), true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 2 (rule_2) }
% 6.76/1.28    fresh(true, true, implies(q, implies(p, and(p, q))))
% 6.76/1.28  = { by axiom 2 (rule_2) }
% 6.76/1.28    true
% 6.76/1.28  % SZS output end Proof
% 6.76/1.28  
% 6.76/1.28  RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------