↑ Up

FindProof---0.1.UNS-Prf.s

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

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

% Result   : Unsatisfiable 4.20s 1.09s
% Output   : Proof 4.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   21
%            Number of leaves      :    9
% Syntax   : Number of formulae    :   80 (  13 unt;   0 def)
%            Number of atoms       :  184 (   0 equ)
%            Maximal formula atoms :    4 (   2 avg)
%            Number of connectives :  170 (  66   ~; 104   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    1 (   1 avg)
%            Number of predicates  :    6 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :    6 (   6 usr;   6 con; 0-0 aty)
%            Number of variables   :   51 (  27 sgn  16   !;   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(f14,axiom,
    person(other),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',other_person) ).

fof(f14_nnf,plain,
    person(other),
    inference(nnf_transformation,[status(thm)],[f14]) ).

cnf(c14,plain,
    person(other),
    inference(cnf_transformation,[status(esa)],[f14_nnf]) ).

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

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

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

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

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

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

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

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

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

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

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

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

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

cnf(p18,plain,
    ( ~ isa(other,X1)
    | ~ isa(asked,X0)
    | response(yes) ),
    inference(resolution,[status(thm)],[c12,c15]) ).

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

cnf(p25,plain,
    ( response(yes)
    | isa(asked,knight)
    | isa(other,knight) ),
    inference(resolution,[status(thm)],[p17,p19]) ).

cnf(p31,plain,
    ( response(yes)
    | isa(asked,knight)
    | response(yes)
    | isa(asked,knight) ),
    inference(resolution,[status(thm)],[p25,p19]) ).

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

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

cnf(p75,plain,
    ( ~ isa(other,X0)
    | response(yes)
    | response(yes) ),
    inference(resolution,[status(thm)],[p74,p18]) ).

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

cnf(p86,plain,
    ( isa(other,knight)
    | response(yes) ),
    inference(resolution,[status(thm)],[p83,p17]) ).

cnf(p87,plain,
    ( response(yes)
    | response(yes) ),
    inference(resolution,[status(thm)],[p86,p83]) ).

cnf(p88,plain,
    response(yes),
    inference(factoring,[status(thm)],[p87]) ).

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

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

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

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

cnf(p92,plain,
    ( ~ isa(X0,knight)
    | ~ lies(asked) ),
    inference(resolution,[status(thm)],[p88,c8]) ).

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(p20,plain,
    ( lies(asked)
    | isa(asked,knight) ),
    inference(resolution,[status(thm)],[p16,c3]) ).

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

cnf(p26,plain,
    ( response(yes)
    | lies(asked)
    | isa(other,knight) ),
    inference(resolution,[status(thm)],[p17,p21]) ).

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

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

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

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

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

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

cnf(p43,plain,
    ( isa(other,knight)
    | lies(asked) ),
    inference(resolution,[status(thm)],[p42,p17]) ).

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

cnf(p46,plain,
    lies(asked),
    inference(factoring,[status(thm)],[p45]) ).

cnf(p93,plain,
    ~ isa(X0,knight),
    inference(resolution,[status(thm)],[p92,p46]) ).

cnf(p24,plain,
    ( lies(other)
    | isa(other,knight) ),
    inference(resolution,[status(thm)],[p17,c3]) ).

cnf(p94,plain,
    lies(other),
    inference(resolution,[status(thm)],[p93,p24]) ).

cnf(f2,axiom,
    ( tell_the_truth(X)
    | ~ isa(X,knight) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',knights_make_true_statements) ).

fof(f2_nnf,plain,
    ! [X] :
      ( tell_the_truth(X)
      | ~ isa(X,knight) ),
    inference(nnf_transformation,[status(thm)],[f2]) ).

fof(f2_sk,plain,
    ! [X] :
      ( tell_the_truth(X)
      | ~ isa(X,knight) ),
    inference(skolemisation,[status(esa)],[f2_nnf]) ).

cnf(c2,plain,
    ( tell_the_truth(X0)
    | ~ isa(X0,knight) ),
    inference(cnf_transformation,[status(esa)],[f2_sk]) ).

cnf(p30,plain,
    ( tell_the_truth(other)
    | response(yes)
    | isa(asked,knight) ),
    inference(resolution,[status(thm)],[p25,c2]) ).

cnf(p32,plain,
    ( ~ isa(other,X0)
    | response(yes)
    | tell_the_truth(other)
    | response(yes) ),
    inference(resolution,[status(thm)],[p30,p18]) ).

cnf(p47,plain,
    ( ~ isa(other,X0)
    | tell_the_truth(other)
    | response(yes) ),
    inference(factoring,[status(thm)],[p32]) ).

cnf(p48,plain,
    ( isa(other,knight)
    | tell_the_truth(other)
    | response(yes) ),
    inference(resolution,[status(thm)],[p47,p17]) ).

cnf(p49,plain,
    ( tell_the_truth(other)
    | tell_the_truth(other)
    | response(yes) ),
    inference(resolution,[status(thm)],[p48,c2]) ).

cnf(p50,plain,
    ( tell_the_truth(other)
    | response(yes) ),
    inference(factoring,[status(thm)],[p49]) ).

cnf(p51,plain,
    ( ~ isa(other,X1)
    | ~ isa(asked,X0)
    | tell_the_truth(other) ),
    inference(resolution,[status(thm)],[p50,c15]) ).

cnf(p55,plain,
    ( isa(asked,knight)
    | ~ isa(other,X0)
    | tell_the_truth(other) ),
    inference(resolution,[status(thm)],[p51,p16]) ).

cnf(p56,plain,
    ( isa(other,knight)
    | isa(asked,knight)
    | tell_the_truth(other) ),
    inference(resolution,[status(thm)],[p55,p17]) ).

cnf(p63,plain,
    ( tell_the_truth(other)
    | isa(asked,knight)
    | tell_the_truth(other) ),
    inference(resolution,[status(thm)],[p56,c2]) ).

cnf(p66,plain,
    ( isa(asked,knight)
    | tell_the_truth(other) ),
    inference(factoring,[status(thm)],[p63]) ).

cnf(p53,plain,
    ( ~ isa(X0,knight)
    | ~ lies(asked)
    | tell_the_truth(other) ),
    inference(resolution,[status(thm)],[p50,c8]) ).

cnf(p54,plain,
    ( ~ isa(X0,knight)
    | tell_the_truth(other) ),
    inference(resolution,[status(thm)],[p53,p46]) ).

cnf(p69,plain,
    ( tell_the_truth(other)
    | tell_the_truth(other) ),
    inference(resolution,[status(thm)],[p66,p54]) ).

cnf(p71,plain,
    tell_the_truth(other),
    inference(factoring,[status(thm)],[p69]) ).

cnf(f4,axiom,
    ( ~ lies(X)
    | ~ tell_the_truth(X) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',statements_are_true_or_false) ).

fof(f4_nnf,plain,
    ! [X] :
      ( ~ lies(X)
      | ~ tell_the_truth(X) ),
    inference(nnf_transformation,[status(thm)],[f4]) ).

fof(f4_sk,plain,
    ! [X] :
      ( ~ lies(X)
      | ~ tell_the_truth(X) ),
    inference(skolemisation,[status(esa)],[f4_nnf]) ).

cnf(c4,plain,
    ( ~ lies(X0)
    | ~ tell_the_truth(X0) ),
    inference(cnf_transformation,[status(esa)],[f4_sk]) ).

cnf(p73,plain,
    ~ lies(other),
    inference(resolution,[status(thm)],[p71,c4]) ).

cnf(p95,plain,
    $false,
    inference(resolution,[status(thm)],[p94,p73]) ).

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