↑ Up

Leo-III---1.8.0.UNS-Ref.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Leo-III---1.8.0
% Problem  : HWV007-1 : TPTP v9.3.1. Released v2.1.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39

% Computer : n014.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8046.5625MB
% OS       : Linux 6.8.0-71-generic
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Sun Sep 27 07:32:08 AM UTC 2026

% Result   : Unsatisfiable 5.39s 2.06s
% Output   : Refutation 5.39s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    2
%            Number of leaves      :   56
% Syntax   : Number of formulae    :  113 (  19 unt;   0 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  :    0 (   0   >;   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_decl,type,
    mode: $i > $i > $o ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

thf(197,plain,
    $false,
    inference(e,[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.00/0.03  % Problem  : HWV007-1 : TPTP v9.3.1. Released v2.1.0.
% 0.00/0.08  % Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 0.13/0.40  % Computer : n014.cluster.edu
% 0.13/0.40  % Model    : x86_64 x86_64
% 0.13/0.40  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.13/0.40  % Memory   : 8046.5625MB
% 0.13/0.40  % OS       : Linux 6.8.0-71-generic
% 0.13/0.40  % CPULimit : 300
% 0.13/0.40  % WCLimit  : 300
% 0.13/0.40  % DateTime : Fri Sep 25 15:59:49 UTC 2026
% 0.13/0.41  % CPUTime  : 
% 0.13/0.41  Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox/solver/bin/leo3.jar /export/starexec/sandbox/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox/solver/bin/externals/eprover --instantiate 39
% 0.69/0.72  % [INFO] 	 Parsing problem /export/starexec/sandbox/benchmark/theBenchmark.p ... 
% 0.91/0.87  % [INFO] 	 Parsing done (146ms). 
% 0.91/0.88  % [INFO] 	 Running in sequential loop mode. 
% 1.63/1.08  % [INFO] 	 eprover registered as external prover. 
% 1.63/1.08  % [INFO] 	 Scanning for conjecture ... 
% 1.90/1.15  % [INFO] 	 Found a conjecture (or negated_conjecture) and 51 axioms. Running axiom selection ... 
% 2.03/1.20  % [INFO] 	 Axiom selection finished. Selected 51 axioms (removed 0 axioms). 
% 2.03/1.25  % [INFO] 	 Problem is propositional (TPTP CNF). 
% 2.03/1.25  % [INFO] 	 Type checking passed. 
% 2.03/1.25  % [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 ... 
% 5.39/2.05  % External prover 'e' found a proof!
% 5.39/2.05  % [INFO] 	 Killing All external provers ... 
% 5.39/2.05  % Time passed: 1544ms (effective reasoning time: 1171ms)
% 5.39/2.06  % 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
% 5.39/2.06  % No. of inferences in proof: 113
% 5.39/2.06  % SZS status Unsatisfiable for /export/starexec/sandbox/benchmark/theBenchmark.p : 1544 ms resp. 1171 ms w/o parsing
% 5.39/2.14  % SZS output start Refutation for /export/starexec/sandbox/benchmark/theBenchmark.p
% See solution above
% 5.39/2.14  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------