TSTP Solution File: HWV006-1 by Vampire-SAT---4.8

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Vampire-SAT---4.8
% Problem  : HWV006-1 : TPTP v8.2.0. Released v2.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s

% Computer : n012.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 : Mon May 20 22:01:46 EDT 2024

% Result   : Unsatisfiable 0.13s 0.38s
% Output   : Refutation 0.13s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   27
%            Number of leaves      :   47
% Syntax   : Number of formulae    :  164 (  72 unt;   0 def)
%            Number of atoms       :  290 (   0 equ)
%            Maximal formula atoms :    5 (   1 avg)
%            Number of connectives :  240 ( 114   ~; 126   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   3 avg)
%            Maximal term depth    :    4 (   2 avg)
%            Number of predicates  :    6 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :   21 (  21 usr;  13 con; 0-2 aty)
%            Number of variables   :   67 (  67   !;   0   ?)

% Comments : 
%------------------------------------------------------------------------------
fof(f425,plain,
    $false,
    inference(subsumption_resolution,[],[f421,f5]) ).

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

fof(f421,plain,
    equal_value(n1,n0),
    inference(resolution,[],[f420,f408]) ).

fof(f408,plain,
    ! [X0] :
      ( ~ value(in(n1,or1(f)),X0)
      | equal_value(n1,X0) ),
    inference(resolution,[],[f405,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(f405,plain,
    value(in(n1,or1(f)),n1),
    inference(resolution,[],[f402,f215]) ).

fof(f215,plain,
    connection(out(c,h2(f)),in(n1,or1(f))),
    inference(resolution,[],[f40,f46]) ).

fof(f46,axiom,
    type(f,fulladder),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',f_isa_fulladder) ).

fof(f40,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | connection(out(c,h2(X8)),in(n1,or1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outch2_in1or1) ).

fof(f402,plain,
    ! [X0] :
      ( ~ connection(out(c,h2(f)),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f399,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(f399,plain,
    value(out(c,h2(f)),n1),
    inference(resolution,[],[f396,f129]) ).

fof(f129,plain,
    connection(out(c,h2(f)),out(n1,and2(h2(f)))),
    inference(resolution,[],[f31,f64]) ).

fof(f64,plain,
    type(h2(f),halfadder),
    inference(resolution,[],[f36,f46]) ).

fof(f36,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | type(h2(X8),halfadder) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_halfadder2) ).

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

fof(f396,plain,
    ! [X0] :
      ( ~ connection(X0,out(n1,and2(h2(f))))
      | value(X0,n1) ),
    inference(resolution,[],[f393,f2]) ).

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

fof(f393,plain,
    value(out(n1,and2(h2(f))),n1),
    inference(subsumption_resolution,[],[f356,f375]) ).

fof(f375,plain,
    value(in(n2,and2(h2(f))),n1),
    inference(resolution,[],[f372,f125]) ).

fof(f125,plain,
    connection(in(n2,h2(f)),in(n2,and2(h2(f)))),
    inference(resolution,[],[f29,f64]) ).

fof(f29,axiom,
    ! [X8] :
      ( ~ type(X8,halfadder)
      | connection(in(n2,X8),in(n2,and2(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_in2_in2and2) ).

fof(f372,plain,
    ! [X0] :
      ( ~ connection(in(n2,h2(f)),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f369,f1]) ).

fof(f369,plain,
    value(in(n2,h2(f)),n1),
    inference(resolution,[],[f366,f213]) ).

fof(f213,plain,
    connection(out(s,h1(f)),in(n2,h2(f))),
    inference(resolution,[],[f38,f46]) ).

fof(f38,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | connection(out(s,h1(X8)),in(n2,h2(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outsh1_in2h2) ).

fof(f366,plain,
    ! [X0] :
      ( ~ connection(out(s,h1(f)),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f363,f1]) ).

fof(f363,plain,
    value(out(s,h1(f)),n1),
    inference(resolution,[],[f360,f126]) ).

fof(f126,plain,
    connection(out(s,h1(f)),out(n1,and1(h1(f)))),
    inference(resolution,[],[f30,f59]) ).

fof(f59,plain,
    type(h1(f),halfadder),
    inference(resolution,[],[f35,f46]) ).

fof(f35,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | type(h1(X8),halfadder) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_halfadder1) ).

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(f360,plain,
    ! [X0] :
      ( ~ connection(X0,out(n1,and1(h1(f))))
      | value(X0,n1) ),
    inference(resolution,[],[f352,f2]) ).

fof(f352,plain,
    value(out(n1,and1(h1(f))),n1),
    inference(subsumption_resolution,[],[f351,f270]) ).

fof(f270,plain,
    value(in(n1,and1(h1(f))),n1),
    inference(resolution,[],[f268,f207]) ).

fof(f207,plain,
    connection(out(n1,or1(h1(f))),in(n1,and1(h1(f)))),
    inference(resolution,[],[f32,f59]) ).

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(f268,plain,
    ! [X0] :
      ( ~ connection(out(n1,or1(h1(f))),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f265,f1]) ).

fof(f265,plain,
    value(out(n1,or1(h1(f))),n1),
    inference(resolution,[],[f264,f172]) ).

fof(f172,plain,
    value(in(n2,or1(h1(f))),n1),
    inference(resolution,[],[f158,f120]) ).

fof(f120,plain,
    connection(in(n2,h1(f)),in(n2,or1(h1(f)))),
    inference(resolution,[],[f27,f59]) ).

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

fof(f158,plain,
    ! [X0] :
      ( ~ connection(in(n2,h1(f)),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f155,f1]) ).

fof(f155,plain,
    value(in(n2,h1(f)),n1),
    inference(resolution,[],[f154,f71]) ).

fof(f71,plain,
    ! [X0] :
      ( ~ connection(in(c,f),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f1,f49]) ).

fof(f49,axiom,
    value(in(c,f),n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',inc_1) ).

fof(f154,plain,
    connection(in(c,f),in(n2,h1(f))),
    inference(resolution,[],[f43,f46]) ).

fof(f43,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | connection(in(c,X8),in(n2,h1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_inc_in2h1) ).

fof(f264,plain,
    ! [X0] :
      ( ~ value(in(X0,or1(h1(f))),n1)
      | value(out(n1,or1(h1(f))),n1) ),
    inference(subsumption_resolution,[],[f261,f106]) ).

fof(f106,plain,
    mode(or1(h1(f)),ok),
    inference(subsumption_resolution,[],[f96,f55]) ).

fof(f55,axiom,
    ~ mode(or1(h1(f)),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1h1) ).

fof(f96,plain,
    ( mode(or1(h1(f)),abnormal)
    | mode(or1(h1(f)),ok) ),
    inference(resolution,[],[f7,f60]) ).

fof(f60,plain,
    type(or1(h1(f)),or),
    inference(resolution,[],[f59,f25]) ).

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

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

fof(f261,plain,
    ! [X0] :
      ( ~ mode(or1(h1(f)),ok)
      | ~ value(in(X0,or1(h1(f))),n1)
      | value(out(n1,or1(h1(f))),n1) ),
    inference(resolution,[],[f13,f60]) ).

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

fof(f351,plain,
    ( ~ value(in(n1,and1(h1(f))),n1)
    | value(out(n1,and1(h1(f))),n1) ),
    inference(subsumption_resolution,[],[f350,f319]) ).

fof(f319,plain,
    value(in(n2,and1(h1(f))),n1),
    inference(resolution,[],[f317,f211]) ).

fof(f211,plain,
    connection(out(n1,not1(h1(f))),in(n2,and1(h1(f)))),
    inference(resolution,[],[f34,f59]) ).

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

fof(f317,plain,
    ! [X0] :
      ( ~ connection(out(n1,not1(h1(f))),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f314,f1]) ).

fof(f314,plain,
    value(out(n1,not1(h1(f))),n1),
    inference(subsumption_resolution,[],[f313,f247]) ).

fof(f247,plain,
    value(in(n1,not1(h1(f))),n0),
    inference(resolution,[],[f226,f209]) ).

fof(f209,plain,
    connection(out(n1,and2(h1(f))),in(n1,not1(h1(f)))),
    inference(resolution,[],[f33,f59]) ).

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(f226,plain,
    ! [X0] :
      ( ~ connection(out(n1,and2(h1(f))),X0)
      | value(X0,n0) ),
    inference(resolution,[],[f223,f1]) ).

fof(f223,plain,
    value(out(n1,and2(h1(f))),n0),
    inference(resolution,[],[f221,f161]) ).

fof(f161,plain,
    value(in(n1,and2(h1(f))),n0),
    inference(resolution,[],[f153,f122]) ).

fof(f122,plain,
    connection(in(n1,h1(f)),in(n1,and2(h1(f)))),
    inference(resolution,[],[f28,f59]) ).

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

fof(f153,plain,
    ! [X0] :
      ( ~ connection(in(n1,h1(f)),X0)
      | value(X0,n0) ),
    inference(resolution,[],[f150,f1]) ).

fof(f150,plain,
    value(in(n1,h1(f)),n0),
    inference(resolution,[],[f149,f72]) ).

fof(f72,plain,
    ! [X0] :
      ( ~ connection(in(n2,f),X0)
      | value(X0,n0) ),
    inference(resolution,[],[f1,f48]) ).

fof(f48,axiom,
    value(in(n2,f),n0),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',in2_0) ).

fof(f149,plain,
    connection(in(n2,f),in(n1,h1(f))),
    inference(resolution,[],[f42,f46]) ).

fof(f42,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | connection(in(n2,X8),in(n1,h1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_in2_in1h1) ).

fof(f221,plain,
    ! [X0] :
      ( ~ value(in(X0,and2(h1(f))),n0)
      | value(out(n1,and2(h1(f))),n0) ),
    inference(subsumption_resolution,[],[f218,f103]) ).

fof(f103,plain,
    mode(and2(h1(f)),ok),
    inference(subsumption_resolution,[],[f92,f57]) ).

fof(f57,axiom,
    ~ mode(and2(h1(f)),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_and2h1) ).

fof(f92,plain,
    ( mode(and2(h1(f)),abnormal)
    | mode(and2(h1(f)),ok) ),
    inference(resolution,[],[f7,f62]) ).

fof(f62,plain,
    type(and2(h1(f)),and),
    inference(resolution,[],[f59,f23]) ).

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

fof(f218,plain,
    ! [X0] :
      ( ~ mode(and2(h1(f)),ok)
      | ~ value(in(X0,and2(h1(f))),n0)
      | value(out(n1,and2(h1(f))),n0) ),
    inference(resolution,[],[f8,f62]) ).

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

fof(f313,plain,
    ( ~ value(in(n1,not1(h1(f))),n0)
    | value(out(n1,not1(h1(f))),n1) ),
    inference(subsumption_resolution,[],[f311,f105]) ).

fof(f105,plain,
    mode(not1(h1(f)),ok),
    inference(subsumption_resolution,[],[f94,f56]) ).

fof(f56,axiom,
    ~ mode(not1(h1(f)),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_not1h1) ).

fof(f94,plain,
    ( mode(not1(h1(f)),abnormal)
    | mode(not1(h1(f)),ok) ),
    inference(resolution,[],[f7,f61]) ).

fof(f61,plain,
    type(not1(h1(f)),not),
    inference(resolution,[],[f59,f24]) ).

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

fof(f311,plain,
    ( ~ mode(not1(h1(f)),ok)
    | ~ value(in(n1,not1(h1(f))),n0)
    | value(out(n1,not1(h1(f))),n1) ),
    inference(resolution,[],[f18,f61]) ).

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

fof(f350,plain,
    ( ~ value(in(n2,and1(h1(f))),n1)
    | ~ value(in(n1,and1(h1(f))),n1)
    | value(out(n1,and1(h1(f))),n1) ),
    inference(subsumption_resolution,[],[f346,f102]) ).

fof(f102,plain,
    mode(and1(h1(f)),ok),
    inference(subsumption_resolution,[],[f90,f58]) ).

fof(f58,axiom,
    ~ mode(and1(h1(f)),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_and1h1) ).

fof(f90,plain,
    ( mode(and1(h1(f)),abnormal)
    | mode(and1(h1(f)),ok) ),
    inference(resolution,[],[f7,f63]) ).

fof(f63,plain,
    type(and1(h1(f)),and),
    inference(resolution,[],[f59,f22]) ).

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

fof(f346,plain,
    ( ~ mode(and1(h1(f)),ok)
    | ~ value(in(n2,and1(h1(f))),n1)
    | ~ value(in(n1,and1(h1(f))),n1)
    | value(out(n1,and1(h1(f))),n1) ),
    inference(resolution,[],[f9,f63]) ).

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

fof(f356,plain,
    ( ~ value(in(n2,and2(h2(f))),n1)
    | value(out(n1,and2(h2(f))),n1) ),
    inference(subsumption_resolution,[],[f355,f138]) ).

fof(f138,plain,
    value(in(n1,and2(h2(f))),n1),
    inference(resolution,[],[f134,f123]) ).

fof(f123,plain,
    connection(in(n1,h2(f)),in(n1,and2(h2(f)))),
    inference(resolution,[],[f28,f64]) ).

fof(f134,plain,
    ! [X0] :
      ( ~ connection(in(n1,h2(f)),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f131,f1]) ).

fof(f131,plain,
    value(in(n1,h2(f)),n1),
    inference(resolution,[],[f130,f70]) ).

fof(f70,plain,
    ! [X0] :
      ( ~ connection(in(n1,f),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f1,f47]) ).

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

fof(f130,plain,
    connection(in(n1,f),in(n1,h2(f))),
    inference(resolution,[],[f41,f46]) ).

fof(f41,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | connection(in(n1,X8),in(n1,h2(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_in1_in1h2) ).

fof(f355,plain,
    ( ~ value(in(n2,and2(h2(f))),n1)
    | ~ value(in(n1,and2(h2(f))),n1)
    | value(out(n1,and2(h2(f))),n1) ),
    inference(subsumption_resolution,[],[f349,f104]) ).

fof(f104,plain,
    mode(and2(h2(f)),ok),
    inference(subsumption_resolution,[],[f93,f53]) ).

fof(f53,axiom,
    ~ mode(and2(h2(f)),abnormal),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_and2) ).

fof(f93,plain,
    ( mode(and2(h2(f)),abnormal)
    | mode(and2(h2(f)),ok) ),
    inference(resolution,[],[f7,f67]) ).

fof(f67,plain,
    type(and2(h2(f)),and),
    inference(resolution,[],[f64,f23]) ).

fof(f349,plain,
    ( ~ mode(and2(h2(f)),ok)
    | ~ value(in(n2,and2(h2(f))),n1)
    | ~ value(in(n1,and2(h2(f))),n1)
    | value(out(n1,and2(h2(f))),n1) ),
    inference(resolution,[],[f9,f67]) ).

fof(f420,plain,
    value(in(n1,or1(f)),n0),
    inference(subsumption_resolution,[],[f418,f5]) ).

fof(f418,plain,
    ( equal_value(n1,n0)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[],[f415,f341]) ).

fof(f341,plain,
    ( value(in(n1,not1(h2(f))),n0)
    | value(in(n1,or1(f)),n0) ),
    inference(subsumption_resolution,[],[f340,f280]) ).

fof(f280,plain,
    ( ~ mode(or1(f),ok)
    | value(in(n1,or1(f)),n0) ),
    inference(subsumption_resolution,[],[f279,f201]) ).

fof(f201,plain,
    value(out(n1,or1(f)),n0),
    inference(resolution,[],[f200,f74]) ).

fof(f74,plain,
    ! [X0] :
      ( ~ connection(out(c,f),X0)
      | value(X0,n0) ),
    inference(resolution,[],[f1,f51]) ).

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

fof(f200,plain,
    connection(out(c,f),out(n1,or1(f))),
    inference(resolution,[],[f45,f46]) ).

fof(f45,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | connection(out(c,X8),out(n1,or1(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outc_out1or1) ).

fof(f279,plain,
    ( ~ mode(or1(f),ok)
    | ~ value(out(n1,or1(f)),n0)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[],[f16,f69]) ).

fof(f69,plain,
    type(or1(f),or),
    inference(resolution,[],[f37,f46]) ).

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

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

fof(f340,plain,
    ( value(in(n1,not1(h2(f))),n0)
    | mode(or1(f),ok)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[],[f339,f291]) ).

fof(f291,plain,
    ( value(out(n1,not1(h2(f))),n1)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[],[f284,f212]) ).

fof(f212,plain,
    connection(out(n1,not1(h2(f))),in(n2,and1(h2(f)))),
    inference(resolution,[],[f34,f64]) ).

fof(f284,plain,
    ! [X0] :
      ( ~ connection(X0,in(n2,and1(h2(f))))
      | value(in(n1,or1(f)),n0)
      | value(X0,n1) ),
    inference(resolution,[],[f281,f2]) ).

fof(f281,plain,
    ( value(in(n2,and1(h2(f))),n1)
    | value(in(n1,or1(f)),n0) ),
    inference(resolution,[],[f280,f276]) ).

fof(f276,plain,
    ( mode(or1(f),ok)
    | value(in(n2,and1(h2(f))),n1) ),
    inference(resolution,[],[f259,f115]) ).

fof(f115,plain,
    ( mode(and1(h2(f)),ok)
    | mode(or1(f),ok) ),
    inference(resolution,[],[f113,f98]) ).

fof(f98,plain,
    ( mode(or1(f),abnormal)
    | mode(or1(f),ok) ),
    inference(resolution,[],[f7,f69]) ).

fof(f113,plain,
    ( ~ mode(or1(f),abnormal)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[],[f91,f54]) ).

fof(f54,axiom,
    ( ~ mode(and1(h2(f)),abnormal)
    | ~ mode(or1(f),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_and1h2) ).

fof(f91,plain,
    ( mode(and1(h2(f)),abnormal)
    | mode(and1(h2(f)),ok) ),
    inference(resolution,[],[f7,f68]) ).

fof(f68,plain,
    type(and1(h2(f)),and),
    inference(resolution,[],[f64,f22]) ).

fof(f259,plain,
    ( ~ mode(and1(h2(f)),ok)
    | value(in(n2,and1(h2(f))),n1) ),
    inference(subsumption_resolution,[],[f255,f192]) ).

fof(f192,plain,
    value(out(n1,and1(h2(f))),n1),
    inference(resolution,[],[f189,f127]) ).

fof(f127,plain,
    connection(out(s,h2(f)),out(n1,and1(h2(f)))),
    inference(resolution,[],[f30,f64]) ).

fof(f189,plain,
    ! [X0] :
      ( ~ connection(out(s,h2(f)),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f186,f1]) ).

fof(f186,plain,
    value(out(s,h2(f)),n1),
    inference(resolution,[],[f185,f73]) ).

fof(f73,plain,
    ! [X0] :
      ( ~ connection(out(s,f),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f1,f50]) ).

fof(f50,axiom,
    value(out(s,f),n1),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',outs_1) ).

fof(f185,plain,
    connection(out(s,f),out(s,h2(f))),
    inference(resolution,[],[f44,f46]) ).

fof(f44,axiom,
    ! [X8] :
      ( ~ type(X8,fulladder)
      | connection(out(s,X8),out(s,h2(X8))) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outs_outsh2) ).

fof(f255,plain,
    ( ~ mode(and1(h2(f)),ok)
    | ~ value(out(n1,and1(h2(f))),n1)
    | value(in(n2,and1(h2(f))),n1) ),
    inference(resolution,[],[f12,f68]) ).

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

fof(f339,plain,
    ( ~ value(out(n1,not1(h2(f))),n1)
    | value(in(n1,not1(h2(f))),n0)
    | mode(or1(f),ok) ),
    inference(resolution,[],[f332,f118]) ).

fof(f118,plain,
    ( mode(not1(h2(f)),ok)
    | mode(or1(f),ok) ),
    inference(resolution,[],[f116,f98]) ).

fof(f116,plain,
    ( ~ mode(or1(f),abnormal)
    | mode(not1(h2(f)),ok) ),
    inference(resolution,[],[f95,f52]) ).

fof(f52,axiom,
    ( ~ mode(not1(h2(f)),abnormal)
    | ~ mode(or1(f),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_not1h2) ).

fof(f95,plain,
    ( mode(not1(h2(f)),abnormal)
    | mode(not1(h2(f)),ok) ),
    inference(resolution,[],[f7,f66]) ).

fof(f66,plain,
    type(not1(h2(f)),not),
    inference(resolution,[],[f64,f24]) ).

fof(f332,plain,
    ( ~ mode(not1(h2(f)),ok)
    | ~ value(out(n1,not1(h2(f))),n1)
    | value(in(n1,not1(h2(f))),n0) ),
    inference(resolution,[],[f21,f66]) ).

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

fof(f415,plain,
    ! [X0] :
      ( ~ value(in(n1,not1(h2(f))),X0)
      | equal_value(n1,X0) ),
    inference(resolution,[],[f413,f3]) ).

fof(f413,plain,
    value(in(n1,not1(h2(f))),n1),
    inference(resolution,[],[f397,f210]) ).

fof(f210,plain,
    connection(out(n1,and2(h2(f))),in(n1,not1(h2(f)))),
    inference(resolution,[],[f33,f64]) ).

fof(f397,plain,
    ! [X0] :
      ( ~ connection(out(n1,and2(h2(f))),X0)
      | value(X0,n1) ),
    inference(resolution,[],[f393,f1]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.10/0.12  % Problem    : HWV006-1 : TPTP v8.2.0. Released v2.1.0.
% 0.10/0.14  % Command    : vampire --mode casc_sat -m 16384 --cores 7 -t %d %s
% 0.13/0.34  % Computer : n012.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   : Sun May 19 11:20:23 EDT 2024
% 0.13/0.35  % CPUTime    : 
% 0.13/0.35  % (4212)Running in auto input_syntax mode. Trying TPTP
% 0.13/0.37  % (4218)dis+11_4:5_nm=4_216 on theBenchmark for (216ds/0Mi)
% 0.13/0.37  % (4217)dis+1_20_av=off:lcm=predicate:nm=2:nwc=2.0_396 on theBenchmark for (396ds/0Mi)
% 0.13/0.37  % (4216)fmb+10_1_bce=on:fmbas=expand:fmbksg=on:fmbsr=1.3:gsp=on:nm=4_470 on theBenchmark for (470ds/0Mi)
% 0.13/0.37  % (4219)fmb+10_1_fmbas=off:fmbsr=1.3:nm=2:si=on:rtra=on:rawr=on:rp=on:fmbksg=on_1451 on theBenchmark for (1451ds/0Mi)
% 0.13/0.37  % (4213)fmb+10_1_fmbas=off:fmbsr=1.3:nm=2_1451 on theBenchmark for (1451ds/0Mi)
% 0.13/0.37  % (4215)dis-2_2:3_amm=sco:anc=none:bce=on:fsr=off:gsp=on:nm=16:nwc=1.2:nicw=on:sac=on:sp=weighted_frequency_476 on theBenchmark for (476ds/0Mi)
% 0.13/0.37  % (4214)fmb+10_1_bce=on:fmbas=expand:fmbksg=on:fmbsr=1.3_569 on theBenchmark for (569ds/0Mi)
% 0.13/0.37  TRYING [1]
% 0.13/0.37  Detected minimum model sizes of [1,1,1,1]
% 0.13/0.37  Detected maximum model sizes of [5,2,5,max]
% 0.13/0.37  TRYING [1]
% 0.13/0.37  TRYING [1,1,1,1]
% 0.13/0.37  % (4217)First to succeed.
% 0.13/0.37  TRYING [2]
% 0.13/0.38  TRYING [2]
% 0.13/0.38  TRYING [1,1,1,2]
% 0.13/0.38  Detected minimum model sizes of [1,1,1,1]
% 0.13/0.38  Detected maximum model sizes of [5,2,5,max]
% 0.13/0.38  % (4217)Solution written to "/export/starexec/sandbox/tmp/vampire-proof-4212"
% 0.13/0.38  TRYING [1,1,1,1]
% 0.13/0.38  % (4217)Refutation found. Thanks to Tanya!
% 0.13/0.38  % SZS status Unsatisfiable for theBenchmark
% 0.13/0.38  % SZS output start Proof for theBenchmark
% See solution above
% 0.13/0.38  % (4217)------------------------------
% 0.13/0.38  % (4217)Version: Vampire 4.8 (commit 3a798227e on 2024-05-03 07:42:47 +0200)
% 0.13/0.38  % (4217)Termination reason: Refutation
% 0.13/0.38  
% 0.13/0.38  % (4217)Memory used [KB]: 973
% 0.13/0.38  % (4217)Time elapsed: 0.012 s
% 0.13/0.38  % (4217)Instructions burned: 22 (million)
% 0.13/0.38  % (4212)Success in time 0.028 s
%------------------------------------------------------------------------------