TSTP Solution File: HWV007-1 by Leo-III---1.7.7

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Leo-III---1.7.7
% Problem  : HWV007-1 : TPTP v8.1.2. Released v2.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_Leo-III %s %d

% Computer : n019.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 : Fri May 19 11:17:04 EDT 2023

% Result   : Unsatisfiable 4.57s 2.07s
% Output   : Refutation 4.76s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    2
%            Number of leaves      :   82
% Syntax   : Number of formulae    :  139 (  19 unt;  26 typ;   0 def)
%            Number of atoms       :  279 (   0 equ;   0 cnn)
%            Maximal formula atoms :    5 (   2 avg)
%            Number of connectives : 1270 ( 176   ~; 166   |;   0   &; 928   @)
%                                         (   0 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   11 (   7 avg)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   20 (  20   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   27 (  26 usr;  14 con; 0-2 aty)
%            Number of variables   :  104 (   0   ^; 104   !;   0   ?; 104   :)

% Comments : 
%------------------------------------------------------------------------------
thf(mode_type,type,
    mode: $i > $i > $o ).

thf(and2_type,type,
    and2: $i > $i ).

thf(h1_type,type,
    h1: $i > $i ).

thf(f_type,type,
    f: $i ).

thf(abnormal_type,type,
    abnormal: $i ).

thf(or1_type,type,
    or1: $i > $i ).

thf(and1_type,type,
    and1: $i > $i ).

thf(not1_type,type,
    not1: $i > $i ).

thf(h2_type,type,
    h2: $i > $i ).

thf(connection_type,type,
    connection: $i > $i > $o ).

thf(value_type,type,
    value: $i > $i > $o ).

thf(equal_value_type,type,
    equal_value: $i > $i > $o ).

thf(n1_type,type,
    n1: $i ).

thf(n0_type,type,
    n0: $i ).

thf(in_type,type,
    in: $i > $i > $i ).

thf(ok_type,type,
    ok: $i ).

thf(type_type,type,
    type: $i > $i > $o ).

thf(not_type,type,
    not: $i ).

thf(out_type,type,
    out: $i > $i > $i ).

thf(halfadder_type,type,
    halfadder: $i ).

thf(c_type,type,
    c: $i ).

thf(and_type,type,
    and: $i ).

thf(or_type,type,
    or: $i ).

thf(n2_type,type,
    n2: $i ).

thf(fulladder_type,type,
    fulladder: $i ).

thf(s_type,type,
    s: $i ).

thf(35,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n2 @ A ) @ n0 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',and_0_00) ).

thf(120,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n2 @ A ) @ n0 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[35]) ).

thf(20,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n1 @ A ) @ n1 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_0_1_bw) ).

thf(92,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n1 @ A ) @ n1 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[20]) ).

thf(23,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n2 @ A ) @ ( in @ n2 @ ( and2 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_in2_in2and2) ).

thf(98,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n2 @ A ) @ ( in @ n2 @ ( and2 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[23]) ).

thf(31,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( not1 @ A ) @ not ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_not1) ).

thf(112,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( not1 @ A ) @ not ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[31]) ).

thf(50,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( in @ n1 @ A ) @ n1 )
      | ~ ( value @ ( in @ n2 @ A ) @ n1 )
      | ( value @ ( out @ n1 @ A ) @ n1 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',and_11_1) ).

thf(150,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( in @ n1 @ A ) @ n1 )
      | ~ ( value @ ( in @ n2 @ A ) @ n1 )
      | ( value @ ( out @ n1 @ A ) @ n1 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[50]) ).

thf(6,axiom,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( connection @ A @ B )
      | ~ ( value @ B @ C )
      | ( value @ A @ C ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',value_propagation2) ).

thf(67,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( connection @ A @ B )
      | ~ ( value @ B @ C )
      | ( value @ A @ C ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[6]) ).

thf(17,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( in @ n1 @ A ) @ n1 )
      | ( value @ ( out @ n1 @ A ) @ n0 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_1_0_fw) ).

thf(87,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( in @ n1 @ A ) @ n1 )
      | ( value @ ( out @ n1 @ A ) @ n0 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[17]) ).

thf(32,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( in @ B @ A ) @ n0 )
      | ( value @ ( out @ n1 @ A ) @ n0 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',and_0x_0) ).

thf(114,plain,
    ! [B: $i,A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( in @ B @ A ) @ n0 )
      | ( value @ ( out @ n1 @ A ) @ n0 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[32]) ).

thf(48,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n2 @ A ) @ n0 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',or_0_01) ).

thf(146,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n2 @ A ) @ n0 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[48]) ).

thf(7,axiom,
    ~ ( equal_value @ n1 @ n0 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',equal_value2) ).

thf(69,plain,
    ~ ( equal_value @ n1 @ n0 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[7]) ).

thf(44,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ c @ A ) @ ( out @ n1 @ ( and2 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_outc_out1and2) ).

thf(138,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ c @ A ) @ ( out @ n1 @ ( and2 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[44]) ).

thf(46,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( in @ n2 @ A ) @ ( in @ n1 @ ( h1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_in2_in1h1) ).

thf(142,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( in @ n2 @ A ) @ ( in @ n1 @ ( h1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[46]) ).

thf(52,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( in @ c @ A ) @ ( in @ n2 @ ( h1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_inc_in2h1) ).

thf(153,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( in @ c @ A ) @ ( in @ n2 @ ( h1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[52]) ).

thf(30,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ n1 @ ( not1 @ A ) ) @ ( in @ n2 @ ( and1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_out1not1_in2and1) ).

thf(110,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ n1 @ ( not1 @ A ) ) @ ( in @ n2 @ ( and1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[30]) ).

thf(54,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( in @ n1 @ A ) @ ( in @ n1 @ ( h2 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_in1_in1h2) ).

thf(157,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( in @ n1 @ A ) @ ( in @ n1 @ ( h2 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[54]) ).

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

thf(152,plain,
    value @ ( out @ s @ f ) @ n1,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[51]) ).

thf(5,negated_conjecture,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( or1 @ ( h2 @ f ) ) @ abnormal ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_or1h2) ).

thf(57,plain,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( or1 @ ( h2 @ f ) ) @ abnormal ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[5]) ).

thf(12,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n1 @ A ) @ n0 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_1_0_bw) ).

thf(78,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n1 @ A ) @ n0 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[12]) ).

thf(4,negated_conjecture,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( and1 @ ( h2 @ f ) ) @ abnormal ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_and1h2) ).

thf(61,plain,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( and1 @ ( h2 @ f ) ) @ abnormal ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[4]) ).

thf(41,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ c @ ( h1 @ A ) ) @ ( in @ n2 @ ( or1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outch1_in2or1) ).

thf(132,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ c @ ( h1 @ A ) ) @ ( in @ n2 @ ( or1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[41]) ).

thf(18,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n2 @ A ) @ n1 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',or_1_11) ).

thf(89,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n2 @ A ) @ n1 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[18]) ).

thf(33,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ c @ A ) @ ( out @ n1 @ ( or1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outc_out1or1) ).

thf(116,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ c @ A ) @ ( out @ n1 @ ( or1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[33]) ).

thf(3,negated_conjecture,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( not1 @ ( h1 @ f ) ) @ abnormal ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_not1h1) ).

thf(60,plain,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( not1 @ ( h1 @ f ) ) @ abnormal ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[3]) ).

thf(16,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n1 @ A ) @ ( in @ n1 @ ( or1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_in1_in1or1) ).

thf(85,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n1 @ A ) @ ( in @ n1 @ ( or1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[16]) ).

thf(25,axiom,
    type @ f @ fulladder,
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',f_isa_fulladder) ).

thf(102,plain,
    type @ f @ fulladder,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[25]) ).

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

thf(109,plain,
    value @ ( in @ c @ f ) @ n1,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[29]) ).

thf(37,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( type @ ( h1 @ A ) @ halfadder ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_halfadder1) ).

thf(124,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( type @ ( h1 @ A ) @ halfadder ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[37]) ).

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

thf(77,plain,
    value @ ( in @ n1 @ f ) @ n0,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[11]) ).

thf(22,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n1 @ A ) @ ( in @ n1 @ ( and2 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_in1_in1and2) ).

thf(96,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n1 @ A ) @ ( in @ n1 @ ( and2 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[22]) ).

thf(42,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ s @ A ) @ ( out @ s @ ( h2 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outs_outsh2) ).

thf(134,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ s @ A ) @ ( out @ s @ ( h2 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[42]) ).

thf(9,axiom,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( value @ A @ B )
      | ~ ( value @ A @ C )
      | ( equal_value @ B @ C ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',unique_value) ).

thf(73,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( value @ A @ B )
      | ~ ( value @ A @ C )
      | ( equal_value @ B @ C ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[9]) ).

thf(39,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n2 @ A ) @ ( in @ n2 @ ( or1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_in2_in2or1) ).

thf(128,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( in @ n2 @ A ) @ ( in @ n2 @ ( or1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[39]) ).

thf(27,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( type @ ( or1 @ A ) @ or ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_or1) ).

thf(105,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( type @ ( or1 @ A ) @ or ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[27]) ).

thf(49,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ n1 @ ( and2 @ A ) ) @ ( in @ n1 @ ( not1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_out1and2_in1not1) ).

thf(148,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ n1 @ ( and2 @ A ) ) @ ( in @ n1 @ ( not1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[49]) ).

thf(56,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( in @ n1 @ A ) @ n0 )
      | ( value @ ( out @ n1 @ A ) @ n1 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_0_1_fw) ).

thf(161,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ not )
      | ~ ( value @ ( in @ n1 @ A ) @ n0 )
      | ( value @ ( out @ n1 @ A ) @ n1 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[56]) ).

thf(2,negated_conjecture,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( and1 @ ( h1 @ f ) ) @ abnormal ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_or1_and1h1) ).

thf(59,plain,
    ( ~ ( mode @ ( or1 @ f ) @ abnormal )
    | ~ ( mode @ ( and1 @ ( h1 @ f ) ) @ abnormal ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(34,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( in @ n1 @ A ) @ n0 )
      | ~ ( value @ ( in @ n2 @ A ) @ n0 )
      | ( value @ ( out @ n1 @ A ) @ n0 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',or_00_0) ).

thf(118,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( in @ n1 @ A ) @ n0 )
      | ~ ( value @ ( in @ n2 @ A ) @ n0 )
      | ( value @ ( out @ n1 @ A ) @ n0 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[34]) ).

thf(8,axiom,
    ~ ( equal_value @ n0 @ n1 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',equal_value1) ).

thf(71,plain,
    ~ ( equal_value @ n0 @ n1 ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[8]) ).

thf(47,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ s @ A ) @ ( out @ n1 @ ( and1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_outs_out1and1) ).

thf(144,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ s @ A ) @ ( out @ n1 @ ( and1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[47]) ).

thf(55,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( type @ A @ B )
      | ( mode @ A @ ok )
      | ( mode @ A @ abnormal ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',ok_or_abnormal) ).

thf(159,plain,
    ! [B: $i,A: $i] :
      ( ~ ( type @ A @ B )
      | ( mode @ A @ ok )
      | ( mode @ A @ abnormal ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[55]) ).

thf(26,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( mode @ A @ abnormal ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',not_ok_and_abnormal) ).

thf(103,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( mode @ A @ abnormal ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[26]) ).

thf(45,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( and2 @ A ) @ and ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_and2) ).

thf(140,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( and2 @ A ) @ and ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[45]) ).

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

thf(91,plain,
    value @ ( in @ n2 @ f ) @ n1,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[19]) ).

thf(53,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ c @ ( h2 @ A ) ) @ ( in @ n1 @ ( or1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outch2_in1or1) ).

thf(155,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ c @ ( h2 @ A ) ) @ ( in @ n1 @ ( or1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[53]) ).

thf(40,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( type @ ( h2 @ A ) @ halfadder ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_halfadder2) ).

thf(130,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( type @ ( h2 @ A ) @ halfadder ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[40]) ).

thf(13,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ n1 @ ( or1 @ A ) ) @ ( in @ n1 @ ( and1 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_connection_out1or1_in1_and1) ).

thf(80,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( connection @ ( out @ n1 @ ( or1 @ A ) ) @ ( in @ n1 @ ( and1 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[13]) ).

thf(10,axiom,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( connection @ A @ B )
      | ~ ( value @ A @ C )
      | ( value @ B @ C ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',value_propagation1) ).

thf(75,plain,
    ! [C: $i,B: $i,A: $i] :
      ( ~ ( connection @ A @ B )
      | ~ ( value @ A @ C )
      | ( value @ B @ C ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[10]) ).

thf(1,negated_conjecture,
    ~ ( mode @ ( and2 @ ( h1 @ f ) ) @ abnormal ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',diagnosis_and2h1) ).

thf(58,plain,
    ~ ( mode @ ( and2 @ ( h1 @ f ) ) @ abnormal ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[1]) ).

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

thf(82,plain,
    value @ ( out @ c @ f ) @ n0,
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[14]) ).

thf(28,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ s @ ( h1 @ A ) ) @ ( in @ n2 @ ( h2 @ A ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',fulladder_connection_outsh1_in2h2) ).

thf(107,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ fulladder )
      | ( connection @ ( out @ s @ ( h1 @ A ) ) @ ( in @ n2 @ ( h2 @ A ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[28]) ).

thf(21,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( or1 @ A ) @ or ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_or1) ).

thf(94,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( or1 @ A ) @ or ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[21]) ).

thf(38,axiom,
    ! [B: $i,A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( in @ B @ A ) @ n1 )
      | ( value @ ( out @ n1 @ A ) @ n1 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',or_1x_1) ).

thf(126,plain,
    ! [B: $i,A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( in @ B @ A ) @ n1 )
      | ( value @ ( out @ n1 @ A ) @ n1 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[38]) ).

thf(43,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n1 @ A ) @ n1 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',and_1_1x) ).

thf(136,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n1 @ A ) @ n1 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[43]) ).

thf(36,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n2 @ A ) @ n1 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',and_1_x1) ).

thf(122,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ and )
      | ~ ( value @ ( out @ n1 @ A ) @ n1 )
      | ( value @ ( in @ n2 @ A ) @ n1 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[36]) ).

thf(15,axiom,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( and1 @ A ) @ and ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',halfadder_and1) ).

thf(83,plain,
    ! [A: $i] :
      ( ~ ( type @ A @ halfadder )
      | ( type @ ( and1 @ A ) @ and ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[15]) ).

thf(24,axiom,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n1 @ A ) @ n0 ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',or_0_0x) ).

thf(100,plain,
    ! [A: $i] :
      ( ~ ( mode @ A @ ok )
      | ~ ( type @ A @ or )
      | ~ ( value @ ( out @ n1 @ A ) @ n0 )
      | ( value @ ( in @ n1 @ A ) @ n0 ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[24]) ).

thf(175,plain,
    $false,
    inference(cvc4,[status(thm)],[120,92,98,112,150,67,87,114,146,69,138,142,153,110,157,152,57,78,61,132,89,116,60,85,102,109,124,77,96,134,73,128,105,148,161,59,118,71,144,159,103,140,91,155,130,80,75,58,82,107,94,126,136,122,83,100]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.06/0.12  % Problem  : HWV007-1 : TPTP v8.1.2. Released v2.1.0.
% 0.06/0.15  % Command  : run_Leo-III %s %d
% 0.16/0.37  % Computer : n019.cluster.edu
% 0.16/0.37  % Model    : x86_64 x86_64
% 0.16/0.37  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.16/0.37  % Memory   : 8042.1875MB
% 0.16/0.37  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.16/0.37  % CPULimit : 300
% 0.16/0.37  % WCLimit  : 300
% 0.16/0.37  % DateTime : Fri May 19 03:30:28 EDT 2023
% 0.16/0.37  % CPUTime  : 
% 0.98/0.86  % [INFO] 	 Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ... 
% 1.35/0.99  % [INFO] 	 Parsing done (134ms). 
% 1.35/1.00  % [INFO] 	 Running in sequential loop mode. 
% 1.73/1.20  % [INFO] 	 eprover registered as external prover. 
% 1.73/1.21  % [INFO] 	 cvc4 registered as external prover. 
% 1.73/1.21  % [INFO] 	 Scanning for conjecture ... 
% 1.99/1.29  % [INFO] 	 Found a conjecture and 51 axioms. Running axiom selection ... 
% 2.17/1.34  % [INFO] 	 Axiom selection finished. Selected 51 axioms (removed 0 axioms). 
% 2.31/1.39  % [INFO] 	 Problem is propositional (TPTP CNF). 
% 2.31/1.40  % [INFO] 	 Type checking passed. 
% 2.31/1.40  % [CONFIG] 	 Using configuration: timeout(300) with strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>.  Searching for refutation ... 
% 4.57/2.07  % External prover 'cvc4' found a proof!
% 4.57/2.07  % [INFO] 	 Killing All external provers ... 
% 4.57/2.07  % Time passed: 1550ms (effective reasoning time: 1068ms)
% 4.57/2.07  % Solved by strategy<name(default),share(1.0),primSubst(3),sos(false),unifierCount(4),uniDepth(8),boolExt(true),choice(true),renaming(true),funcspec(false), domConstr(0),specialInstances(39),restrictUniAttempts(true),termOrdering(CPO)>
% 4.57/2.07  % Axioms used in derivation (51): halfadder_connection_out1and2_in1not1, or_1_11, halfadder_connection_in2_in2and2, halfadder_not1, fulladder_connection_inc_in2h1, halfadder_connection_in2_in2or1, not_1_0_fw, value_propagation1, and_1_1x, halfadder_connection_in1_in1and2, fulladder_connection_outch1_in2or1, value_propagation2, not_0_1_bw, halfadder_and1, fulladder_connection_in1_in1h2, f_isa_fulladder, halfadder_connection_outs_out1and1, halfadder_connection_out1or1_in1_and1, halfadder_connection_outc_out1and2, not_0_1_fw, halfadder_or1, fulladder_or1, not_ok_and_abnormal, fulladder_connection_outsh1_in2h2, or_00_0, and_0_00, halfadder_and2, or_0_0x, ok_or_abnormal, fulladder_connection_outc_out1or1, or_0_01, outc_0, halfadder_connection_in1_in1or1, equal_value1, inc_1, in2_0, equal_value2, not_1_0_bw, fulladder_halfadder1, or_1x_1, halfadder_connection_out1not1_in2and1, outs_1, fulladder_connection_outch2_in1or1, fulladder_connection_outs_outsh2, and_11_1, fulladder_halfadder2, in1_1, unique_value, and_0x_0, fulladder_connection_in2_in1h1, and_1_x1
% 4.57/2.07  % No. of inferences in proof: 113
% 4.57/2.07  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : 1550 ms resp. 1068 ms w/o parsing
% 4.76/2.13  % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 4.76/2.13  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------