%------------------------------------------------------------------------------
% File : Z3---4.15.1
% Problem : LCL261-3 : TPTP v9.3.1. Released v2.3.0.
% Transfm : NO INFORMATION
% Format : NO INFORMATION
% Command : run_E %s %d THM
% Computer : n020.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8046.5625MB
% OS : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Mon Sep 7 02:59:42 PM UTC 2026
% Result : Unsatisfiable 1.17s 1.41s
% Output : Proof 1.17s
% Verified :
% SZS Type : Refutation
% Derivation depth : 15
% Number of leaves : 58
% Syntax : Number of formulae : 155 ( 66 unt; 0 typ; 0 def)
% Number of atoms : 492 ( 41 equ)
% Maximal formula atoms : 12 ( 3 avg)
% Number of connectives : 617 ( 288 ~; 278 |; 0 &)
% ( 51 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 9 ( 4 avg)
% Maximal term depth : 8 ( 2 avg)
% Number of FOOLs : 8 ( 8 fml; 0 var)
% Number of types : 2 ( 0 usr)
% Number of type conns : 0 ( 0 >; 0 *; 0 +; 0 <<)
% Number of predicates : 6 ( 4 usr; 1 prp; 0-2 aty)
% Number of functors : 6 ( 6 usr; 2 con; 0-2 aty)
% Number of variables : 246 ( 229 !; 0 ?; 246 :)
% Comments :
%------------------------------------------------------------------------------
tff(theorem_type,type,
theorem: $i > $o ).
tff(implies_type,type,
implies: ( $i * $i ) > $i ).
tff(or_type,type,
or: ( $i * $i ) > $i ).
tff(and_type,type,
and: ( $i * $i ) > $i ).
tff(q_type,type,
q: $i ).
tff(p_type,type,
p: $i ).
tff(not_type,type,
not: $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/sandbox/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(or(and(p,q),not(q)),or(not(q),and(p,q))) = or(not(or(and(p,q),not(q))),or(not(q),and(p,q))) ) ),
inference(quant_inst,[status(thm)],[]) ).
tff(9,plain,
implies(or(and(p,q),not(q)),or(not(q),and(p,q))) = or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),
inference(unit_resolution,[status(thm)],[8,7]) ).
tff(10,plain,
^ [Q: $i,P: $i] :
refl(( ( and(P,Q) = not(or(not(P),not(Q))) )
<=> ( and(P,Q) = not(or(not(P),not(Q))) ) )),
inference(bind,[status(th)],[]) ).
tff(11,plain,
( ! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) )
<=> ! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) ) ),
inference(quant_intro,[status(thm)],[10]) ).
tff(12,plain,
( ! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) )
<=> ! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(13,axiom,
! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) ),
file('/export/starexec/sandbox/benchmark/Axioms/LCL004-1.ax',and_defn) ).
tff(14,plain,
! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) ),
inference(modus_ponens,[status(thm)],[13,12]) ).
tff(15,plain,
! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) ),
inference(skolemize,[status(sab)],[14]) ).
tff(16,plain,
! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) ),
inference(modus_ponens,[status(thm)],[15,11]) ).
tff(17,plain,
( ~ ! [Q: $i,P: $i] : ( and(P,Q) = not(or(not(P),not(Q))) )
| ( and(p,q) = not(or(not(p),not(q))) ) ),
inference(quant_inst,[status(thm)],[]) ).
tff(18,plain,
and(p,q) = not(or(not(p),not(q))),
inference(unit_resolution,[status(thm)],[17,16]) ).
tff(19,plain,
or(and(p,q),not(q)) = or(not(or(not(p),not(q))),not(q)),
inference(monotonicity,[status(thm)],[18]) ).
tff(20,plain,
or(not(or(not(p),not(q))),not(q)) = or(and(p,q),not(q)),
inference(symmetry,[status(thm)],[19]) ).
tff(21,plain,
implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))) = implies(or(and(p,q),not(q)),or(not(q),and(p,q))),
inference(monotonicity,[status(thm)],[20]) ).
tff(22,plain,
implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))) = or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),
inference(transitivity,[status(thm)],[21,9]) ).
tff(23,plain,
implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))) = implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))),
inference(monotonicity,[status(thm)],[22]) ).
tff(24,plain,
( theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))))
<=> theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(monotonicity,[status(thm)],[23]) ).
tff(25,plain,
( theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))))
<=> theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(symmetry,[status(thm)],[24]) ).
tff(26,plain,
( ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))))
<=> ~ theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(monotonicity,[status(thm)],[25]) ).
tff(27,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(28,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)],[27]) ).
tff(29,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(30,axiom,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',axiom_1_5) ).
tff(31,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
inference(modus_ponens,[status(thm)],[30,29]) ).
tff(32,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
inference(skolemize,[status(sab)],[31]) ).
tff(33,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C)))),
inference(modus_ponens,[status(thm)],[32,28]) ).
tff(34,plain,
( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(or(A,or(B,C)),or(B,or(A,C))))
| axiom(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(35,plain,
axiom(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))),
inference(unit_resolution,[status(thm)],[34,33]) ).
tff(36,plain,
^ [X: $i] :
refl(( ( theorem(X)
| ~ axiom(X) )
<=> ( theorem(X)
| ~ axiom(X) ) )),
inference(bind,[status(th)],[]) ).
tff(37,plain,
( ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
<=> ! [X: $i] :
( theorem(X)
| ~ axiom(X) ) ),
inference(quant_intro,[status(thm)],[36]) ).
tff(38,plain,
( ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
<=> ! [X: $i] :
( theorem(X)
| ~ axiom(X) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(39,axiom,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',rule_1) ).
tff(40,plain,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
inference(modus_ponens,[status(thm)],[39,38]) ).
tff(41,plain,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
inference(skolemize,[status(sab)],[40]) ).
tff(42,plain,
! [X: $i] :
( theorem(X)
| ~ axiom(X) ),
inference(modus_ponens,[status(thm)],[41,37]) ).
tff(43,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q)))))
| ~ axiom(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q)))))
| ~ axiom(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(44,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q)))))
| ~ axiom(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(45,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q)))))
| ~ axiom(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ),
inference(modus_ponens,[status(thm)],[44,43]) ).
tff(46,plain,
theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))),
inference(unit_resolution,[status(thm)],[45,42,35]) ).
tff(47,plain,
( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
| ( implies(or(not(p),not(q)),or(not(q),not(p))) = or(not(or(not(p),not(q))),or(not(q),not(p))) ) ),
inference(quant_inst,[status(thm)],[]) ).
tff(48,plain,
implies(or(not(p),not(q)),or(not(q),not(p))) = or(not(or(not(p),not(q))),or(not(q),not(p))),
inference(unit_resolution,[status(thm)],[47,7]) ).
tff(49,plain,
or(not(or(not(p),not(q))),or(not(q),not(p))) = implies(or(not(p),not(q)),or(not(q),not(p))),
inference(symmetry,[status(thm)],[48]) ).
tff(50,plain,
( theorem(or(not(or(not(p),not(q))),or(not(q),not(p))))
<=> theorem(implies(or(not(p),not(q)),or(not(q),not(p)))) ),
inference(monotonicity,[status(thm)],[49]) ).
tff(51,plain,
( theorem(implies(or(not(p),not(q)),or(not(q),not(p))))
<=> theorem(or(not(or(not(p),not(q))),or(not(q),not(p)))) ),
inference(symmetry,[status(thm)],[50]) ).
tff(52,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(53,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)],[52]) ).
tff(54,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(55,axiom,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',axiom_1_4) ).
tff(56,plain,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
inference(modus_ponens,[status(thm)],[55,54]) ).
tff(57,plain,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
inference(skolemize,[status(sab)],[56]) ).
tff(58,plain,
! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A))),
inference(modus_ponens,[status(thm)],[57,53]) ).
tff(59,plain,
( ~ ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A)))
| axiom(implies(or(not(p),not(q)),or(not(q),not(p)))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(60,plain,
axiom(implies(or(not(p),not(q)),or(not(q),not(p)))),
inference(unit_resolution,[status(thm)],[59,58]) ).
tff(61,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),not(q)),or(not(q),not(p))))
| ~ axiom(implies(or(not(p),not(q)),or(not(q),not(p)))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),not(q)),or(not(q),not(p))))
| ~ axiom(implies(or(not(p),not(q)),or(not(q),not(p)))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(62,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),not(q)),or(not(q),not(p))))
| ~ axiom(implies(or(not(p),not(q)),or(not(q),not(p)))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(63,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(p),not(q)),or(not(q),not(p))))
| ~ axiom(implies(or(not(p),not(q)),or(not(q),not(p)))) ),
inference(modus_ponens,[status(thm)],[62,61]) ).
tff(64,plain,
theorem(implies(or(not(p),not(q)),or(not(q),not(p)))),
inference(unit_resolution,[status(thm)],[63,42,60]) ).
tff(65,plain,
theorem(or(not(or(not(p),not(q))),or(not(q),not(p)))),
inference(modus_ponens,[status(thm)],[64,51]) ).
tff(66,plain,
( ~ ! [Y: $i,X: $i] : ( implies(X,Y) = or(not(X),Y) )
| ( implies(or(not(q),not(p)),or(not(p),not(q))) = or(not(or(not(q),not(p))),or(not(p),not(q))) ) ),
inference(quant_inst,[status(thm)],[]) ).
tff(67,plain,
implies(or(not(q),not(p)),or(not(p),not(q))) = or(not(or(not(q),not(p))),or(not(p),not(q))),
inference(unit_resolution,[status(thm)],[66,7]) ).
tff(68,plain,
implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))) = implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))),
inference(monotonicity,[status(thm)],[67]) ).
tff(69,plain,
( theorem(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))))
<=> theorem(implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ),
inference(monotonicity,[status(thm)],[68]) ).
tff(70,plain,
^ [B: $i,A: $i,C: $i] :
refl(( axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
<=> axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))) )),
inference(bind,[status(th)],[]) ).
tff(71,plain,
( ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
<=> ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))) ),
inference(quant_intro,[status(thm)],[70]) ).
tff(72,plain,
( ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
<=> ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))) ),
inference(rewrite,[status(thm)],[]) ).
tff(73,axiom,
! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',axiom_1_6) ).
tff(74,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
inference(modus_ponens,[status(thm)],[73,72]) ).
tff(75,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
inference(skolemize,[status(sab)],[74]) ).
tff(76,plain,
! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B)))),
inference(modus_ponens,[status(thm)],[75,71]) ).
tff(77,plain,
( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
| axiom(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(78,plain,
axiom(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))),
inference(unit_resolution,[status(thm)],[77,76]) ).
tff(79,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))))
| ~ axiom(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))))
| ~ axiom(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(80,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))))
| ~ axiom(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(81,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))))
| ~ axiom(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ),
inference(modus_ponens,[status(thm)],[80,79]) ).
tff(82,plain,
theorem(implies(implies(or(not(q),not(p)),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))),
inference(unit_resolution,[status(thm)],[81,42,78]) ).
tff(83,plain,
theorem(implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))),
inference(modus_ponens,[status(thm)],[82,69]) ).
tff(84,plain,
or(not(or(not(q),not(p))),or(not(p),not(q))) = implies(or(not(q),not(p)),or(not(p),not(q))),
inference(symmetry,[status(thm)],[67]) ).
tff(85,plain,
( theorem(or(not(or(not(q),not(p))),or(not(p),not(q))))
<=> theorem(implies(or(not(q),not(p)),or(not(p),not(q)))) ),
inference(monotonicity,[status(thm)],[84]) ).
tff(86,plain,
( theorem(implies(or(not(q),not(p)),or(not(p),not(q))))
<=> theorem(or(not(or(not(q),not(p))),or(not(p),not(q)))) ),
inference(symmetry,[status(thm)],[85]) ).
tff(87,plain,
( ~ ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A)))
| axiom(implies(or(not(q),not(p)),or(not(p),not(q)))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(88,plain,
axiom(implies(or(not(q),not(p)),or(not(p),not(q)))),
inference(unit_resolution,[status(thm)],[87,58]) ).
tff(89,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),not(p)),or(not(p),not(q))))
| ~ axiom(implies(or(not(q),not(p)),or(not(p),not(q)))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),not(p)),or(not(p),not(q))))
| ~ axiom(implies(or(not(q),not(p)),or(not(p),not(q)))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(90,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),not(p)),or(not(p),not(q))))
| ~ axiom(implies(or(not(q),not(p)),or(not(p),not(q)))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(91,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(not(q),not(p)),or(not(p),not(q))))
| ~ axiom(implies(or(not(q),not(p)),or(not(p),not(q)))) ),
inference(modus_ponens,[status(thm)],[90,89]) ).
tff(92,plain,
theorem(implies(or(not(q),not(p)),or(not(p),not(q)))),
inference(unit_resolution,[status(thm)],[91,42,88]) ).
tff(93,plain,
theorem(or(not(or(not(q),not(p))),or(not(p),not(q)))),
inference(modus_ponens,[status(thm)],[92,86]) ).
tff(94,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(95,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)],[94]) ).
tff(96,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(97,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(98,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)],[97]) ).
tff(99,axiom,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(implies(Y,X))
| ~ theorem(Y) ),
file('/export/starexec/sandbox/benchmark/Axioms/LCL004-0.ax',rule_2) ).
tff(100,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(modus_ponens,[status(thm)],[99,98]) ).
tff(101,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(modus_ponens,[status(thm)],[100,96]) ).
tff(102,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(skolemize,[status(sab)],[101]) ).
tff(103,plain,
! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) ),
inference(modus_ponens,[status(thm)],[102,95]) ).
tff(104,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))
| ~ theorem(or(not(or(not(q),not(p))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))
| ~ theorem(or(not(or(not(q),not(p))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(105,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))
| ~ theorem(or(not(or(not(q),not(p))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(106,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))
| ~ theorem(or(not(or(not(q),not(p))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ),
inference(modus_ponens,[status(thm)],[105,104]) ).
tff(107,plain,
( theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))
| ~ theorem(or(not(or(not(q),not(p))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(q),not(p))),or(not(p),not(q))),implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q)))))) ),
inference(unit_resolution,[status(thm)],[106,103]) ).
tff(108,plain,
theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))),
inference(unit_resolution,[status(thm)],[107,93,83]) ).
tff(109,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(q),not(p))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(q),not(p))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(110,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(q),not(p))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(111,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(q),not(p))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))) ),
inference(modus_ponens,[status(thm)],[110,109]) ).
tff(112,plain,
( theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(q),not(p))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(q),not(p))),or(not(or(not(p),not(q))),or(not(p),not(q))))) ),
inference(unit_resolution,[status(thm)],[111,103]) ).
tff(113,plain,
theorem(or(not(or(not(p),not(q))),or(not(p),not(q)))),
inference(unit_resolution,[status(thm)],[112,108,65]) ).
tff(114,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(115,plain,
( ( theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) )
<=> ( ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(116,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ) ),
inference(monotonicity,[status(thm)],[115]) ).
tff(117,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ) ),
inference(transitivity,[status(thm)],[116,114]) ).
tff(118,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(119,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ),
inference(modus_ponens,[status(thm)],[118,117]) ).
tff(120,plain,
( ~ theorem(or(not(or(not(p),not(q))),or(not(p),not(q))))
| theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(or(not(p),not(q))),or(not(p),not(q))),or(not(p),or(not(or(not(p),not(q))),not(q))))) ),
inference(unit_resolution,[status(thm)],[119,103]) ).
tff(121,plain,
theorem(or(not(p),or(not(or(not(p),not(q))),not(q)))),
inference(unit_resolution,[status(thm)],[120,113,46]) ).
tff(122,plain,
( ~ theorem(or(not(p),or(not(q),and(p,q))))
<=> ~ theorem(or(not(p),or(not(q),and(p,q)))) ),
inference(rewrite,[status(thm)],[]) ).
tff(123,axiom,
~ theorem(or(not(p),or(not(q),and(p,q)))),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_this) ).
tff(124,plain,
~ theorem(or(not(p),or(not(q),and(p,q)))),
inference(modus_ponens,[status(thm)],[123,122]) ).
tff(125,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(not(q),and(p,q))))
| ~ theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(not(q),and(p,q))))
| ~ theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(126,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(not(q),and(p,q))))
| ~ theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(127,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(or(not(p),or(not(q),and(p,q))))
| ~ theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))) ),
inference(modus_ponens,[status(thm)],[126,125]) ).
tff(128,plain,
( ~ theorem(or(not(p),or(not(or(not(p),not(q))),not(q))))
| ~ theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))) ),
inference(unit_resolution,[status(thm)],[127,103,124]) ).
tff(129,plain,
~ theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))),
inference(unit_resolution,[status(thm)],[128,121]) ).
tff(130,plain,
or(not(or(and(p,q),not(q))),or(not(q),and(p,q))) = implies(or(and(p,q),not(q)),or(not(q),and(p,q))),
inference(symmetry,[status(thm)],[9]) ).
tff(131,plain,
( theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
<=> theorem(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))) ),
inference(monotonicity,[status(thm)],[130]) ).
tff(132,plain,
( theorem(implies(or(and(p,q),not(q)),or(not(q),and(p,q))))
<=> theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q)))) ),
inference(symmetry,[status(thm)],[131]) ).
tff(133,plain,
( ~ ! [B: $i,A: $i] : axiom(implies(or(A,B),or(B,A)))
| axiom(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(134,plain,
axiom(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))),
inference(unit_resolution,[status(thm)],[133,58]) ).
tff(135,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(and(p,q),not(q)),or(not(q),and(p,q))))
| ~ axiom(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(and(p,q),not(q)),or(not(q),and(p,q))))
| ~ axiom(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(136,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(and(p,q),not(q)),or(not(q),and(p,q))))
| ~ axiom(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(137,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(or(and(p,q),not(q)),or(not(q),and(p,q))))
| ~ axiom(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))) ),
inference(modus_ponens,[status(thm)],[136,135]) ).
tff(138,plain,
theorem(implies(or(and(p,q),not(q)),or(not(q),and(p,q)))),
inference(unit_resolution,[status(thm)],[137,42,134]) ).
tff(139,plain,
theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q)))),
inference(modus_ponens,[status(thm)],[138,132]) ).
tff(140,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(141,plain,
( ( theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) )
<=> ( ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(142,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ) ),
inference(monotonicity,[status(thm)],[141]) ).
tff(143,plain,
( ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) )
<=> ( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ) ),
inference(transitivity,[status(thm)],[142,140]) ).
tff(144,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(145,plain,
( ~ ! [Y: $i,X: $i] :
( theorem(X)
| ~ theorem(Y)
| ~ theorem(implies(Y,X)) )
| ~ theorem(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))))
| theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(modus_ponens,[status(thm)],[144,143]) ).
tff(146,plain,
( theorem(implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))
| ~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(unit_resolution,[status(thm)],[145,103,139]) ).
tff(147,plain,
~ theorem(implies(or(not(or(and(p,q),not(q))),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))),
inference(unit_resolution,[status(thm)],[146,129]) ).
tff(148,plain,
~ theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))),
inference(modus_ponens,[status(thm)],[147,26]) ).
tff(149,plain,
( ~ ! [B: $i,A: $i,C: $i] : axiom(implies(implies(A,B),implies(or(C,A),or(C,B))))
| axiom(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(150,plain,
axiom(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))),
inference(unit_resolution,[status(thm)],[149,76]) ).
tff(151,plain,
( ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))))
| ~ axiom(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) )
<=> ( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))))
| ~ axiom(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ) ),
inference(rewrite,[status(thm)],[]) ).
tff(152,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))))
| ~ axiom(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(quant_inst,[status(thm)],[]) ).
tff(153,plain,
( ~ ! [X: $i] :
( theorem(X)
| ~ axiom(X) )
| theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q))))))
| ~ axiom(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))) ),
inference(modus_ponens,[status(thm)],[152,151]) ).
tff(154,plain,
theorem(implies(implies(or(not(or(not(p),not(q))),not(q)),or(not(q),and(p,q))),implies(or(not(p),or(not(or(not(p),not(q))),not(q))),or(not(p),or(not(q),and(p,q)))))),
inference(unit_resolution,[status(thm)],[153,42,150]) ).
tff(155,plain,
$false,
inference(unit_resolution,[status(thm)],[154,148]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03 % Problem : LCL261-3 : TPTP v9.3.1. Released v2.3.0.
% 0.00/0.03 % Command : run_E %s %d THM
% 0.09/0.34 % Computer : n020.cluster.edu
% 0.09/0.34 % Model : x86_64 x86_64
% 0.09/0.34 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.09/0.34 % Memory : 8046.5625MB
% 0.09/0.34 % OS : Linux 6.8.0-71-generic
% 0.09/0.34 % CPULimit : 300
% 0.09/0.34 % WCLimit : 300
% 0.09/0.34 % DateTime : Fri Sep 4 22:47:29 UTC 2026
% 0.09/0.34 % CPUTime :
% 1.17/1.41 % SZS status Unsatisfiable
% 1.17/1.41 % SZS output start Proof
% See solution above
% 1.17/1.44 % E exiting
%------------------------------------------------------------------------------