TSTP Solution File: LCL321-3 by Z3---4.8.9.0
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Z3---4.8.9.0
% Problem : LCL321-3 : TPTP v8.1.0. Released v2.3.0.
% Transfm : none
% Format : tptp
% Command : z3_tptp -proof -model -t:%d -file:%s
% Computer : n014.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 : Sun Sep 18 04:55:54 EDT 2022
% Result : Unsatisfiable 0.10s 0.37s
% Output : Proof 0.10s
% Verified :
% SZS Type : Refutation
% Derivation depth : 13
% Number of leaves : 49
% Syntax : Number of formulae : 111 ( 47 unt; 7 typ; 0 def)
% Number of atoms : 300 ( 24 equ)
% Maximal formula atoms : 12 ( 2 avg)
% Number of connectives : 355 ( 166 ~; 158 |; 0 &)
% ( 31 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 4 avg)
% Maximal term depth : 6 ( 2 avg)
% Number of FOOLs : 7 ( 7 fml; 0 var)
% Number of types : 2 ( 0 usr)
% Number of type conns : 7 ( 5 >; 2 *; 0 +; 0 <<)
% Number of predicates : 6 ( 4 usr; 1 prp; 0-2 aty)
% Number of functors : 5 ( 5 usr; 2 con; 0-2 aty)
% Number of variables : 171 ( 157 !; 0 ?; 171 :)
% Comments :
%------------------------------------------------------------------------------
tff(theorem_type,type,
theorem: $i > $o ).
tff(or_type,type,
or: ( $i * $i ) > $i ).
tff(q_type,type,
q: $i ).
tff(not_type,type,
not: $i > $i ).
tff(p_type,type,
p: $i ).
tff(implies_type,type,
implies: ( $i * $i ) > $i ).
tff(axiom_type,type,
axiom: $i > $o ).
tff(1,plain,
^ [Y: $i,X: $i] :
refl(
( ( implies(X,Y) = or(not(X),Y) )
<=> ( implies(X,Y) = or(not(X),Y) ) )),
inference(bind,[status(th)],]) ).
tff(2,plain,
( ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
<=> ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ) ),
inference(quant_intro,[status(thm)],[1]) ).
tff(3,plain,
( ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
<=> ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ) ),
inference(rewrite,[status(thm)],]) ).
tff(4,axiom,
! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',implies_definition) ).
tff(5,plain,
! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
inference(modus_ponens,[status(thm)],[4,3]) ).
tff(6,plain,
! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
inference(skolemize,[status(sab)],[5]) ).
tff(7,plain,
! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) ),
inference(modus_ponens,[status(thm)],[6,2]) ).
tff(8,plain,
( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
| ( implies(q,or(not(p),q)) = or(not(q),or(not(p),q)) ) ),
inference(quant_inst,[status(thm)],]) ).
tff(9,plain,
implies(q,or(not(p),q)) = or(not(q),or(not(p),q)),
inference(unit_resolution,[status(thm)],[8,7]) ).
tff(10,plain,
or(not(q),or(not(p),q)) = implies(q,or(not(p),q)),
inference(symmetry,[status(thm)],[9]) ).
tff(11,plain,
( theorem(or(not(q),or(not(p),q)))
<=> theorem(implies(q,or(not(p),q))) ),
inference(monotonicity,[status(thm)],[10]) ).
tff(12,plain,
( theorem(implies(q,or(not(p),q)))
<=> theorem(or(not(q),or(not(p),q))) ),
inference(symmetry,[status(thm)],[11]) ).
tff(13,plain,
^ [B: $i,A: $i] :
refl(
( axiom(implies(A,or(B,A)))
<=> axiom(implies(A,or(B,A))) )),
inference(bind,[status(th)],]) ).
tff(14,plain,
( ! [B: $i,A: $i] : axiom(implies(A,or(B,A)))
<=> ! [B: $i,A: $i] : axiom(implies(A,or(B,A))) ),
inference(quant_intro,[status(thm)],[13]) ).
tff(15,plain,
( ! [B: $i,A: $i] : axiom(implies(A,or(B,A)))
<=> ! [B: $i,A: $i] : axiom(implies(A,or(B,A))) ),
inference(rewrite,[status(thm)],]) ).
tff(16,axiom,
! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',axiom_1_3) ).
tff(17,plain,
! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
inference(modus_ponens,[status(thm)],[16,15]) ).
tff(18,plain,
! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
inference(skolemize,[status(sab)],[17]) ).
tff(19,plain,
! [B: $i,A: $i] : axiom(implies(A,or(B,A))),
inference(modus_ponens,[status(thm)],[18,14]) ).
tff(20,plain,
( ~ ! [B: $i,A: $i] : axiom(implies(A,or(B,A)))
| axiom(implies(q,or(not(p),q))) ),
inference(quant_inst,[status(thm)],]) ).
tff(21,plain,
axiom(implies(q,or(not(p),q))),
inference(unit_resolution,[status(thm)],[20,19]) ).
tff(22,plain,
^ [X: $i] :
refl(
( ( theorem(X)
| ~ axiom(X) )
<=> ( theorem(X)
| ~ axiom(X) ) )),
inference(bind,[status(th)],]) ).
tff(23,plain,
( ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
<=> ! [X: $i] :
( theorem(X)
| ~ axiom(X) ) ),
inference(quant_intro,[status(thm)],[22]) ).
tff(24,plain,
( ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
<=> ! [X: $i] :
( theorem(X)
| ~ axiom(X) ) ),
inference(rewrite,[status(thm)],]) ).
tff(25,axiom,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',rule_1) ).
tff(26,plain,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
inference(modus_ponens,[status(thm)],[25,24]) ).
tff(27,plain,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
inference(skolemize,[status(sab)],[26]) ).
tff(28,plain,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
inference(modus_ponens,[status(thm)],[27,23]) ).
tff(29,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(q,or(not(p),q)))
| ~ axiom(implies(q,or(not(p),q))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(q,or(not(p),q)))
| ~ axiom(implies(q,or(not(p),q))) ) ),
inference(rewrite,[status(thm)],]) ).
tff(30,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(q,or(not(p),q)))
| ~ axiom(implies(q,or(not(p),q))) ),
inference(quant_inst,[status(thm)],]) ).
tff(31,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(q,or(not(p),q)))
| ~ axiom(implies(q,or(not(p),q))) ),
inference(modus_ponens,[status(thm)],[30,29]) ).
tff(32,plain,
theorem(implies(q,or(not(p),q))),
inference(unit_resolution,[status(thm)],[31,28,21]) ).
tff(33,plain,
theorem(or(not(q),or(not(p),q))),
inference(modus_ponens,[status(thm)],[32,12]) ).
tff(34,plain,
( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
| ( implies(p,not(q)) = or(not(p),not(q)) ) ),
inference(quant_inst,[status(thm)],]) ).
tff(35,plain,
implies(p,not(q)) = or(not(p),not(q)),
inference(unit_resolution,[status(thm)],[34,7]) ).
tff(36,plain,
or(not(p),not(q)) = implies(p,not(q)),
inference(symmetry,[status(thm)],[35]) ).
tff(37,plain,
( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
| ( implies(p,q) = or(not(p),q) ) ),
inference(quant_inst,[status(thm)],]) ).
tff(38,plain,
implies(p,q) = or(not(p),q),
inference(unit_resolution,[status(thm)],[37,7]) ).
tff(39,plain,
or(not(p),q) = implies(p,q),
inference(symmetry,[status(thm)],[38]) ).
tff(40,plain,
or(or(not(p),q),or(not(p),not(q))) = or(implies(p,q),implies(p,not(q))),
inference(monotonicity,[status(thm)],[39,36]) ).
tff(41,plain,
implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q)))) = implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q)))),
inference(monotonicity,[status(thm)],[40]) ).
tff(42,plain,
( theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q)))))
<=> theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q))))) ),
inference(monotonicity,[status(thm)],[41]) ).
tff(43,plain,
^ [B: $i,A: $i,C: $i] :
refl(
( axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
<=> axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) )),
inference(bind,[status(th)],]) ).
tff(44,plain,
( ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
<=> ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) ),
inference(quant_intro,[status(thm)],[43]) ).
tff(45,plain,
( ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
<=> ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))) ),
inference(rewrite,[status(thm)],]) ).
tff(46,axiom,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',axiom_1_5) ).
tff(47,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
inference(modus_ponens,[status(thm)],[46,45]) ).
tff(48,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
inference(skolemize,[status(sab)],[47]) ).
tff(49,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
inference(modus_ponens,[status(thm)],[48,44]) ).
tff(50,plain,
( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
| axiom(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q))))) ),
inference(quant_inst,[status(thm)],]) ).
tff(51,plain,
axiom(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q))))),
inference(unit_resolution,[status(thm)],[50,49]) ).
tff(52,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q)))))
| ~ axiom(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q))))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q)))))
| ~ axiom(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q))))) ) ),
inference(rewrite,[status(thm)],]) ).
tff(53,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q)))))
| ~ axiom(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q))))) ),
inference(quant_inst,[status(thm)],]) ).
tff(54,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q)))))
| ~ axiom(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q))))) ),
inference(modus_ponens,[status(thm)],[53,52]) ).
tff(55,plain,
theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(or(not(p),q),or(not(p),not(q))))),
inference(unit_resolution,[status(thm)],[54,28,51]) ).
tff(56,plain,
theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q))))),
inference(modus_ponens,[status(thm)],[55,42]) ).
tff(57,plain,
( ~ theorem(or(implies(p,q),implies(p,not(q))))
<=> ~ theorem(or(implies(p,q),implies(p,not(q)))) ),
inference(rewrite,[status(thm)],]) ).
tff(58,axiom,
~ theorem(or(implies(p,q),implies(p,not(q)))),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_this) ).
tff(59,plain,
~ theorem(or(implies(p,q),implies(p,not(q)))),
inference(modus_ponens,[status(thm)],[58,57]) ).
tff(60,plain,
^ [Y: $i,X: $i] :
refl(
( ( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
<=> ( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ) )),
inference(bind,[status(th)],]) ).
tff(61,plain,
( ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
<=> ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ) ),
inference(quant_intro,[status(thm)],[60]) ).
tff(62,plain,
( ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
<=> ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ) ),
inference(rewrite,[status(thm)],]) ).
tff(63,plain,
^ [Y: $i,X: $i] :
rewrite(
( ( theorem(X)
| ~ theorem(implies(Y,X))
| ~ theorem(Y) )
<=> ( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ) )),
inference(bind,[status(th)],]) ).
tff(64,plain,
( ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(implies(Y,X))
| ~ theorem(Y) )
<=> ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ) ),
inference(quant_intro,[status(thm)],[63]) ).
tff(65,axiom,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(implies(Y,X))
| ~ theorem(Y) ),
file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',rule_2) ).
tff(66,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(modus_ponens,[status(thm)],[65,64]) ).
tff(67,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(modus_ponens,[status(thm)],[66,62]) ).
tff(68,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(skolemize,[status(sab)],[67]) ).
tff(69,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(modus_ponens,[status(thm)],[68,61]) ).
tff(70,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(implies(p,q),implies(p,not(q))))
| ~ theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(implies(p,q),implies(p,not(q))))
| ~ theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q))))) ) ),
inference(rewrite,[status(thm)],]) ).
tff(71,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(implies(p,q),implies(p,not(q))))
| ~ theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q))))) ),
inference(quant_inst,[status(thm)],]) ).
tff(72,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(implies(p,q),implies(p,not(q))))
| ~ theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q))))) ),
inference(modus_ponens,[status(thm)],[71,70]) ).
tff(73,plain,
( ~ theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(implies(or(not(p),or(or(not(p),q),not(q))),or(implies(p,q),implies(p,not(q))))) ),
inference(unit_resolution,[status(thm)],[72,69,59]) ).
tff(74,plain,
~ theorem(or(not(p),or(or(not(p),q),not(q)))),
inference(unit_resolution,[status(thm)],[73,56]) ).
tff(75,plain,
( ~ ! [B: $i,A: $i] : axiom(implies(A,or(B,A)))
| axiom(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) ),
inference(quant_inst,[status(thm)],]) ).
tff(76,plain,
axiom(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))),
inference(unit_resolution,[status(thm)],[75,19]) ).
tff(77,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q)))))
| ~ axiom(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q)))))
| ~ axiom(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) ) ),
inference(rewrite,[status(thm)],]) ).
tff(78,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q)))))
| ~ axiom(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) ),
inference(quant_inst,[status(thm)],]) ).
tff(79,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q)))))
| ~ axiom(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) ),
inference(modus_ponens,[status(thm)],[78,77]) ).
tff(80,plain,
theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))),
inference(unit_resolution,[status(thm)],[79,28,76]) ).
tff(81,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(or(or(not(p),q),not(q)))
| ~ theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(or(or(not(p),q),not(q)))
| ~ theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) ) ),
inference(rewrite,[status(thm)],]) ).
tff(82,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(or(or(not(p),q),not(q)))
| ~ theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) ),
inference(quant_inst,[status(thm)],]) ).
tff(83,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(or(or(not(p),q),not(q)))
| ~ theorem(implies(or(or(not(p),q),not(q)),or(not(p),or(or(not(p),q),not(q))))) ),
inference(modus_ponens,[status(thm)],[82,81]) ).
tff(84,plain,
( theorem(or(not(p),or(or(not(p),q),not(q))))
| ~ theorem(or(or(not(p),q),not(q))) ),
inference(unit_resolution,[status(thm)],[83,69,80]) ).
tff(85,plain,
~ theorem(or(or(not(p),q),not(q))),
inference(unit_resolution,[status(thm)],[84,74]) ).
tff(86,plain,
^ [B: $i,A: $i] :
refl(
( axiom(implies(or(A,B),or(B,A)))
<=> axiom(implies(or(A,B),or(B,A))) )),
inference(bind,[status(th)],]) ).
tff(87,plain,
( ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A)))
<=> ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))) ),
inference(quant_intro,[status(thm)],[86]) ).
tff(88,plain,
( ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A)))
<=> ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))) ),
inference(rewrite,[status(thm)],]) ).
tff(89,axiom,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
file('/export/starexec/sandbox2/benchmark/Axioms/LCL004-0.ax',axiom_1_4) ).
tff(90,plain,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
inference(modus_ponens,[status(thm)],[89,88]) ).
tff(91,plain,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
inference(skolemize,[status(sab)],[90]) ).
tff(92,plain,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
inference(modus_ponens,[status(thm)],[91,87]) ).
tff(93,plain,
( ~ ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A)))
| axiom(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) ),
inference(quant_inst,[status(thm)],]) ).
tff(94,plain,
axiom(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))),
inference(unit_resolution,[status(thm)],[93,92]) ).
tff(95,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q))))
| ~ axiom(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q))))
| ~ axiom(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) ) ),
inference(rewrite,[status(thm)],]) ).
tff(96,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q))))
| ~ axiom(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) ),
inference(quant_inst,[status(thm)],]) ).
tff(97,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q))))
| ~ axiom(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) ),
inference(modus_ponens,[status(thm)],[96,95]) ).
tff(98,plain,
theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))),
inference(unit_resolution,[status(thm)],[97,28,94]) ).
tff(99,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(or(not(p),q),not(q)))
| ~ theorem(or(not(q),or(not(p),q)))
| ~ theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(or(not(p),q),not(q)))
| ~ theorem(or(not(q),or(not(p),q)))
| ~ theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) ) ),
inference(rewrite,[status(thm)],]) ).
tff(100,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(or(not(p),q),not(q)))
| ~ theorem(or(not(q),or(not(p),q)))
| ~ theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) ),
inference(quant_inst,[status(thm)],]) ).
tff(101,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(or(not(p),q),not(q)))
| ~ theorem(or(not(q),or(not(p),q)))
| ~ theorem(implies(or(not(q),or(not(p),q)),or(or(not(p),q),not(q)))) ),
inference(modus_ponens,[status(thm)],[100,99]) ).
tff(102,plain,
( theorem(or(or(not(p),q),not(q)))
| ~ theorem(or(not(q),or(not(p),q))) ),
inference(unit_resolution,[status(thm)],[101,69,98]) ).
tff(103,plain,
~ theorem(or(not(q),or(not(p),q))),
inference(unit_resolution,[status(thm)],[102,85]) ).
tff(104,plain,
$false,
inference(unit_resolution,[status(thm)],[103,33]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.05/0.10 % Problem : LCL321-3 : TPTP v8.1.0. Released v2.3.0.
% 0.05/0.11 % Command : z3_tptp -proof -model -t:%d -file:%s
% 0.10/0.31 % Computer : n014.cluster.edu
% 0.10/0.31 % Model : x86_64 x86_64
% 0.10/0.31 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.31 % Memory : 8042.1875MB
% 0.10/0.31 % OS : Linux 3.10.0-693.el7.x86_64
% 0.10/0.31 % CPULimit : 300
% 0.10/0.31 % WCLimit : 300
% 0.10/0.31 % DateTime : Thu Sep 1 20:19:46 EDT 2022
% 0.10/0.32 % CPUTime :
% 0.10/0.32 Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.10/0.32 Usage: tptp [options] [-file:]file
% 0.10/0.32 -h, -? prints this message.
% 0.10/0.32 -smt2 print SMT-LIB2 benchmark.
% 0.10/0.32 -m, -model generate model.
% 0.10/0.32 -p, -proof generate proof.
% 0.10/0.32 -c, -core generate unsat core of named formulas.
% 0.10/0.32 -st, -statistics display statistics.
% 0.10/0.32 -t:timeout set timeout (in second).
% 0.10/0.32 -smt2status display status in smt2 format instead of SZS.
% 0.10/0.32 -check_status check the status produced by Z3 against annotation in benchmark.
% 0.10/0.32 -<param>:<value> configuration parameter and value.
% 0.10/0.32 -o:<output-file> file to place output in.
% 0.10/0.37 % SZS status Unsatisfiable
% 0.10/0.37 % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------