TSTP Solution File: PUZ035-3 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : PUZ035-3 : TPTP v8.1.0. Released v2.0.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_uns --cores 0 -t %d %s

% Computer : n016.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 : Wed Aug 31 18:10:48 EDT 2022

% Result   : Unsatisfiable 0.20s 0.47s
% Output   : Refutation 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    6
%            Number of leaves      :   10
% Syntax   : Number of formulae    :   30 (   5 unt;   0 def)
%            Number of atoms       :   62 (   0 equ)
%            Maximal formula atoms :    3 (   2 avg)
%            Number of connectives :   67 (  35   ~;  27   |;   0   &)
%                                         (   5 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of predicates  :    9 (   8 usr;   6 prp; 0-2 aty)
%            Number of functors    :    7 (   7 usr;   4 con; 0-2 aty)
%            Number of variables   :   10 (  10   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f80,plain,
    $false,
    inference(avatar_sat_refutation,[],[f26,f35,f53,f57,f64,f79]) ).

fof(f79,plain,
    ( ~ spl0_1
    | ~ spl0_4 ),
    inference(avatar_contradiction_clause,[],[f78]) ).

fof(f78,plain,
    ( $false
    | ~ spl0_1
    | ~ spl0_4 ),
    inference(subsumption_resolution,[],[f30,f19]) ).

fof(f19,plain,
    ( ! [X1] : ~ says(asked,X1)
    | ~ spl0_1 ),
    inference(avatar_component_clause,[],[f18]) ).

fof(f18,plain,
    ( spl0_1
  <=> ! [X1] : ~ says(asked,X1) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_1])]) ).

fof(f30,plain,
    ( says(asked,or(isa(asked,knight),isa(other,knight)))
    | ~ spl0_4 ),
    inference(avatar_component_clause,[],[f28]) ).

fof(f28,plain,
    ( spl0_4
  <=> says(asked,or(isa(asked,knight),isa(other,knight))) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_4])]) ).

fof(f64,plain,
    ( ~ spl0_1
    | ~ spl0_5 ),
    inference(avatar_contradiction_clause,[],[f59]) ).

fof(f59,plain,
    ( $false
    | ~ spl0_1
    | ~ spl0_5 ),
    inference(resolution,[],[f34,f19]) ).

fof(f34,plain,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | ~ spl0_5 ),
    inference(avatar_component_clause,[],[f32]) ).

fof(f32,plain,
    ( spl0_5
  <=> says(asked,not(or(isa(asked,knight),isa(other,knight)))) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_5])]) ).

fof(f57,plain,
    ~ spl0_3,
    inference(avatar_contradiction_clause,[],[f56]) ).

fof(f56,plain,
    ( $false
    | ~ spl0_3 ),
    inference(subsumption_resolution,[],[f55,f15]) ).

fof(f15,axiom,
    person(other),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',other_person) ).

fof(f55,plain,
    ( ~ person(other)
    | ~ spl0_3 ),
    inference(subsumption_resolution,[],[f54,f25]) ).

fof(f25,plain,
    ( ! [X7] : ~ truth(isa(other,X7))
    | ~ spl0_3 ),
    inference(avatar_component_clause,[],[f24]) ).

fof(f24,plain,
    ( spl0_3
  <=> ! [X7] : ~ truth(isa(other,X7)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_3])]) ).

fof(f54,plain,
    ( truth(isa(other,knight))
    | ~ person(other)
    | ~ spl0_3 ),
    inference(resolution,[],[f25,f1]) ).

fof(f1,axiom,
    ! [X0] :
      ( truth(isa(X0,knave))
      | ~ person(X0)
      | truth(isa(X0,knight)) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',everyone_a_knight_or_knave) ).

fof(f53,plain,
    ~ spl0_2,
    inference(avatar_contradiction_clause,[],[f52]) ).

fof(f52,plain,
    ( $false
    | ~ spl0_2 ),
    inference(subsumption_resolution,[],[f51,f14]) ).

fof(f14,axiom,
    person(asked),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',asked_person) ).

fof(f51,plain,
    ( ~ person(asked)
    | ~ spl0_2 ),
    inference(subsumption_resolution,[],[f49,f22]) ).

fof(f22,plain,
    ( ! [X6] : ~ truth(isa(asked,X6))
    | ~ spl0_2 ),
    inference(avatar_component_clause,[],[f21]) ).

fof(f21,plain,
    ( spl0_2
  <=> ! [X6] : ~ truth(isa(asked,X6)) ),
    introduced(avatar_definition,[new_symbols(naming,[spl0_2])]) ).

fof(f49,plain,
    ( truth(isa(asked,knight))
    | ~ person(asked)
    | ~ spl0_2 ),
    inference(resolution,[],[f1,f22]) ).

fof(f35,plain,
    ( spl0_4
    | spl0_5 ),
    inference(avatar_split_clause,[],[f7,f32,f28]) ).

fof(f7,axiom,
    ( says(asked,not(or(isa(asked,knight),isa(other,knight))))
    | says(asked,or(isa(asked,knight),isa(other,knight))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',one_is_knight_answer) ).

fof(f26,plain,
    ( spl0_1
    | spl0_2
    | spl0_3 ),
    inference(avatar_split_clause,[],[f16,f24,f21,f18]) ).

fof(f16,axiom,
    ! [X1,X6,X7] :
      ( ~ truth(isa(other,X7))
      | ~ truth(isa(asked,X6))
      | ~ says(asked,X1) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',prove_answer) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.12/0.12  % Problem    : PUZ035-3 : TPTP v8.1.0. Released v2.0.0.
% 0.12/0.13  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_uns --cores 0 -t %d %s
% 0.13/0.34  % Computer : n016.cluster.edu
% 0.13/0.34  % Model    : x86_64 x86_64
% 0.13/0.34  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.34  % Memory   : 8042.1875MB
% 0.13/0.34  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.13/0.34  % CPULimit   : 300
% 0.13/0.34  % WCLimit    : 300
% 0.13/0.34  % DateTime   : Tue Aug 30 11:06:31 EDT 2022
% 0.13/0.35  % CPUTime    : 
% 0.20/0.45  % (16454)lrs+10_1:1_kws=precedence:lwlo=on:tgt=ground:i=99966:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99966Mi)
% 0.20/0.47  % (16454)First to succeed.
% 0.20/0.47  % (16454)Refutation found. Thanks to Tanya!
% 0.20/0.47  % SZS status Unsatisfiable for theBenchmark
% 0.20/0.47  % SZS output start Proof for theBenchmark
% See solution above
% 0.20/0.47  % (16454)------------------------------
% 0.20/0.47  % (16454)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.47  % (16454)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.47  % (16454)Termination reason: Refutation
% 0.20/0.47  
% 0.20/0.47  % (16454)Memory used [KB]: 5884
% 0.20/0.47  % (16454)Time elapsed: 0.086 s
% 0.20/0.47  % (16454)Instructions burned: 1 (million)
% 0.20/0.47  % (16454)------------------------------
% 0.20/0.47  % (16454)------------------------------
% 0.20/0.47  % (16449)Success in time 0.117 s
%------------------------------------------------------------------------------