TSTP Solution File: COM001_1 by Z3---4.8.9.0
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Z3---4.8.9.0
% Problem : COM001_1 : TPTP v8.1.0. Released v5.0.0.
% Transfm : none
% Format : tptp
% Command : z3_tptp -proof -model -t:%d -file:%s
% Computer : n028.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 : Tue Sep 6 18:05:40 EDT 2022
% Result : Theorem 0.19s 0.39s
% Output : Proof 0.19s
% Verified :
% SZS Type : Refutation
% Derivation depth : 8
% Number of leaves : 37
% Syntax : Number of formulae : 70 ( 18 unt; 8 typ; 0 def)
% Number of atoms : 332 ( 0 equ)
% Maximal formula atoms : 12 ( 5 avg)
% Number of connectives : 425 ( 186 ~; 158 |; 32 &)
% ( 40 <=>; 9 =>; 0 <=; 0 <~>)
% Maximal formula depth : 10 ( 5 avg)
% Maximal term depth : 2 ( 1 avg)
% Number of FOOLs : 31 ( 31 fml; 0 var)
% Number of types : 1 ( 0 usr)
% Number of type conns : 9 ( 5 >; 4 *; 0 +; 0 <<)
% Number of predicates : 12 ( 11 usr; 4 prp; 0-3 aty)
% Number of functors : 4 ( 4 usr; 3 con; 0-1 aty)
% Number of variables : 169 ( 150 !; 0 ?; 169 :)
% Comments :
%------------------------------------------------------------------------------
tff(succeeds_type,type,
succeeds: ( state * state ) > $o ).
tff(p8_type,type,
p8: state ).
tff(p3_type,type,
p3: state ).
tff(has_type,type,
has: ( state * statement ) > $o ).
tff(goto_type,type,
goto: label > statement ).
tff(loop_type,type,
loop: label ).
tff(labels_type,type,
labels: ( label * state ) > $o ).
tff(follows_type,type,
follows: ( state * state ) > $o ).
tff(1,plain,
( has(p8,goto(loop))
<=> has(p8,goto(loop)) ),
inference(rewrite,[status(thm)],]) ).
tff(2,axiom,
has(p8,goto(loop)),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',state_8) ).
tff(3,plain,
has(p8,goto(loop)),
inference(modus_ponens,[status(thm)],[2,1]) ).
tff(4,plain,
( labels(loop,p3)
<=> labels(loop,p3) ),
inference(rewrite,[status(thm)],]) ).
tff(5,axiom,
labels(loop,p3),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',label_state_3) ).
tff(6,plain,
labels(loop,p3),
inference(modus_ponens,[status(thm)],[5,4]) ).
tff(7,plain,
^ [Goal_state: state,Label: label,Start_state: state] :
refl(
( ( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
<=> ( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) )),
inference(bind,[status(th)],]) ).
tff(8,plain,
( ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
<=> ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) ),
inference(quant_intro,[status(thm)],[7]) ).
tff(9,plain,
^ [Goal_state: state,Label: label,Start_state: state] :
trans(
monotonicity(
trans(
monotonicity(
rewrite(
( ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
<=> ~ ( ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) )),
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
<=> ~ ~ ( ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) )),
rewrite(
( ~ ~ ( ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
<=> ( ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) )),
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
<=> ( ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) )),
( ( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) )
<=> ( ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state)
| succeeds(Goal_state,Start_state) ) )),
rewrite(
( ( ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state)
| succeeds(Goal_state,Start_state) )
<=> ( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) )),
( ( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) )
<=> ( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) )),
inference(bind,[status(th)],]) ).
tff(10,plain,
( ! [Goal_state: state,Label: label,Start_state: state] :
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) )
<=> ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ) ),
inference(quant_intro,[status(thm)],[9]) ).
tff(11,plain,
( ! [Goal_state: state,Label: label,Start_state: state] :
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) )
<=> ! [Goal_state: state,Label: label,Start_state: state] :
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) ) ),
inference(rewrite,[status(thm)],]) ).
tff(12,plain,
^ [Goal_state: state,Label: label,Start_state: state] :
rewrite(
( ( ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
=> succeeds(Goal_state,Start_state) )
<=> ( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) ) )),
inference(bind,[status(th)],]) ).
tff(13,plain,
( ! [Goal_state: state,Label: label,Start_state: state] :
( ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
=> succeeds(Goal_state,Start_state) )
<=> ! [Goal_state: state,Label: label,Start_state: state] :
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) ) ),
inference(quant_intro,[status(thm)],[12]) ).
tff(14,axiom,
! [Goal_state: state,Label: label,Start_state: state] :
( ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
=> succeeds(Goal_state,Start_state) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',goto_success) ).
tff(15,plain,
! [Goal_state: state,Label: label,Start_state: state] :
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) ),
inference(modus_ponens,[status(thm)],[14,13]) ).
tff(16,plain,
! [Goal_state: state,Label: label,Start_state: state] :
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) ),
inference(modus_ponens,[status(thm)],[15,11]) ).
tff(17,plain,
! [Goal_state: state,Label: label,Start_state: state] :
( ~ ( has(Start_state,goto(Label))
& labels(Label,Goal_state) )
| succeeds(Goal_state,Start_state) ),
inference(skolemize,[status(sab)],[16]) ).
tff(18,plain,
! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ),
inference(modus_ponens,[status(thm)],[17,10]) ).
tff(19,plain,
! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) ),
inference(modus_ponens,[status(thm)],[18,8]) ).
tff(20,plain,
( ( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| ~ labels(loop,p3)
| succeeds(p3,p8)
| ~ has(p8,goto(loop)) )
<=> ( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| ~ labels(loop,p3)
| succeeds(p3,p8)
| ~ has(p8,goto(loop)) ) ),
inference(rewrite,[status(thm)],]) ).
tff(21,plain,
( ( succeeds(p3,p8)
| ~ has(p8,goto(loop))
| ~ labels(loop,p3) )
<=> ( ~ labels(loop,p3)
| succeeds(p3,p8)
| ~ has(p8,goto(loop)) ) ),
inference(rewrite,[status(thm)],]) ).
tff(22,plain,
( ( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| succeeds(p3,p8)
| ~ has(p8,goto(loop))
| ~ labels(loop,p3) )
<=> ( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| ~ labels(loop,p3)
| succeeds(p3,p8)
| ~ has(p8,goto(loop)) ) ),
inference(monotonicity,[status(thm)],[21]) ).
tff(23,plain,
( ( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| succeeds(p3,p8)
| ~ has(p8,goto(loop))
| ~ labels(loop,p3) )
<=> ( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| ~ labels(loop,p3)
| succeeds(p3,p8)
| ~ has(p8,goto(loop)) ) ),
inference(transitivity,[status(thm)],[22,20]) ).
tff(24,plain,
( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| succeeds(p3,p8)
| ~ has(p8,goto(loop))
| ~ labels(loop,p3) ),
inference(quant_inst,[status(thm)],]) ).
tff(25,plain,
( ~ ! [Goal_state: state,Label: label,Start_state: state] :
( succeeds(Goal_state,Start_state)
| ~ has(Start_state,goto(Label))
| ~ labels(Label,Goal_state) )
| ~ labels(loop,p3)
| succeeds(p3,p8)
| ~ has(p8,goto(loop)) ),
inference(modus_ponens,[status(thm)],[24,23]) ).
tff(26,plain,
succeeds(p3,p8),
inference(unit_resolution,[status(thm)],[25,19,6,3]) ).
tff(27,plain,
( follows(p8,p3)
<=> follows(p8,p3) ),
inference(rewrite,[status(thm)],]) ).
tff(28,axiom,
follows(p8,p3),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',transition_3_to_8) ).
tff(29,plain,
follows(p8,p3),
inference(modus_ponens,[status(thm)],[28,27]) ).
tff(30,plain,
^ [Start_state: state,Goal_state: state] :
refl(
( ( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) )
<=> ( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ) )),
inference(bind,[status(th)],]) ).
tff(31,plain,
( ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) )
<=> ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ) ),
inference(quant_intro,[status(thm)],[30]) ).
tff(32,plain,
( ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) )
<=> ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ) ),
inference(rewrite,[status(thm)],]) ).
tff(33,plain,
^ [Start_state: state,Goal_state: state] :
rewrite(
( ( follows(Goal_state,Start_state)
=> succeeds(Goal_state,Start_state) )
<=> ( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ) )),
inference(bind,[status(th)],]) ).
tff(34,plain,
( ! [Start_state: state,Goal_state: state] :
( follows(Goal_state,Start_state)
=> succeeds(Goal_state,Start_state) )
<=> ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ) ),
inference(quant_intro,[status(thm)],[33]) ).
tff(35,axiom,
! [Start_state: state,Goal_state: state] :
( follows(Goal_state,Start_state)
=> succeeds(Goal_state,Start_state) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',direct_success) ).
tff(36,plain,
! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ),
inference(modus_ponens,[status(thm)],[35,34]) ).
tff(37,plain,
! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ),
inference(modus_ponens,[status(thm)],[36,32]) ).
tff(38,plain,
! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ),
inference(skolemize,[status(sab)],[37]) ).
tff(39,plain,
! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) ),
inference(modus_ponens,[status(thm)],[38,31]) ).
tff(40,plain,
( ( ~ ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) )
| ~ follows(p8,p3)
| succeeds(p8,p3) )
<=> ( ~ ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) )
| ~ follows(p8,p3)
| succeeds(p8,p3) ) ),
inference(rewrite,[status(thm)],]) ).
tff(41,plain,
( ~ ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) )
| ~ follows(p8,p3)
| succeeds(p8,p3) ),
inference(quant_inst,[status(thm)],]) ).
tff(42,plain,
( ~ ! [Start_state: state,Goal_state: state] :
( ~ follows(Goal_state,Start_state)
| succeeds(Goal_state,Start_state) )
| ~ follows(p8,p3)
| succeeds(p8,p3) ),
inference(modus_ponens,[status(thm)],[41,40]) ).
tff(43,plain,
succeeds(p8,p3),
inference(unit_resolution,[status(thm)],[42,39,29]) ).
tff(44,plain,
( ~ succeeds(p3,p3)
<=> ~ succeeds(p3,p3) ),
inference(rewrite,[status(thm)],]) ).
tff(45,axiom,
~ succeeds(p3,p3),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_there_is_a_loop_through_p3) ).
tff(46,plain,
~ succeeds(p3,p3),
inference(modus_ponens,[status(thm)],[45,44]) ).
tff(47,plain,
( ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) )
<=> ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) ),
inference(rewrite,[status(thm)],]) ).
tff(48,plain,
^ [Start_state: state,Intermediate_state: state,Goal_state: state] :
trans(
monotonicity(
trans(
monotonicity(
rewrite(
( ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
<=> ~ ( ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) )),
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
<=> ~ ~ ( ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) )),
rewrite(
( ~ ~ ( ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) )
<=> ( ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) )),
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
<=> ( ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) )),
( ( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) )
<=> ( ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state)
| succeeds(Goal_state,Start_state) ) )),
rewrite(
( ( ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state)
| succeeds(Goal_state,Start_state) )
<=> ( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) )),
( ( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) )
<=> ( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) )),
inference(bind,[status(th)],]) ).
tff(49,plain,
( ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) )
<=> ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ) ),
inference(quant_intro,[status(thm)],[48]) ).
tff(50,plain,
( ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) )
<=> ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) ) ),
inference(rewrite,[status(thm)],]) ).
tff(51,plain,
^ [Start_state: state,Intermediate_state: state,Goal_state: state] :
rewrite(
( ( ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
=> succeeds(Goal_state,Start_state) )
<=> ( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) ) )),
inference(bind,[status(th)],]) ).
tff(52,plain,
( ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
=> succeeds(Goal_state,Start_state) )
<=> ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) ) ),
inference(quant_intro,[status(thm)],[51]) ).
tff(53,axiom,
! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
=> succeeds(Goal_state,Start_state) ),
file('/export/starexec/sandbox2/benchmark/theBenchmark.p',transitivity_of_success) ).
tff(54,plain,
! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) ),
inference(modus_ponens,[status(thm)],[53,52]) ).
tff(55,plain,
! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) ),
inference(modus_ponens,[status(thm)],[54,50]) ).
tff(56,plain,
! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( ~ ( succeeds(Goal_state,Intermediate_state)
& succeeds(Intermediate_state,Start_state) )
| succeeds(Goal_state,Start_state) ),
inference(skolemize,[status(sab)],[55]) ).
tff(57,plain,
! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ),
inference(modus_ponens,[status(thm)],[56,49]) ).
tff(58,plain,
! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) ),
inference(modus_ponens,[status(thm)],[57,47]) ).
tff(59,plain,
( ( ~ ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) )
| succeeds(p3,p3)
| ~ succeeds(p3,p8)
| ~ succeeds(p8,p3) )
<=> ( ~ ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) )
| succeeds(p3,p3)
| ~ succeeds(p3,p8)
| ~ succeeds(p8,p3) ) ),
inference(rewrite,[status(thm)],]) ).
tff(60,plain,
( ~ ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) )
| succeeds(p3,p3)
| ~ succeeds(p3,p8)
| ~ succeeds(p8,p3) ),
inference(quant_inst,[status(thm)],]) ).
tff(61,plain,
( ~ ! [Start_state: state,Intermediate_state: state,Goal_state: state] :
( succeeds(Goal_state,Start_state)
| ~ succeeds(Goal_state,Intermediate_state)
| ~ succeeds(Intermediate_state,Start_state) )
| succeeds(p3,p3)
| ~ succeeds(p3,p8)
| ~ succeeds(p8,p3) ),
inference(modus_ponens,[status(thm)],[60,59]) ).
tff(62,plain,
$false,
inference(unit_resolution,[status(thm)],[61,58,46,43,26]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.12 % Problem : COM001_1 : TPTP v8.1.0. Released v5.0.0.
% 0.06/0.13 % Command : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.34 % Computer : n028.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 : Tue Aug 30 13:21:33 EDT 2022
% 0.13/0.34 % CPUTime :
% 0.13/0.34 Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.13/0.34 Usage: tptp [options] [-file:]file
% 0.13/0.34 -h, -? prints this message.
% 0.13/0.34 -smt2 print SMT-LIB2 benchmark.
% 0.13/0.34 -m, -model generate model.
% 0.13/0.34 -p, -proof generate proof.
% 0.13/0.34 -c, -core generate unsat core of named formulas.
% 0.13/0.34 -st, -statistics display statistics.
% 0.13/0.34 -t:timeout set timeout (in second).
% 0.13/0.34 -smt2status display status in smt2 format instead of SZS.
% 0.13/0.34 -check_status check the status produced by Z3 against annotation in benchmark.
% 0.13/0.34 -<param>:<value> configuration parameter and value.
% 0.13/0.34 -o:<output-file> file to place output in.
% 0.19/0.39 % SZS status Theorem
% 0.19/0.39 % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------