TSTP Solution File: PUZ020-1 by Z3---4.8.9.0
View Problem
- Process Solution
%------------------------------------------------------------------------------
% File : Z3---4.8.9.0
% Problem : PUZ020-1 : TPTP v8.1.0. Released v1.0.0.
% Transfm : none
% Format : tptp
% Command : z3_tptp -proof -model -t:%d -file:%s
% Computer : n019.cluster.edu
% Model : x86_64 x86_64
% CPU : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory : 8042.1875MB
% OS : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit : 300s
% DateTime : Sun Sep 18 14:10:53 EDT 2022
% Result : Unsatisfiable 0.13s 0.40s
% Output : Proof 0.13s
% Verified :
% SZS Type : Refutation
% Derivation depth : 12
% Number of leaves : 21
% Syntax : Number of formulae : 45 ( 9 unt; 6 typ; 0 def)
% Number of atoms : 122 ( 0 equ)
% Maximal formula atoms : 12 ( 3 avg)
% Number of connectives : 143 ( 62 ~; 70 |; 0 &)
% ( 11 <=>; 0 =>; 0 <=; 0 <~>)
% Maximal formula depth : 8 ( 3 avg)
% Maximal term depth : 2 ( 1 avg)
% Number of FOOLs : 2 ( 2 fml; 0 var)
% Number of types : 2 ( 0 usr)
% Number of type conns : 4 ( 4 >; 0 *; 0 +; 0 <<)
% Number of predicates : 6 ( 5 usr; 1 prp; 0-1 aty)
% Number of functors : 3 ( 3 usr; 2 con; 0-1 aty)
% Number of variables : 17 ( 15 !; 0 ?; 17 :)
% Comments :
%------------------------------------------------------------------------------
tff(a_truth_type,type,
a_truth: $i > $o ).
tff(statement_by_type,type,
statement_by: $i > $i ).
tff(husband_type,type,
husband: $i ).
tff(knight_type,type,
knight: $i > $o ).
tff(person_type,type,
person: $i > $o ).
tff(wife_type,type,
wife: $i ).
tff(1,plain,
( ~ knight(husband)
<=> ~ knight(husband) ),
inference(rewrite,[status(thm)],]) ).
tff(2,axiom,
~ knight(husband),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_knight_husband) ).
tff(3,plain,
~ knight(husband),
inference(modus_ponens,[status(thm)],[2,1]) ).
tff(4,plain,
( person(husband)
<=> person(husband) ),
inference(rewrite,[status(thm)],]) ).
tff(5,axiom,
person(husband),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',husband) ).
tff(6,plain,
person(husband),
inference(modus_ponens,[status(thm)],[5,4]) ).
tff(7,plain,
^ [X: $i] :
refl(
( ( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) )
<=> ( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ) )),
inference(bind,[status(th)],]) ).
tff(8,plain,
( ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) )
<=> ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ) ),
inference(quant_intro,[status(thm)],[7]) ).
tff(9,plain,
( ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) )
<=> ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ) ),
inference(rewrite,[status(thm)],]) ).
tff(10,plain,
^ [X: $i] :
rewrite(
( ( ~ person(X)
| ~ a_truth(statement_by(X))
| knight(X) )
<=> ( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ) )),
inference(bind,[status(th)],]) ).
tff(11,plain,
( ! [X: $i] :
( ~ person(X)
| ~ a_truth(statement_by(X))
| knight(X) )
<=> ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ) ),
inference(quant_intro,[status(thm)],[10]) ).
tff(12,axiom,
! [X: $i] :
( ~ person(X)
| ~ a_truth(statement_by(X))
| knight(X) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knights_make_true_statements) ).
tff(13,plain,
! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ),
inference(modus_ponens,[status(thm)],[12,11]) ).
tff(14,plain,
! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ),
inference(modus_ponens,[status(thm)],[13,9]) ).
tff(15,plain,
! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ),
inference(skolemize,[status(sab)],[14]) ).
tff(16,plain,
! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) ),
inference(modus_ponens,[status(thm)],[15,8]) ).
tff(17,plain,
( ( ~ ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) )
| knight(husband)
| ~ person(husband)
| ~ a_truth(statement_by(husband)) )
<=> ( ~ ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) )
| knight(husband)
| ~ person(husband)
| ~ a_truth(statement_by(husband)) ) ),
inference(rewrite,[status(thm)],]) ).
tff(18,plain,
( ~ ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) )
| knight(husband)
| ~ person(husband)
| ~ a_truth(statement_by(husband)) ),
inference(quant_inst,[status(thm)],]) ).
tff(19,plain,
( ~ ! [X: $i] :
( knight(X)
| ~ person(X)
| ~ a_truth(statement_by(X)) )
| knight(husband)
| ~ person(husband)
| ~ a_truth(statement_by(husband)) ),
inference(modus_ponens,[status(thm)],[18,17]) ).
tff(20,plain,
~ a_truth(statement_by(husband)),
inference(unit_resolution,[status(thm)],[19,16,6,3]) ).
tff(21,plain,
( ( a_truth(statement_by(husband))
| knight(wife) )
<=> ( a_truth(statement_by(husband))
| knight(wife) ) ),
inference(rewrite,[status(thm)],]) ).
tff(22,axiom,
( a_truth(statement_by(husband))
| knight(wife) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_wife_or_truthful_husband) ).
tff(23,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[22,21]) ).
tff(24,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[23,21]) ).
tff(25,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[24,21]) ).
tff(26,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[25,21]) ).
tff(27,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[26,21]) ).
tff(28,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[27,21]) ).
tff(29,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[28,21]) ).
tff(30,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[29,21]) ).
tff(31,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[30,21]) ).
tff(32,plain,
( a_truth(statement_by(husband))
| knight(wife) ),
inference(modus_ponens,[status(thm)],[31,21]) ).
tff(33,plain,
knight(wife),
inference(unit_resolution,[status(thm)],[32,20]) ).
tff(34,plain,
( ( a_truth(statement_by(husband))
| ~ knight(wife) )
<=> ( a_truth(statement_by(husband))
| ~ knight(wife) ) ),
inference(rewrite,[status(thm)],]) ).
tff(35,plain,
( ( ~ knight(wife)
| a_truth(statement_by(husband)) )
<=> ( a_truth(statement_by(husband))
| ~ knight(wife) ) ),
inference(rewrite,[status(thm)],]) ).
tff(36,axiom,
( ~ knight(wife)
| a_truth(statement_by(husband)) ),
file('/export/starexec/sandbox/benchmark/theBenchmark.p',knight_wife_means_truthful_husband) ).
tff(37,plain,
( a_truth(statement_by(husband))
| ~ knight(wife) ),
inference(modus_ponens,[status(thm)],[36,35]) ).
tff(38,plain,
( a_truth(statement_by(husband))
| ~ knight(wife) ),
inference(modus_ponens,[status(thm)],[37,34]) ).
tff(39,plain,
$false,
inference(unit_resolution,[status(thm)],[38,33,20]) ).
%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.07/0.12 % Problem : PUZ020-1 : TPTP v8.1.0. Released v1.0.0.
% 0.07/0.13 % Command : z3_tptp -proof -model -t:%d -file:%s
% 0.13/0.35 % Computer : n019.cluster.edu
% 0.13/0.35 % Model : x86_64 x86_64
% 0.13/0.35 % CPU : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.35 % Memory : 8042.1875MB
% 0.13/0.35 % OS : Linux 3.10.0-693.el7.x86_64
% 0.13/0.35 % CPULimit : 300
% 0.13/0.35 % WCLimit : 300
% 0.13/0.35 % DateTime : Fri Sep 2 18:23:05 EDT 2022
% 0.13/0.35 % CPUTime :
% 0.13/0.35 Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.13/0.35 Usage: tptp [options] [-file:]file
% 0.13/0.35 -h, -? prints this message.
% 0.13/0.35 -smt2 print SMT-LIB2 benchmark.
% 0.13/0.35 -m, -model generate model.
% 0.13/0.35 -p, -proof generate proof.
% 0.13/0.35 -c, -core generate unsat core of named formulas.
% 0.13/0.35 -st, -statistics display statistics.
% 0.13/0.35 -t:timeout set timeout (in second).
% 0.13/0.35 -smt2status display status in smt2 format instead of SZS.
% 0.13/0.35 -check_status check the status produced by Z3 against annotation in benchmark.
% 0.13/0.35 -<param>:<value> configuration parameter and value.
% 0.13/0.35 -o:<output-file> file to place output in.
% 0.13/0.40 % SZS status Unsatisfiable
% 0.13/0.40 % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------