↑ Up

FindProof---0.1.UNS-Prf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : FindProof---0.1
% Problem  : PUZ035-4 : TPTP v9.3.1. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_findproof /export/starexec/sandbox2/benchmark/theBenchmark.p 300

% Computer : n008.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 : Fri Sep 25 02:31:56 PM UTC 2026

% Result   : Unsatisfiable 4.12s 1.10s
% Output   : Proof 4.12s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   23
%            Number of leaves      :    5
% Syntax   : Number of formulae    :   39 (  11 unt;   0 def)
%            Number of atoms       :   82 (   0 equ)
%            Maximal formula atoms :    4 (   2 avg)
%            Number of connectives :   68 (  25   ~;  43   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of predicates  :    4 (   3 usr;   1 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   4 con; 0-2 aty)
%            Number of variables   :   25 (  15 sgn   8   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
cnf(f4,axiom,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',one_is_knight_answer) ).

fof(f4_nnf,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(nnf_transformation,[status(thm)],[f4]) ).

fof(f4_sk,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(skolemisation,[status(esa)],[f4_nnf]) ).

cnf(c4,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(cnf_transformation,[status(esa)],[f4_sk]) ).

cnf(f0,axiom,
    ( truth(isa(P,knave))
    | truth(isa(P,knight))
    | ~ person(P) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).

fof(f0_nnf,plain,
    ! [P] :
      ( truth(isa(P,knave))
      | truth(isa(P,knight))
      | ~ person(P) ),
    inference(nnf_transformation,[status(thm)],[f0]) ).

fof(f0_sk,plain,
    ! [P] :
      ( truth(isa(P,knave))
      | truth(isa(P,knight))
      | ~ person(P) ),
    inference(skolemisation,[status(esa)],[f0_nnf]) ).

cnf(c0,plain,
    ( truth(isa(X0,knave))
    | truth(isa(X0,knight))
    | ~ person(X0) ),
    inference(cnf_transformation,[status(esa)],[f0_sk]) ).

cnf(f12,axiom,
    person(other),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',other_person) ).

fof(f12_nnf,plain,
    person(other),
    inference(nnf_transformation,[status(thm)],[f12]) ).

cnf(c12,plain,
    person(other),
    inference(cnf_transformation,[status(esa)],[f12_nnf]) ).

cnf(p15,plain,
    ( truth(isa(other,knave))
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[c0,c12]) ).

cnf(f11,axiom,
    person(asked),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',asked_person) ).

fof(f11_nnf,plain,
    person(asked),
    inference(nnf_transformation,[status(thm)],[f11]) ).

cnf(c11,plain,
    person(asked),
    inference(cnf_transformation,[status(esa)],[f11_nnf]) ).

cnf(p14,plain,
    ( truth(isa(asked,knave))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[c0,c11]) ).

cnf(f13,negated_conjecture,
    ( ~ says(asked,S)
    | ~ truth(isa(other,P2))
    | ~ truth(isa(asked,P1)) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).

fof(f13_nnf,plain,
    ! [P1,P2,S] :
      ( ~ says(asked,S)
      | ~ truth(isa(other,P2))
      | ~ truth(isa(asked,P1)) ),
    inference(nnf_transformation,[status(thm)],[f13]) ).

fof(f13_sk,plain,
    ! [P1,P2,S] :
      ( ~ says(asked,S)
      | ~ truth(isa(other,P2))
      | ~ truth(isa(asked,P1)) ),
    inference(skolemisation,[status(esa)],[f13_nnf]) ).

cnf(c13,plain,
    ( ~ says(asked,X2)
    | ~ truth(isa(other,X1))
    | ~ truth(isa(asked,X0)) ),
    inference(cnf_transformation,[status(esa)],[f13_sk]) ).

cnf(p16,plain,
    ( ~ says(asked,X1)
    | ~ truth(isa(other,X0))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[p14,c13]) ).

cnf(p23,plain,
    ( ~ says(asked,X0)
    | truth(isa(asked,knight))
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[p15,p16]) ).

cnf(p26,plain,
    ( truth(isa(asked,knight))
    | truth(isa(other,knight))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(resolution,[status(thm)],[c4,p23]) ).

cnf(p29,plain,
    ( truth(isa(asked,knight))
    | truth(isa(other,knight))
    | truth(isa(asked,knight))
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[p26,p23]) ).

cnf(p31,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knight))
    | truth(isa(other,knight)) ),
    inference(factoring,[status(thm)],[p29]) ).

cnf(p33,plain,
    ( truth(isa(asked,knight))
    | truth(isa(other,knight)) ),
    inference(factoring,[status(thm)],[p31]) ).

cnf(p38,plain,
    ( ~ says(asked,X0)
    | truth(isa(asked,knight))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[p33,p16]) ).

cnf(p40,plain,
    ( ~ says(asked,X0)
    | truth(isa(asked,knight)) ),
    inference(factoring,[status(thm)],[p38]) ).

cnf(p41,plain,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[p40,c4]) ).

cnf(p44,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[p41,p40]) ).

cnf(p45,plain,
    truth(isa(asked,knight)),
    inference(factoring,[status(thm)],[p44]) ).

cnf(p46,plain,
    ( ~ says(asked,X1)
    | ~ truth(isa(other,X0)) ),
    inference(resolution,[status(thm)],[p45,c13]) ).

cnf(p51,plain,
    ( truth(isa(other,knight))
    | ~ says(asked,X0) ),
    inference(resolution,[status(thm)],[p46,p15]) ).

cnf(p52,plain,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[p51,c4]) ).

cnf(p55,plain,
    ( truth(isa(other,knight))
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[p52,p51]) ).

cnf(p57,plain,
    truth(isa(other,knight)),
    inference(factoring,[status(thm)],[p55]) ).

cnf(p62,plain,
    ~ says(asked,X0),
    inference(resolution,[status(thm)],[p57,p46]) ).

cnf(p63,plain,
    says(asked,or(isa(asked,knight),isa(other,knight))),
    inference(resolution,[status(thm)],[p62,c4]) ).

cnf(p66,plain,
    $false,
    inference(resolution,[status(thm)],[p63,p62]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : PUZ035-4 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.04  % Command  : run_findproof /export/starexec/sandbox2/benchmark/theBenchmark.p 300
% 0.10/0.36  % Computer : n008.cluster.edu
% 0.10/0.36  % Model    : x86_64 x86_64
% 0.10/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.36  % Memory   : 8046.5625MB
% 0.10/0.36  % OS       : Linux 6.8.0-71-generic
% 0.10/0.36  % CPULimit : 300
% 0.10/0.36  % WCLimit  : 300
% 0.10/0.36  % DateTime : Thu Sep 24 06:44:54 UTC 2026
% 0.10/0.37  % CPUTime  : 
% 0.10/0.37  Running run_findproof /export/starexec/sandbox2/benchmark/theBenchmark.p 300
% 4.12/1.10  % SZS status Unsatisfiable for /export/starexec/sandbox2/benchmark/theBenchmark.p
% 4.12/1.10  % SZS output start Proof for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
%------------------------------------------------------------------------------