TSTP Solution File: LCL187-1 by Twee---2.4.2

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Twee---2.4.2
% Problem  : LCL187-1 : TPTP v8.1.2. Released v1.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 : n003.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:17:51 EDT 2023

% Result   : Unsatisfiable 0.17s 0.49s
% Output   : Proof 0.17s
% Verified : 
% SZS Type : -

% Comments : 
%------------------------------------------------------------------------------
%----WARNING: Could not form TPTP format derivation
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.11  % Problem  : LCL187-1 : TPTP v8.1.2. Released v1.1.0.
% 0.12/0.12  % Command  : parallel-twee %s --tstp --conditional-encoding if --smaller --drop-non-horn --give-up-on-saturation --explain-encoding --formal-proof
% 0.12/0.33  % Computer : n003.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit : 300
% 0.12/0.33  % WCLimit  : 300
% 0.12/0.33  % DateTime : Fri Aug 25 01:51:23 EDT 2023
% 0.12/0.33  % CPUTime  : 
% 0.17/0.49  Command-line arguments: --no-flatten-goal
% 0.17/0.49  
% 0.17/0.49  % SZS status Unsatisfiable
% 0.17/0.49  
% 0.17/0.49  % SZS output start Proof
% 0.17/0.49  Take the following subset of the input axioms:
% 0.17/0.49    fof(axiom_1_3, axiom, ![A, B]: axiom(or(not(A), or(B, A)))).
% 0.17/0.49    fof(axiom_1_4, axiom, ![A2, B2]: axiom(or(not(or(A2, B2)), or(B2, A2)))).
% 0.17/0.49    fof(axiom_1_5, axiom, ![C, A2, B2]: axiom(or(not(or(A2, or(B2, C))), or(B2, or(A2, C))))).
% 0.17/0.49    fof(prove_this, negated_conjecture, ~theorem(or(not(p), or(not(not(p)), q)))).
% 0.17/0.49    fof(rule_1, axiom, ![X]: (theorem(X) | ~axiom(X))).
% 0.17/0.49    fof(rule_2, axiom, ![Y, X2]: (theorem(X2) | (~axiom(or(not(Y), X2)) | ~theorem(Y)))).
% 0.17/0.49    fof(rule_3, axiom, ![Z, X2, Y2]: (theorem(or(not(X2), Z)) | (~axiom(or(not(X2), Y2)) | ~theorem(or(not(Y2), Z))))).
% 0.17/0.49  
% 0.17/0.49  Now clausify the problem and encode Horn clauses using encoding 3 of
% 0.17/0.49  http://www.cse.chalmers.se/~nicsma/papers/horn.pdf.
% 0.17/0.49  We repeatedly replace C & s=t => u=v by the two clauses:
% 0.17/0.49    fresh(y, y, x1...xn) = u
% 0.17/0.49    C => fresh(s, t, x1...xn) = v
% 0.17/0.49  where fresh is a fresh function symbol and x1..xn are the free
% 0.17/0.49  variables of u and v.
% 0.17/0.49  A predicate p(X) is encoded as p(X)=true (this is sound, because the
% 0.17/0.49  input problem has no model of domain size 1).
% 0.17/0.49  
% 0.17/0.49  The encoding turns the above axioms into the following unit equations and goals:
% 0.17/0.49  
% 0.17/0.49  Axiom 1 (rule_1): fresh4(X, X, Y) = true.
% 0.17/0.49  Axiom 2 (rule_2): fresh3(X, X, Y) = true.
% 0.17/0.50  Axiom 3 (rule_3): fresh(X, X, Y, Z) = true.
% 0.17/0.50  Axiom 4 (rule_2): fresh5(X, X, Y, Z) = theorem(Y).
% 0.17/0.50  Axiom 5 (rule_1): fresh4(axiom(X), true, X) = theorem(X).
% 0.17/0.50  Axiom 6 (rule_3): fresh2(X, X, Y, Z, W) = theorem(or(not(Y), Z)).
% 0.17/0.50  Axiom 7 (axiom_1_3): axiom(or(not(X), or(Y, X))) = true.
% 0.17/0.50  Axiom 8 (rule_2): fresh5(theorem(X), true, Y, X) = fresh3(axiom(or(not(X), Y)), true, Y).
% 0.17/0.50  Axiom 9 (axiom_1_4): axiom(or(not(or(X, Y)), or(Y, X))) = true.
% 0.17/0.50  Axiom 10 (rule_3): fresh2(theorem(or(not(X), Y)), true, Z, Y, X) = fresh(axiom(or(not(Z), X)), true, Z, Y).
% 0.17/0.50  Axiom 11 (axiom_1_5): axiom(or(not(or(X, or(Y, Z))), or(Y, or(X, Z)))) = true.
% 0.17/0.50  
% 0.17/0.50  Goal 1 (prove_this): theorem(or(not(p), or(not(not(p)), q))) = true.
% 0.17/0.50  Proof:
% 0.17/0.50    theorem(or(not(p), or(not(not(p)), q)))
% 0.17/0.50  = { by axiom 4 (rule_2) R->L }
% 0.17/0.50    fresh5(true, true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 3 (rule_3) R->L }
% 0.17/0.50    fresh5(fresh(true, true, not(p), or(not(p), q)), true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 7 (axiom_1_3) R->L }
% 0.17/0.50    fresh5(fresh(axiom(or(not(not(p)), or(q, not(p)))), true, not(p), or(not(p), q)), true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 10 (rule_3) R->L }
% 0.17/0.50    fresh5(fresh2(theorem(or(not(or(q, not(p))), or(not(p), q))), true, not(p), or(not(p), q), or(q, not(p))), true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 5 (rule_1) R->L }
% 0.17/0.50    fresh5(fresh2(fresh4(axiom(or(not(or(q, not(p))), or(not(p), q))), true, or(not(or(q, not(p))), or(not(p), q))), true, not(p), or(not(p), q), or(q, not(p))), true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 9 (axiom_1_4) }
% 0.17/0.50    fresh5(fresh2(fresh4(true, true, or(not(or(q, not(p))), or(not(p), q))), true, not(p), or(not(p), q), or(q, not(p))), true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 1 (rule_1) }
% 0.17/0.50    fresh5(fresh2(true, true, not(p), or(not(p), q), or(q, not(p))), true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 6 (rule_3) }
% 0.17/0.50    fresh5(theorem(or(not(not(p)), or(not(p), q))), true, or(not(p), or(not(not(p)), q)), or(not(not(p)), or(not(p), q)))
% 0.17/0.50  = { by axiom 8 (rule_2) }
% 0.17/0.50    fresh3(axiom(or(not(or(not(not(p)), or(not(p), q))), or(not(p), or(not(not(p)), q)))), true, or(not(p), or(not(not(p)), q)))
% 0.17/0.50  = { by axiom 11 (axiom_1_5) }
% 0.17/0.50    fresh3(true, true, or(not(p), or(not(not(p)), q)))
% 0.17/0.50  = { by axiom 2 (rule_2) }
% 0.17/0.50    true
% 0.17/0.50  % SZS output end Proof
% 0.17/0.50  
% 0.17/0.50  RESULT: Unsatisfiable (the axioms are contradictory).
%------------------------------------------------------------------------------