TSTP Solution File: HWV005-1 by SnakeForV---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV---1.0
% Problem  : HWV005-1 : TPTP v8.1.0. Released v2.1.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 : n028.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 16:24:46 EDT 2022

% Result   : Unsatisfiable 0.20s 0.52s
% Output   : Refutation 0.20s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   14
%            Number of leaves      :   25
% Syntax   : Number of formulae    :   67 (  29 unt;   0 def)
%            Number of atoms       :  126 (   0 equ)
%            Maximal formula atoms :    5 (   1 avg)
%            Number of connectives :  129 (  70   ~;  59   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of predicates  :    6 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :   18 (  18 usr;  12 con; 0-2 aty)
%            Number of variables   :   31 (  31   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f747,plain,
    $false,
    inference(subsumption_resolution,[],[f735,f741]) ).

fof(f741,plain,
    ~ value(out(n1,not1(h)),n0),
    inference(subsumption_resolution,[],[f740,f45]) ).

fof(f45,plain,
    type(not1(h),not),
    inference(resolution,[],[f35,f24]) ).

fof(f24,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | type(not1(X8),not) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_not1) ).

fof(f35,axiom,
    type(h,halfadder),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',h_isa_halfadder) ).

fof(f740,plain,
    ( ~ type(not1(h),not)
    | ~ value(out(n1,not1(h)),n0) ),
    inference(subsumption_resolution,[],[f739,f489]) ).

fof(f489,plain,
    ~ value(out(n1,and2(h)),n1),
    inference(resolution,[],[f221,f309]) ).

fof(f309,plain,
    ~ value(out(c,h),n1),
    inference(resolution,[],[f162,f5]) ).

fof(f5,axiom,
    ~ equal_value(n1,n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',equal_value2) ).

fof(f162,plain,
    ! [X0] :
      ( equal_value(X0,n0)
      | ~ value(out(c,h),X0) ),
    inference(resolution,[],[f39,f3]) ).

fof(f3,axiom,
    ! [X3,X4,X5] :
      ( ~ value(X3,X4)
      | ~ value(X3,X5)
      | equal_value(X4,X5) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unique_value) ).

fof(f39,axiom,
    value(out(c,h),n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',outc_0) ).

fof(f221,plain,
    ! [X0] :
      ( value(out(c,h),X0)
      | ~ value(out(n1,and2(h)),X0) ),
    inference(resolution,[],[f52,f2]) ).

fof(f2,axiom,
    ! [X2,X0,X1] :
      ( value(X0,X2)
      | ~ connection(X0,X1)
      | ~ value(X1,X2) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',value_propagation2) ).

fof(f52,plain,
    connection(out(c,h),out(n1,and2(h))),
    inference(resolution,[],[f35,f31]) ).

fof(f31,axiom,
    ! [X8] :
      ( connection(out(c,X8),out(n1,and2(X8)))
      | ~ type(X8,halfadder) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_outc_out1and2) ).

fof(f739,plain,
    ( value(out(n1,and2(h)),n1)
    | ~ value(out(n1,not1(h)),n0)
    | ~ type(not1(h),not) ),
    inference(subsumption_resolution,[],[f682,f90]) ).

fof(f90,plain,
    mode(not1(h),ok),
    inference(subsumption_resolution,[],[f89,f41]) ).

fof(f41,axiom,
    ~ mode(not1(h),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_not1) ).

fof(f89,plain,
    ( mode(not1(h),abnormal)
    | mode(not1(h),ok) ),
    inference(resolution,[],[f45,f7]) ).

fof(f7,axiom,
    ! [X6,X7] :
      ( mode(X6,ok)
      | mode(X6,abnormal)
      | ~ type(X6,X7) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',ok_or_abnormal) ).

fof(f682,plain,
    ( ~ mode(not1(h),ok)
    | ~ type(not1(h),not)
    | ~ value(out(n1,not1(h)),n0)
    | value(out(n1,and2(h)),n1) ),
    inference(resolution,[],[f334,f20]) ).

fof(f20,axiom,
    ! [X6] :
      ( ~ mode(X6,ok)
      | ~ type(X6,not)
      | ~ value(out(n1,X6),n0)
      | value(in(n1,X6),n1) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_0_1_bw) ).

fof(f334,plain,
    ! [X0] :
      ( ~ value(in(n1,not1(h)),X0)
      | value(out(n1,and2(h)),X0) ),
    inference(resolution,[],[f54,f2]) ).

fof(f54,plain,
    connection(out(n1,and2(h)),in(n1,not1(h))),
    inference(resolution,[],[f35,f33]) ).

fof(f33,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | connection(out(n1,and2(X8)),in(n1,not1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_out1and2_in1not1) ).

fof(f735,plain,
    value(out(n1,not1(h)),n0),
    inference(subsumption_resolution,[],[f734,f295]) ).

fof(f295,plain,
    value(out(n1,and1(h)),n0),
    inference(resolution,[],[f161,f51]) ).

fof(f51,plain,
    connection(out(s,h),out(n1,and1(h))),
    inference(resolution,[],[f35,f30]) ).

fof(f30,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | connection(out(s,X8),out(n1,and1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_outs_out1and1) ).

fof(f161,plain,
    ! [X3] :
      ( ~ connection(out(s,h),X3)
      | value(X3,n0) ),
    inference(resolution,[],[f38,f1]) ).

fof(f1,axiom,
    ! [X2,X0,X1] :
      ( ~ value(X0,X2)
      | ~ connection(X0,X1)
      | value(X1,X2) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',value_propagation1) ).

fof(f38,axiom,
    value(out(s,h),n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',outs_0) ).

fof(f734,plain,
    ( ~ value(out(n1,and1(h)),n0)
    | value(out(n1,not1(h)),n0) ),
    inference(subsumption_resolution,[],[f733,f66]) ).

fof(f66,plain,
    mode(and1(h),ok),
    inference(subsumption_resolution,[],[f65,f40]) ).

fof(f40,axiom,
    ~ mode(and1(h),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_and1) ).

fof(f65,plain,
    ( mode(and1(h),ok)
    | mode(and1(h),abnormal) ),
    inference(resolution,[],[f43,f7]) ).

fof(f43,plain,
    type(and1(h),and),
    inference(resolution,[],[f35,f22]) ).

fof(f22,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | type(and1(X8),and) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_and1) ).

fof(f733,plain,
    ( ~ mode(and1(h),ok)
    | value(out(n1,not1(h)),n0)
    | ~ value(out(n1,and1(h)),n0) ),
    inference(subsumption_resolution,[],[f732,f43]) ).

fof(f732,plain,
    ( ~ type(and1(h),and)
    | value(out(n1,not1(h)),n0)
    | ~ mode(and1(h),ok)
    | ~ value(out(n1,and1(h)),n0) ),
    inference(subsumption_resolution,[],[f724,f670]) ).

fof(f670,plain,
    ~ value(in(n1,and1(h)),n0),
    inference(subsumption_resolution,[],[f669,f35]) ).

fof(f669,plain,
    ( ~ type(h,halfadder)
    | ~ value(in(n1,and1(h)),n0) ),
    inference(resolution,[],[f382,f32]) ).

fof(f32,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | connection(out(n1,or1(X8)),in(n1,and1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_out1or1_in1_and1) ).

fof(f382,plain,
    ! [X1] :
      ( ~ connection(out(n1,or1(h)),X1)
      | ~ value(X1,n0) ),
    inference(resolution,[],[f345,f2]) ).

fof(f345,plain,
    ~ value(out(n1,or1(h)),n0),
    inference(subsumption_resolution,[],[f106,f343]) ).

fof(f343,plain,
    ~ value(in(n1,or1(h)),n0),
    inference(subsumption_resolution,[],[f340,f35]) ).

fof(f340,plain,
    ( ~ type(h,halfadder)
    | ~ value(in(n1,or1(h)),n0) ),
    inference(resolution,[],[f235,f26]) ).

fof(f26,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | connection(in(n1,X8),in(n1,or1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_in1_in1or1) ).

fof(f235,plain,
    ! [X0] :
      ( ~ connection(in(n1,h),X0)
      | ~ value(X0,n0) ),
    inference(resolution,[],[f223,f2]) ).

fof(f223,plain,
    ~ value(in(n1,h),n0),
    inference(resolution,[],[f81,f4]) ).

fof(f4,axiom,
    ~ equal_value(n0,n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',equal_value1) ).

fof(f81,plain,
    ! [X0] :
      ( equal_value(X0,n1)
      | ~ value(in(n1,h),X0) ),
    inference(resolution,[],[f36,f3]) ).

fof(f36,axiom,
    value(in(n1,h),n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',in1_1) ).

fof(f106,plain,
    ( value(in(n1,or1(h)),n0)
    | ~ value(out(n1,or1(h)),n0) ),
    inference(subsumption_resolution,[],[f96,f101]) ).

fof(f101,plain,
    mode(or1(h),ok),
    inference(subsumption_resolution,[],[f100,f42]) ).

fof(f42,axiom,
    ~ mode(or1(h),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1) ).

fof(f100,plain,
    ( mode(or1(h),abnormal)
    | mode(or1(h),ok) ),
    inference(resolution,[],[f46,f7]) ).

fof(f46,plain,
    type(or1(h),or),
    inference(resolution,[],[f35,f25]) ).

fof(f25,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | type(or1(X8),or) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_or1) ).

fof(f96,plain,
    ( ~ value(out(n1,or1(h)),n0)
    | ~ mode(or1(h),ok)
    | value(in(n1,or1(h)),n0) ),
    inference(resolution,[],[f46,f16]) ).

fof(f16,axiom,
    ! [X6] :
      ( ~ mode(X6,ok)
      | ~ type(X6,or)
      | value(in(n1,X6),n0)
      | ~ value(out(n1,X6),n0) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',or_0_0x) ).

fof(f724,plain,
    ( value(in(n1,and1(h)),n0)
    | ~ type(and1(h),and)
    | ~ mode(and1(h),ok)
    | ~ value(out(n1,and1(h)),n0)
    | value(out(n1,not1(h)),n0) ),
    inference(resolution,[],[f350,f10]) ).

fof(f10,axiom,
    ! [X6] :
      ( value(in(n1,X6),n0)
      | ~ value(out(n1,X6),n0)
      | value(in(n2,X6),n0)
      | ~ mode(X6,ok)
      | ~ type(X6,and) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',and_0_00) ).

fof(f350,plain,
    ! [X0] :
      ( ~ value(in(n2,and1(h)),X0)
      | value(out(n1,not1(h)),X0) ),
    inference(resolution,[],[f55,f2]) ).

fof(f55,plain,
    connection(out(n1,not1(h)),in(n2,and1(h))),
    inference(resolution,[],[f35,f34]) ).

fof(f34,axiom,
    ! [X8] :
      ( connection(out(n1,not1(X8)),in(n2,and1(X8)))
      | ~ type(X8,halfadder) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_out1not1_in2and1) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.04/0.12  % Problem    : HWV005-1 : TPTP v8.1.0. Released v2.1.0.
% 0.04/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.12/0.33  % Computer : n028.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit   : 300
% 0.12/0.33  % WCLimit    : 300
% 0.12/0.34  % DateTime   : Mon Aug 29 23:04:47 EDT 2022
% 0.12/0.34  % CPUTime    : 
% 0.20/0.49  % (8884)lrs+1010_1:4_amm=off:bce=on:sd=1:sos=on:ss=included:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.20/0.49  % (8900)lrs+1011_1:1_aac=none:bsr=unit_only:ep=R:sac=on:sos=all:i=37:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/37Mi)
% 0.20/0.50  % (8892)fmb+10_1:1_fmbes=contour:fmbsr=2.0:fmbsso=input_usage:i=6:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/6Mi)
% 0.20/0.50  % (8884)Refutation not found, incomplete strategy% (8884)------------------------------
% 0.20/0.50  % (8884)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.50  % (8884)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.50  % (8884)Termination reason: Refutation not found, incomplete strategy
% 0.20/0.50  
% 0.20/0.50  % (8884)Memory used [KB]: 5756
% 0.20/0.50  % (8884)Time elapsed: 0.003 s
% 0.20/0.50  % (8884)Instructions burned: 1 (million)
% 0.20/0.50  % (8884)------------------------------
% 0.20/0.50  % (8884)------------------------------
% 0.20/0.50  % (8878)dis+21_1:1_av=off:fd=off:lcm=predicate:sos=on:spb=goal:urr=ec_only:i=42:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/42Mi)
% 0.20/0.51  % (8892)Instruction limit reached!
% 0.20/0.51  % (8892)------------------------------
% 0.20/0.51  % (8892)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.51  % (8892)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.51  % (8892)Termination reason: Unknown
% 0.20/0.51  % (8892)Termination phase: Finite model building preprocessing
% 0.20/0.51  
% 0.20/0.51  % (8892)Memory used [KB]: 1407
% 0.20/0.51  % (8892)Time elapsed: 0.007 s
% 0.20/0.51  % (8892)Instructions burned: 6 (million)
% 0.20/0.51  % (8892)------------------------------
% 0.20/0.51  % (8892)------------------------------
% 0.20/0.51  % (8903)lrs+3_8:1_anc=none:erd=off:fsd=on:s2a=on:s2agt=16:sgt=16:sos=on:sp=frequency:ss=included:i=71:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/71Mi)
% 0.20/0.51  % (8903)Refutation not found, incomplete strategy% (8903)------------------------------
% 0.20/0.51  % (8903)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.51  % (8903)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.51  % (8903)Termination reason: Refutation not found, incomplete strategy
% 0.20/0.51  
% 0.20/0.51  % (8903)Memory used [KB]: 6012
% 0.20/0.51  % (8903)Time elapsed: 0.122 s
% 0.20/0.51  % (8903)Instructions burned: 5 (million)
% 0.20/0.51  % (8903)------------------------------
% 0.20/0.51  % (8903)------------------------------
% 0.20/0.52  % (8895)lrs+1003_1:1024_add=large:afr=on:cond=fast:fsr=off:gs=on:sos=on:sp=reverse_arity:i=28:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/28Mi)
% 0.20/0.52  % (8895)Refutation not found, incomplete strategy% (8895)------------------------------
% 0.20/0.52  % (8895)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.52  % (8895)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.52  % (8895)Termination reason: Refutation not found, incomplete strategy
% 0.20/0.52  
% 0.20/0.52  % (8895)Memory used [KB]: 10362
% 0.20/0.52  % (8895)Time elapsed: 0.120 s
% 0.20/0.52  % (8895)Instructions burned: 2 (million)
% 0.20/0.52  % (8895)------------------------------
% 0.20/0.52  % (8895)------------------------------
% 0.20/0.52  % (8900)First to succeed.
% 0.20/0.52  % (8877)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.52  % (8879)lrs+10_1:16_awrs=converge:awrsf=40:br=off:ep=RSTC:flr=on:gsp=on:nwc=3.0:sos=on:urr=on:i=4:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/4Mi)
% 0.20/0.52  % (8900)Refutation found. Thanks to Tanya!
% 0.20/0.52  % SZS status Unsatisfiable for theBenchmark
% 0.20/0.52  % SZS output start Proof for theBenchmark
% See solution above
% 0.20/0.52  % (8900)------------------------------
% 0.20/0.52  % (8900)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.20/0.52  % (8900)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.20/0.52  % (8900)Termination reason: Refutation
% 0.20/0.52  
% 0.20/0.52  % (8900)Memory used [KB]: 6140
% 0.20/0.52  % (8900)Time elapsed: 0.123 s
% 0.20/0.52  % (8900)Instructions burned: 21 (million)
% 0.20/0.52  % (8900)------------------------------
% 0.20/0.52  % (8900)------------------------------
% 0.20/0.52  % (8876)Success in time 0.178 s
%------------------------------------------------------------------------------