TSTP Solution File: HWV007-1 by SnakeForV-SAT---1.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : SnakeForV-SAT---1.0
% Problem  : HWV007-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_sat --cores 0 -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 : Wed Aug 31 16:58:10 EDT 2022

% Result   : Unsatisfiable 0.14s 0.53s
% Output   : Refutation 0.14s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   40
%            Number of leaves      :   54
% Syntax   : Number of formulae    :  190 (  90 unt;   0 def)
%            Number of atoms       :  326 (   8 equ)
%            Maximal formula atoms :    5 (   1 avg)
%            Number of connectives :  257 ( 121   ~; 136   |;   0   &)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   2 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of predicates  :    7 (   5 usr;   1 prp; 0-2 aty)
%            Number of functors    :   29 (  29 usr;  21 con; 0-2 aty)
%            Number of variables   :   61 (  61   !;   0   ?)

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

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

fof(f423,plain,
    equal_value(n1,n0),
    inference(resolution,[],[f410,f262]) ).

fof(f262,plain,
    ! [X0] :
      ( ~ value(out(n1,sF0),X0)
      | equal_value(X0,n0) ),
    inference(resolution,[],[f256,f3]) ).

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

fof(f256,plain,
    value(out(n1,sF0),n0),
    inference(resolution,[],[f162,f51]) ).

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

fof(f162,plain,
    ! [X1] :
      ( ~ value(out(c,f),X1)
      | value(out(n1,sF0),X1) ),
    inference(resolution,[],[f145,f1]) ).

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

fof(f145,plain,
    connection(out(c,f),out(n1,sF0)),
    inference(forward_demodulation,[],[f144,f57]) ).

fof(f57,plain,
    or1(f) = sF0,
    introduced(function_definition,[]) ).

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

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

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(f410,plain,
    value(out(n1,sF0),n1),
    inference(resolution,[],[f409,f298]) ).

fof(f298,plain,
    ( ~ mode(sF0,ok)
    | value(out(n1,sF0),n1) ),
    inference(subsumption_resolution,[],[f295,f82]) ).

fof(f82,plain,
    type(sF0,or),
    inference(forward_demodulation,[],[f81,f57]) ).

fof(f81,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(f295,plain,
    ( value(out(n1,sF0),n1)
    | ~ mode(sF0,ok)
    | ~ type(sF0,or) ),
    inference(resolution,[],[f292,f13]) ).

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

fof(f292,plain,
    value(in(n2,sF0),n1),
    inference(resolution,[],[f291,f189]) ).

fof(f189,plain,
    ! [X1] :
      ( ~ value(out(c,sF1),X1)
      | value(in(n2,sF0),X1) ),
    inference(resolution,[],[f183,f1]) ).

fof(f183,plain,
    connection(out(c,sF1),in(n2,sF0)),
    inference(forward_demodulation,[],[f182,f58]) ).

fof(f58,plain,
    h1(f) = sF1,
    introduced(function_definition,[]) ).

fof(f182,plain,
    connection(out(c,h1(f)),in(n2,sF0)),
    inference(forward_demodulation,[],[f181,f57]) ).

fof(f181,plain,
    connection(out(c,h1(f)),in(n2,or1(f))),
    inference(resolution,[],[f39,f46]) ).

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

fof(f291,plain,
    value(out(c,sF1),n1),
    inference(resolution,[],[f200,f283]) ).

fof(f283,plain,
    value(out(n1,sF5),n1),
    inference(subsumption_resolution,[],[f282,f77]) ).

fof(f77,plain,
    type(sF5,and),
    inference(forward_demodulation,[],[f74,f64]) ).

fof(f64,plain,
    sF5 = and2(sF1),
    introduced(function_definition,[]) ).

fof(f74,plain,
    type(and2(sF1),and),
    inference(resolution,[],[f71,f23]) ).

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

fof(f71,plain,
    type(sF1,halfadder),
    inference(forward_demodulation,[],[f70,f58]) ).

fof(f70,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(f282,plain,
    ( ~ type(sF5,and)
    | value(out(n1,sF5),n1) ),
    inference(subsumption_resolution,[],[f281,f274]) ).

fof(f274,plain,
    value(in(n2,sF5),n1),
    inference(resolution,[],[f195,f248]) ).

fof(f248,plain,
    value(in(n2,sF1),n1),
    inference(resolution,[],[f158,f49]) ).

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

fof(f158,plain,
    ! [X1] :
      ( ~ value(in(c,f),X1)
      | value(in(n2,sF1),X1) ),
    inference(resolution,[],[f141,f1]) ).

fof(f141,plain,
    connection(in(c,f),in(n2,sF1)),
    inference(forward_demodulation,[],[f140,f58]) ).

fof(f140,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(f195,plain,
    ! [X1] :
      ( ~ value(in(n2,sF1),X1)
      | value(in(n2,sF5),X1) ),
    inference(resolution,[],[f118,f1]) ).

fof(f118,plain,
    connection(in(n2,sF1),in(n2,sF5)),
    inference(forward_demodulation,[],[f116,f64]) ).

fof(f116,plain,
    connection(in(n2,sF1),in(n2,and2(sF1))),
    inference(resolution,[],[f29,f71]) ).

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(f281,plain,
    ( ~ value(in(n2,sF5),n1)
    | ~ type(sF5,and)
    | value(out(n1,sF5),n1) ),
    inference(subsumption_resolution,[],[f275,f101]) ).

fof(f101,plain,
    mode(sF5,ok),
    inference(subsumption_resolution,[],[f99,f65]) ).

fof(f65,plain,
    ~ mode(sF5,abnormal),
    inference(definition_folding,[],[f52,f64,f58]) ).

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

fof(f99,plain,
    ( mode(sF5,abnormal)
    | mode(sF5,ok) ),
    inference(resolution,[],[f7,f77]) ).

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(f275,plain,
    ( ~ mode(sF5,ok)
    | ~ type(sF5,and)
    | value(out(n1,sF5),n1)
    | ~ value(in(n2,sF5),n1) ),
    inference(resolution,[],[f273,f9]) ).

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

fof(f273,plain,
    value(in(n1,sF5),n1),
    inference(resolution,[],[f193,f241]) ).

fof(f241,plain,
    value(in(n1,sF1),n1),
    inference(resolution,[],[f156,f48]) ).

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

fof(f156,plain,
    ! [X1] :
      ( ~ value(in(n2,f),X1)
      | value(in(n1,sF1),X1) ),
    inference(resolution,[],[f139,f1]) ).

fof(f139,plain,
    connection(in(n2,f),in(n1,sF1)),
    inference(forward_demodulation,[],[f138,f58]) ).

fof(f138,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(f193,plain,
    ! [X1] :
      ( ~ value(in(n1,sF1),X1)
      | value(in(n1,sF5),X1) ),
    inference(resolution,[],[f111,f1]) ).

fof(f111,plain,
    connection(in(n1,sF1),in(n1,sF5)),
    inference(forward_demodulation,[],[f109,f64]) ).

fof(f109,plain,
    connection(in(n1,sF1),in(n1,and2(sF1))),
    inference(resolution,[],[f28,f71]) ).

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(f200,plain,
    ! [X0] :
      ( ~ value(out(n1,sF5),X0)
      | value(out(c,sF1),X0) ),
    inference(resolution,[],[f131,f2]) ).

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

fof(f131,plain,
    connection(out(c,sF1),out(n1,sF5)),
    inference(forward_demodulation,[],[f129,f64]) ).

fof(f129,plain,
    connection(out(c,sF1),out(n1,and2(sF1))),
    inference(resolution,[],[f31,f71]) ).

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(f409,plain,
    mode(sF0,ok),
    inference(subsumption_resolution,[],[f406,f4]) ).

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

fof(f406,plain,
    ( equal_value(n0,n1)
    | mode(sF0,ok) ),
    inference(resolution,[],[f391,f255]) ).

fof(f255,plain,
    ! [X0] :
      ( ~ value(out(s,sF3),X0)
      | equal_value(X0,n1) ),
    inference(resolution,[],[f253,f3]) ).

fof(f253,plain,
    value(out(s,sF3),n1),
    inference(resolution,[],[f160,f50]) ).

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

fof(f160,plain,
    ! [X1] :
      ( ~ value(out(s,f),X1)
      | value(out(s,sF3),X1) ),
    inference(resolution,[],[f143,f1]) ).

fof(f143,plain,
    connection(out(s,f),out(s,sF3)),
    inference(forward_demodulation,[],[f142,f61]) ).

fof(f61,plain,
    h2(f) = sF3,
    introduced(function_definition,[]) ).

fof(f142,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(f391,plain,
    ( value(out(s,sF3),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f387,f196]) ).

fof(f196,plain,
    ! [X0] :
      ( ~ value(out(n1,sF4),X0)
      | value(out(s,sF3),X0) ),
    inference(resolution,[],[f123,f2]) ).

fof(f123,plain,
    connection(out(s,sF3),out(n1,sF4)),
    inference(forward_demodulation,[],[f122,f62]) ).

fof(f62,plain,
    sF4 = and1(sF3),
    introduced(function_definition,[]) ).

fof(f122,plain,
    connection(out(s,sF3),out(n1,and1(sF3))),
    inference(resolution,[],[f30,f80]) ).

fof(f80,plain,
    type(sF3,halfadder),
    inference(forward_demodulation,[],[f79,f61]) ).

fof(f79,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(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(f387,plain,
    ( value(out(n1,sF4),n0)
    | mode(sF0,ok) ),
    inference(subsumption_resolution,[],[f386,f95]) ).

fof(f95,plain,
    ( mode(sF0,abnormal)
    | mode(sF0,ok) ),
    inference(resolution,[],[f7,f82]) ).

fof(f386,plain,
    ( value(out(n1,sF4),n0)
    | ~ mode(sF0,abnormal)
    | mode(sF0,ok) ),
    inference(resolution,[],[f381,f146]) ).

fof(f146,plain,
    ( mode(sF4,ok)
    | ~ mode(sF0,abnormal) ),
    inference(resolution,[],[f112,f63]) ).

fof(f63,plain,
    ( ~ mode(sF4,abnormal)
    | ~ mode(sF0,abnormal) ),
    inference(definition_folding,[],[f55,f62,f61,f57]) ).

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

fof(f112,plain,
    ( mode(sF4,abnormal)
    | mode(sF4,ok) ),
    inference(resolution,[],[f88,f7]) ).

fof(f88,plain,
    type(sF4,and),
    inference(forward_demodulation,[],[f86,f62]) ).

fof(f86,plain,
    type(and1(sF3),and),
    inference(resolution,[],[f80,f22]) ).

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

fof(f381,plain,
    ( ~ mode(sF4,ok)
    | mode(sF0,ok)
    | value(out(n1,sF4),n0) ),
    inference(subsumption_resolution,[],[f378,f88]) ).

fof(f378,plain,
    ( ~ mode(sF4,ok)
    | ~ type(sF4,and)
    | mode(sF0,ok)
    | value(out(n1,sF4),n0) ),
    inference(resolution,[],[f371,f8]) ).

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

fof(f371,plain,
    ( value(in(n1,sF4),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f370,f203]) ).

fof(f203,plain,
    ! [X1] :
      ( ~ value(out(n1,sF6),X1)
      | value(in(n1,sF4),X1) ),
    inference(resolution,[],[f151,f1]) ).

fof(f151,plain,
    connection(out(n1,sF6),in(n1,sF4)),
    inference(forward_demodulation,[],[f150,f66]) ).

fof(f66,plain,
    or1(sF3) = sF6,
    introduced(function_definition,[]) ).

fof(f150,plain,
    connection(out(n1,or1(sF3)),in(n1,sF4)),
    inference(forward_demodulation,[],[f149,f62]) ).

fof(f149,plain,
    connection(out(n1,or1(sF3)),in(n1,and1(sF3))),
    inference(resolution,[],[f32,f80]) ).

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(f370,plain,
    ( value(out(n1,sF6),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f369,f95]) ).

fof(f369,plain,
    ( ~ mode(sF0,abnormal)
    | value(out(n1,sF6),n0) ),
    inference(subsumption_resolution,[],[f368,f6]) ).

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

fof(f368,plain,
    ( mode(sF0,ok)
    | value(out(n1,sF6),n0)
    | ~ mode(sF0,abnormal) ),
    inference(resolution,[],[f352,f136]) ).

fof(f136,plain,
    ( mode(sF6,ok)
    | ~ mode(sF0,abnormal) ),
    inference(resolution,[],[f102,f67]) ).

fof(f67,plain,
    ( ~ mode(sF6,abnormal)
    | ~ mode(sF0,abnormal) ),
    inference(definition_folding,[],[f56,f66,f61,f57]) ).

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

fof(f102,plain,
    ( mode(sF6,abnormal)
    | mode(sF6,ok) ),
    inference(resolution,[],[f87,f7]) ).

fof(f87,plain,
    type(sF6,or),
    inference(forward_demodulation,[],[f83,f66]) ).

fof(f83,plain,
    type(or1(sF3),or),
    inference(resolution,[],[f80,f25]) ).

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

fof(f352,plain,
    ( ~ mode(sF6,ok)
    | value(out(n1,sF6),n0)
    | mode(sF0,ok) ),
    inference(subsumption_resolution,[],[f351,f87]) ).

fof(f351,plain,
    ( value(out(n1,sF6),n0)
    | ~ mode(sF6,ok)
    | ~ type(sF6,or)
    | mode(sF0,ok) ),
    inference(subsumption_resolution,[],[f347,f267]) ).

fof(f267,plain,
    value(in(n1,sF6),n0),
    inference(resolution,[],[f168,f235]) ).

fof(f235,plain,
    value(in(n1,sF3),n0),
    inference(resolution,[],[f154,f47]) ).

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

fof(f154,plain,
    ! [X1] :
      ( ~ value(in(n1,f),X1)
      | value(in(n1,sF3),X1) ),
    inference(resolution,[],[f135,f1]) ).

fof(f135,plain,
    connection(in(n1,f),in(n1,sF3)),
    inference(forward_demodulation,[],[f134,f61]) ).

fof(f134,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(f168,plain,
    ! [X1] :
      ( ~ value(in(n1,sF3),X1)
      | value(in(n1,sF6),X1) ),
    inference(resolution,[],[f105,f1]) ).

fof(f105,plain,
    connection(in(n1,sF3),in(n1,sF6)),
    inference(forward_demodulation,[],[f104,f66]) ).

fof(f104,plain,
    connection(in(n1,sF3),in(n1,or1(sF3))),
    inference(resolution,[],[f26,f80]) ).

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(f347,plain,
    ( ~ value(in(n1,sF6),n0)
    | value(out(n1,sF6),n0)
    | ~ mode(sF6,ok)
    | mode(sF0,ok)
    | ~ type(sF6,or) ),
    inference(resolution,[],[f343,f14]) ).

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

fof(f343,plain,
    ( value(in(n2,sF6),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f339,f180]) ).

fof(f180,plain,
    ! [X1] :
      ( ~ value(in(n2,sF3),X1)
      | value(in(n2,sF6),X1) ),
    inference(resolution,[],[f108,f1]) ).

fof(f108,plain,
    connection(in(n2,sF3),in(n2,sF6)),
    inference(forward_demodulation,[],[f107,f66]) ).

fof(f107,plain,
    connection(in(n2,sF3),in(n2,or1(sF3))),
    inference(resolution,[],[f27,f80]) ).

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(f339,plain,
    ( value(in(n2,sF3),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f332,f178]) ).

fof(f178,plain,
    ! [X1] :
      ( ~ value(out(s,sF1),X1)
      | value(in(n2,sF3),X1) ),
    inference(resolution,[],[f176,f1]) ).

fof(f176,plain,
    connection(out(s,sF1),in(n2,sF3)),
    inference(forward_demodulation,[],[f175,f58]) ).

fof(f175,plain,
    connection(out(s,h1(f)),in(n2,sF3)),
    inference(forward_demodulation,[],[f174,f61]) ).

fof(f174,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(f332,plain,
    ( value(out(s,sF1),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f331,f198]) ).

fof(f198,plain,
    ! [X0] :
      ( ~ value(out(n1,sF2),X0)
      | value(out(s,sF1),X0) ),
    inference(resolution,[],[f124,f2]) ).

fof(f124,plain,
    connection(out(s,sF1),out(n1,sF2)),
    inference(forward_demodulation,[],[f121,f59]) ).

fof(f59,plain,
    and1(sF1) = sF2,
    introduced(function_definition,[]) ).

fof(f121,plain,
    connection(out(s,sF1),out(n1,and1(sF1))),
    inference(resolution,[],[f30,f71]) ).

fof(f331,plain,
    ( value(out(n1,sF2),n0)
    | mode(sF0,ok) ),
    inference(subsumption_resolution,[],[f330,f95]) ).

fof(f330,plain,
    ( ~ mode(sF0,abnormal)
    | value(out(n1,sF2),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f323,f127]) ).

fof(f127,plain,
    ( mode(sF2,ok)
    | ~ mode(sF0,abnormal) ),
    inference(resolution,[],[f97,f60]) ).

fof(f60,plain,
    ( ~ mode(sF2,abnormal)
    | ~ mode(sF0,abnormal) ),
    inference(definition_folding,[],[f53,f59,f58,f57]) ).

fof(f53,axiom,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(and1(h1(f)),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_and1h1) ).

fof(f97,plain,
    ( mode(sF2,abnormal)
    | mode(sF2,ok) ),
    inference(resolution,[],[f7,f76]) ).

fof(f76,plain,
    type(sF2,and),
    inference(forward_demodulation,[],[f75,f59]) ).

fof(f75,plain,
    type(and1(sF1),and),
    inference(resolution,[],[f71,f22]) ).

fof(f323,plain,
    ( ~ mode(sF2,ok)
    | mode(sF0,ok)
    | value(out(n1,sF2),n0) ),
    inference(subsumption_resolution,[],[f320,f76]) ).

fof(f320,plain,
    ( ~ mode(sF2,ok)
    | value(out(n1,sF2),n0)
    | mode(sF0,ok)
    | ~ type(sF2,and) ),
    inference(resolution,[],[f313,f8]) ).

fof(f313,plain,
    ( value(in(n2,sF2),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f312,f207]) ).

fof(f207,plain,
    ! [X1] :
      ( ~ value(out(n1,sF7),X1)
      | value(in(n2,sF2),X1) ),
    inference(resolution,[],[f172,f1]) ).

fof(f172,plain,
    connection(out(n1,sF7),in(n2,sF2)),
    inference(forward_demodulation,[],[f171,f68]) ).

fof(f68,plain,
    not1(sF1) = sF7,
    introduced(function_definition,[]) ).

fof(f171,plain,
    connection(out(n1,not1(sF1)),in(n2,sF2)),
    inference(forward_demodulation,[],[f169,f59]) ).

fof(f169,plain,
    connection(out(n1,not1(sF1)),in(n2,and1(sF1))),
    inference(resolution,[],[f34,f71]) ).

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(f312,plain,
    ( value(out(n1,sF7),n0)
    | mode(sF0,ok) ),
    inference(resolution,[],[f310,f95]) ).

fof(f310,plain,
    ( ~ mode(sF0,abnormal)
    | value(out(n1,sF7),n0) ),
    inference(resolution,[],[f306,f132]) ).

fof(f132,plain,
    ( mode(sF7,ok)
    | ~ mode(sF0,abnormal) ),
    inference(resolution,[],[f100,f69]) ).

fof(f69,plain,
    ( ~ mode(sF7,abnormal)
    | ~ mode(sF0,abnormal) ),
    inference(definition_folding,[],[f54,f68,f58,f57]) ).

fof(f54,axiom,
    ( ~ mode(or1(f),abnormal)
    | ~ mode(not1(h1(f)),abnormal) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_not1h1) ).

fof(f100,plain,
    ( mode(sF7,abnormal)
    | mode(sF7,ok) ),
    inference(resolution,[],[f7,f78]) ).

fof(f78,plain,
    type(sF7,not),
    inference(forward_demodulation,[],[f73,f68]) ).

fof(f73,plain,
    type(not1(sF1),not),
    inference(resolution,[],[f71,f24]) ).

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

fof(f306,plain,
    ( ~ mode(sF7,ok)
    | value(out(n1,sF7),n0) ),
    inference(subsumption_resolution,[],[f302,f78]) ).

fof(f302,plain,
    ( value(out(n1,sF7),n0)
    | ~ type(sF7,not)
    | ~ mode(sF7,ok) ),
    inference(resolution,[],[f300,f19]) ).

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

fof(f300,plain,
    value(in(n1,sF7),n1),
    inference(resolution,[],[f205,f283]) ).

fof(f205,plain,
    ! [X1] :
      ( ~ value(out(n1,sF5),X1)
      | value(in(n1,sF7),X1) ),
    inference(resolution,[],[f166,f1]) ).

fof(f166,plain,
    connection(out(n1,sF5),in(n1,sF7)),
    inference(forward_demodulation,[],[f165,f64]) ).

fof(f165,plain,
    connection(out(n1,and2(sF1)),in(n1,sF7)),
    inference(forward_demodulation,[],[f163,f68]) ).

fof(f163,plain,
    connection(out(n1,and2(sF1)),in(n1,not1(sF1))),
    inference(resolution,[],[f33,f71]) ).

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) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.09/0.10  % Problem    : HWV007-1 : TPTP v8.1.0. Released v2.1.0.
% 0.09/0.10  % Command    : vampire --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_sat --cores 0 -t %d %s
% 0.09/0.30  % Computer : n012.cluster.edu
% 0.09/0.30  % Model    : x86_64 x86_64
% 0.09/0.30  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.09/0.30  % Memory   : 8042.1875MB
% 0.09/0.30  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.09/0.30  % CPULimit   : 300
% 0.09/0.30  % WCLimit    : 300
% 0.09/0.30  % DateTime   : Mon Aug 29 22:55:06 EDT 2022
% 0.09/0.30  % CPUTime    : 
% 0.14/0.46  % (5335)dis+10_1:1_fsd=on:sp=occurrence:i=7:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/7Mi)
% 0.14/0.47  % (5344)dis+34_1:32_abs=on:add=off:bsr=on:gsp=on:sp=weighted_frequency:i=99:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99Mi)
% 0.14/0.47  % (5336)dis+2_1:64_add=large:bce=on:bd=off:i=2:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/2Mi)
% 0.14/0.47  % (5336)Instruction limit reached!
% 0.14/0.47  % (5336)------------------------------
% 0.14/0.47  % (5336)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.14/0.47  % (5336)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.14/0.47  % (5336)Termination reason: Unknown
% 0.14/0.47  % (5336)Termination phase: Blocked clause elimination
% 0.14/0.47  
% 0.14/0.47  % (5336)Memory used [KB]: 895
% 0.14/0.47  % (5336)Time elapsed: 0.004 s
% 0.14/0.47  % (5336)Instructions burned: 4 (million)
% 0.14/0.47  % (5336)------------------------------
% 0.14/0.47  % (5336)------------------------------
% 0.14/0.47  % (5335)Instruction limit reached!
% 0.14/0.47  % (5335)------------------------------
% 0.14/0.47  % (5335)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.14/0.48  % (5351)ott+11_1:1_drc=off:nwc=5.0:slsq=on:slsqc=1:spb=goal_then_units:to=lpo:i=467:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/467Mi)
% 0.14/0.48  % (5335)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.14/0.48  % (5335)Termination reason: Unknown
% 0.14/0.48  % (5335)Termination phase: Saturation
% 0.14/0.48  
% 0.14/0.48  % (5335)Memory used [KB]: 5628
% 0.14/0.48  % (5335)Time elapsed: 0.105 s
% 0.14/0.48  % (5335)Instructions burned: 7 (million)
% 0.14/0.48  % (5335)------------------------------
% 0.14/0.48  % (5335)------------------------------
% 0.14/0.48  % (5352)ott+10_1:1_kws=precedence:tgt=ground:i=482:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/482Mi)
% 0.14/0.48  % (5343)ott+11_2:3_av=off:fde=unused:nwc=5.0:tgt=ground:i=75:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/75Mi)
% 0.14/0.50  % (5340)ott+10_1:28_bd=off:bs=on:tgt=ground:i=101:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/101Mi)
% 0.14/0.50  % (5338)ott+2_1:1_fsr=off:gsp=on:i=50:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/50Mi)
% 0.14/0.51  % (5328)fmb+10_1:1_bce=on:fmbsr=1.5:nm=4:skr=on:i=191324:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/191324Mi)
% 0.14/0.51  % (5345)fmb+10_1:1_bce=on:i=59:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/59Mi)
% 0.14/0.51  % (5333)dis+34_1:32_abs=on:add=off:bsr=on:gsp=on:sp=weighted_frequency:i=48:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/48Mi)
% 0.14/0.51  % (5331)ott+10_1:32_bd=off:fsr=off:newcnf=on:tgt=full:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.14/0.51  % (5334)fmb+10_1:1_fmbsr=2.0:nm=4:skr=on:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.14/0.51  % (5330)ott+4_1:1_av=off:bd=off:nwc=5.0:s2a=on:s2at=2.0:slsq=on:slsqc=2:slsql=off:slsqr=1,2:sp=frequency:i=37:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/37Mi)
% 0.14/0.51  % (5332)ott+33_1:4_s2a=on:tgt=ground:i=51:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/51Mi)
% 0.14/0.51  % (5353)ott+10_1:5_bd=off:tgt=full:i=500:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/500Mi)
% 0.14/0.52  % (5350)dis+21_1:1_av=off:er=filter:slsq=on:slsqc=0:slsqr=1,1:sp=frequency:to=lpo:i=498:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/498Mi)
% 0.14/0.52  % (5356)ott+33_1:4_s2a=on:tgt=ground:i=439:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/439Mi)
% 0.14/0.52  % (5343)First to succeed.
% 0.14/0.52  % (5346)ott+10_1:1_tgt=ground:i=100:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/100Mi)
% 0.14/0.53  % (5357)ott+10_7:2_awrs=decay:awrsf=8:bd=preordered:drc=off:fd=preordered:fde=unused:fsr=off:slsq=on:slsqc=2:slsqr=5,8:sp=const_min:spb=units:to=lpo:i=355:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/355Mi)
% 0.14/0.53  % (5355)ott+11_2:3_av=off:fde=unused:nwc=5.0:tgt=ground:i=177:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/177Mi)
% 0.14/0.53  % (5347)ott+4_1:1_av=off:bd=off:nwc=5.0:rp=on:s2a=on:s2at=2.0:slsq=on:slsqc=2:slsql=off:slsqr=1,2:sp=frequency:i=100:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/100Mi)
% 0.14/0.53  % (5341)ott+10_1:5_bd=off:tgt=full:i=99:si=on:rawr=on:rtra=on_0 on theBenchmark for (2999ds/99Mi)
% 0.14/0.53  % (5343)Refutation found. Thanks to Tanya!
% 0.14/0.53  % SZS status Unsatisfiable for theBenchmark
% 0.14/0.53  % SZS output start Proof for theBenchmark
% See solution above
% 0.14/0.53  % (5343)------------------------------
% 0.14/0.53  % (5343)Version: Vampire 4.7 (commit 807e37dd9 on 2022-08-23 09:55:27 +0200)
% 0.14/0.53  % (5343)Linked with Z3 4.8.13.0 f03d756e086f81f2596157241e0decfb1c982299 z3-4.8.4-5390-gf03d756e0
% 0.14/0.53  % (5343)Termination reason: Refutation
% 0.14/0.53  
% 0.14/0.53  % (5343)Memory used [KB]: 1279
% 0.14/0.53  % (5343)Time elapsed: 0.153 s
% 0.14/0.53  % (5343)Instructions burned: 21 (million)
% 0.14/0.53  % (5343)------------------------------
% 0.14/0.53  % (5343)------------------------------
% 0.14/0.53  % (5327)Success in time 0.222 s
%------------------------------------------------------------------------------