↑ Up

LisaST---0.9.UNS-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : LisaST---0.9
% Problem  : PUZ035-3 : TPTP v9.3.1. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : casc-portfolio.sh -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p

% Computer : n005.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 : Sun Sep 27 08:22:08 AM UTC 2026

% Result   : Unsatisfiable 7.81s 1.72s
% Output   : CNFRefutation 7.81s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   19
%            Number of leaves      :    5
% Syntax   : Number of clauses     :   28 (   7 unt;  13 nHn;  28 RR)
%            Number of literals    :   65 (   0 equ;  25 neg)
%            Maximal clause size   :    4 (   2 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   :   22 (  20 sgn)

% Comments : 
%------------------------------------------------------------------------------
cnf(everyone_a_knight_or_knave,axiom,
    ( truth(isa(X0,knave))
    | truth(isa(X0,knight))
    | ~ person(X0) ) ).

cnf(one_is_knight_answer,axiom,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ) ).

cnf(asked_person,axiom,
    person(asked) ).

cnf(other_person,axiom,
    person(other) ).

cnf(prove_answer,negated_conjecture,
    ( ~ says(asked,X2)
    | ~ truth(isa(other,X1))
    | ~ truth(isa(asked,X0)) ) ).

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

cnf(c6,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    inference(clausification,[status(esa)],[one_is_knight_answer]) ).

cnf(c13,plain,
    person(asked),
    inference(clausification,[status(esa)],[asked_person]) ).

cnf(c14,plain,
    person(other),
    inference(clausification,[status(esa)],[other_person]) ).

cnf(c15,plain,
    ( ~ says(asked,X2)
    | ~ truth(isa(other,X1))
    | ~ truth(isa(asked,X0)) ),
    inference(clausification,[status(esa)],[prove_answer]) ).

cnf(d0,plain,
    ( truth(isa(other,knight))
    | ~ person(other)
    | ~ says(asked,X1)
    | ~ truth(isa(asked,X0)) ),
    inference(resolution,[status(thm)],[c15,c0]) ).

cnf(d1,plain,
    ( ~ says(asked,X1)
    | truth(isa(other,knight))
    | ~ truth(isa(asked,X0)) ),
    inference(resolution,[status(thm)],[c14,d0]) ).

cnf(d2,plain,
    ( truth(isa(asked,knight))
    | ~ person(asked)
    | ~ says(asked,X0)
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[d1,c0]) ).

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

cnf(d4,plain,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | truth(isa(other,knight))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[d3,c6]) ).

cnf(d5,plain,
    ( truth(isa(other,knight))
    | truth(isa(asked,knight))
    | truth(isa(other,knight))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[d4,d3]) ).

cnf(d6,plain,
    ( ~ says(asked,X1)
    | ~ truth(isa(asked,X0))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[d5,c15]) ).

cnf(d7,plain,
    ( truth(isa(asked,knight))
    | ~ person(asked)
    | ~ says(asked,X0)
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[d6,c0]) ).

cnf(d8,plain,
    ( ~ says(asked,X0)
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[c13,d7]) ).

cnf(d9,plain,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[d8,c6]) ).

cnf(d10,plain,
    ( truth(isa(asked,knight))
    | truth(isa(asked,knight)) ),
    inference(resolution,[status(thm)],[d9,d8]) ).

cnf(d11,plain,
    ( ~ says(asked,X0)
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[d10,d1]) ).

cnf(d12,plain,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[d11,c6]) ).

cnf(d13,plain,
    ( truth(isa(other,knight))
    | truth(isa(other,knight)) ),
    inference(resolution,[status(thm)],[d12,d11]) ).

cnf(d14,plain,
    ( ~ says(asked,X1)
    | ~ truth(isa(asked,X0)) ),
    inference(resolution,[status(thm)],[d13,c15]) ).

cnf(d15,plain,
    ~ says(asked,X0),
    inference(resolution,[status(thm)],[d14,d10]) ).

cnf(d16,plain,
    says(asked,or(isa(asked,knight),isa(other,knight))),
    inference(resolution,[status(thm)],[d15,c6]) ).

cnf(d17,plain,
    $false,
    inference(resolution,[status(thm)],[d15,d16]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : PUZ035-3 : TPTP v9.3.1. Released v2.0.0.
% 0.00/0.04  % Command  : casc-portfolio.sh -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.08/0.36  % Computer : n005.cluster.edu
% 0.08/0.36  % Model    : x86_64 x86_64
% 0.08/0.36  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.36  % Memory   : 8046.5625MB
% 0.08/0.36  % OS       : Linux 6.8.0-71-generic
% 0.08/0.36  % CPULimit : 300
% 0.08/0.36  % WCLimit  : 300
% 0.08/0.36  % DateTime : Sat Sep 26 05:06:47 UTC 2026
% 0.08/0.36  % CPUTime  : 
% 0.08/0.36  Running casc-portfolio.sh -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 7.81/1.72  % SZS status Unsatisfiable for theBenchmark.p
% 7.81/1.72  % SZS output start CNFRefutation for theBenchmark.p
% See solution above
%------------------------------------------------------------------------------