↑ Up

FindProof---0.1.UNS-Prf.s

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

% Computer : n003.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 5.64s 1.49s
% Output   : Proof 5.64s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   19
%            Number of leaves      :    7
% Syntax   : Number of formulae    :   58 (  11 unt;   0 def)
%            Number of atoms       :  131 (   0 equ)
%            Maximal formula atoms :    4 (   2 avg)
%            Number of connectives :  121 (  48   ~;  73   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of predicates  :    5 (   4 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   6 con; 0-0 aty)
%            Number of variables   :   39 (  23 sgn  12   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
cnf(f0,axiom,
    ( isa(X,knave)
    | isa(X,knight)
    | ~ person(X) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).

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

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

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

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

fof(f13_nnf,plain,
    person(other),
    inference(nnf_transformation,[status(thm)],[f13]) ).

cnf(c13,plain,
    person(other),
    inference(cnf_transformation,[status(esa)],[f13_nnf]) ).

cnf(p16,plain,
    ( isa(other,knave)
    | isa(other,knight) ),
    inference(resolution,[status(thm)],[c0,c13]) ).

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

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

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

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

cnf(f11,axiom,
    ( response(no)
    | response(yes) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',two_answers) ).

fof(f11_nnf,plain,
    ( response(no)
    | response(yes) ),
    inference(nnf_transformation,[status(thm)],[f11]) ).

fof(f11_sk,plain,
    ( response(no)
    | response(yes) ),
    inference(skolemisation,[status(esa)],[f11_nnf]) ).

cnf(c11,plain,
    ( response(no)
    | response(yes) ),
    inference(cnf_transformation,[status(esa)],[f11_sk]) ).

cnf(f14,negated_conjecture,
    ( ~ isa(other,Y)
    | ~ isa(asked,X)
    | ~ response(A) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',prove_answer) ).

fof(f14_nnf,plain,
    ! [A,X,Y] :
      ( ~ isa(other,Y)
      | ~ isa(asked,X)
      | ~ response(A) ),
    inference(nnf_transformation,[status(thm)],[f14]) ).

fof(f14_sk,plain,
    ! [A,X,Y] :
      ( ~ isa(other,Y)
      | ~ isa(asked,X)
      | ~ response(A) ),
    inference(skolemisation,[status(esa)],[f14_nnf]) ).

cnf(c14,plain,
    ( ~ isa(other,X2)
    | ~ isa(asked,X1)
    | ~ response(X0) ),
    inference(cnf_transformation,[status(esa)],[f14_sk]) ).

cnf(p17,plain,
    ( ~ isa(other,X1)
    | ~ isa(asked,X0)
    | response(yes) ),
    inference(resolution,[status(thm)],[c11,c14]) ).

cnf(p18,plain,
    ( ~ isa(other,X0)
    | response(yes)
    | isa(asked,knight) ),
    inference(resolution,[status(thm)],[p15,p17]) ).

cnf(p23,plain,
    ( response(yes)
    | isa(asked,knight)
    | isa(other,knight) ),
    inference(resolution,[status(thm)],[p16,p18]) ).

cnf(p29,plain,
    ( response(yes)
    | isa(asked,knight)
    | response(yes)
    | isa(asked,knight) ),
    inference(resolution,[status(thm)],[p23,p18]) ).

cnf(p60,plain,
    ( response(yes)
    | response(yes)
    | isa(asked,knight) ),
    inference(factoring,[status(thm)],[p29]) ).

cnf(p62,plain,
    ( response(yes)
    | isa(asked,knight) ),
    inference(factoring,[status(thm)],[p60]) ).

cnf(p63,plain,
    ( ~ isa(other,X0)
    | response(yes)
    | response(yes) ),
    inference(resolution,[status(thm)],[p62,p17]) ).

cnf(p69,plain,
    ( ~ isa(other,X0)
    | response(yes) ),
    inference(factoring,[status(thm)],[p63]) ).

cnf(p70,plain,
    ( isa(other,knight)
    | response(yes) ),
    inference(resolution,[status(thm)],[p69,p16]) ).

cnf(p74,plain,
    ( response(yes)
    | response(yes) ),
    inference(resolution,[status(thm)],[p70,p69]) ).

cnf(p75,plain,
    response(yes),
    inference(factoring,[status(thm)],[p74]) ).

cnf(p76,plain,
    ( ~ isa(other,X1)
    | ~ isa(asked,X0) ),
    inference(resolution,[status(thm)],[p75,c14]) ).

cnf(p82,plain,
    ( isa(asked,knight)
    | ~ isa(other,X0) ),
    inference(resolution,[status(thm)],[p76,p15]) ).

cnf(p83,plain,
    ( isa(other,knight)
    | isa(asked,knight) ),
    inference(resolution,[status(thm)],[p82,p16]) ).

cnf(f7,axiom,
    ( ~ isa(Anyone,knight)
    | ~ lies(asked)
    | ~ response(yes) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knight_answers1) ).

fof(f7_nnf,plain,
    ! [Anyone] :
      ( ~ isa(Anyone,knight)
      | ~ lies(asked)
      | ~ response(yes) ),
    inference(nnf_transformation,[status(thm)],[f7]) ).

fof(f7_sk,plain,
    ! [Anyone] :
      ( ~ isa(Anyone,knight)
      | ~ lies(asked)
      | ~ response(yes) ),
    inference(skolemisation,[status(esa)],[f7_nnf]) ).

cnf(c7,plain,
    ( ~ isa(X0,knight)
    | ~ lies(asked)
    | ~ response(yes) ),
    inference(cnf_transformation,[status(esa)],[f7_sk]) ).

cnf(p78,plain,
    ( ~ isa(X0,knight)
    | ~ lies(asked) ),
    inference(resolution,[status(thm)],[p75,c7]) ).

cnf(f3,axiom,
    ( lies(X)
    | ~ isa(X,knave) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knaves_make_false_statements) ).

fof(f3_nnf,plain,
    ! [X] :
      ( lies(X)
      | ~ isa(X,knave) ),
    inference(nnf_transformation,[status(thm)],[f3]) ).

fof(f3_sk,plain,
    ! [X] :
      ( lies(X)
      | ~ isa(X,knave) ),
    inference(skolemisation,[status(esa)],[f3_nnf]) ).

cnf(c3,plain,
    ( lies(X0)
    | ~ isa(X0,knave) ),
    inference(cnf_transformation,[status(esa)],[f3_sk]) ).

cnf(p19,plain,
    ( lies(asked)
    | isa(asked,knight) ),
    inference(resolution,[status(thm)],[p15,c3]) ).

cnf(p20,plain,
    ( ~ isa(other,X0)
    | response(yes)
    | lies(asked) ),
    inference(resolution,[status(thm)],[p19,p17]) ).

cnf(p24,plain,
    ( response(yes)
    | lies(asked)
    | isa(other,knight) ),
    inference(resolution,[status(thm)],[p16,p20]) ).

cnf(p26,plain,
    ( response(yes)
    | lies(asked)
    | response(yes)
    | lies(asked) ),
    inference(resolution,[status(thm)],[p24,p20]) ).

cnf(p35,plain,
    ( response(yes)
    | response(yes)
    | lies(asked) ),
    inference(factoring,[status(thm)],[p26]) ).

cnf(p37,plain,
    ( response(yes)
    | lies(asked) ),
    inference(factoring,[status(thm)],[p35]) ).

cnf(p38,plain,
    ( ~ isa(other,X1)
    | ~ isa(asked,X0)
    | lies(asked) ),
    inference(resolution,[status(thm)],[p37,c14]) ).

cnf(p39,plain,
    ( lies(asked)
    | ~ isa(other,X0)
    | lies(asked) ),
    inference(resolution,[status(thm)],[p38,p19]) ).

cnf(p40,plain,
    ( ~ isa(other,X0)
    | lies(asked) ),
    inference(factoring,[status(thm)],[p39]) ).

cnf(p41,plain,
    ( isa(other,knight)
    | lies(asked) ),
    inference(resolution,[status(thm)],[p40,p16]) ).

cnf(p43,plain,
    ( lies(asked)
    | lies(asked) ),
    inference(resolution,[status(thm)],[p41,p40]) ).

cnf(p44,plain,
    lies(asked),
    inference(factoring,[status(thm)],[p43]) ).

cnf(p79,plain,
    ~ isa(X0,knight),
    inference(resolution,[status(thm)],[p78,p44]) ).

cnf(p84,plain,
    isa(asked,knight),
    inference(resolution,[status(thm)],[p83,p79]) ).

cnf(p85,plain,
    $false,
    inference(resolution,[status(thm)],[p84,p79]) ).

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