↑ Up

Leo-III---1.8.0.THM-Ref.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Leo-III---1.8.0
% Problem  : ALG264^3 : TPTP v9.3.1. Bugfixed v5.2.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39

% Computer : n010.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 : Wed Sep 30 07:45:05 AM UTC 2026

% Result   : Theorem 10.76s 3.28s
% Output   : Refutation 12.14s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    3
%            Number of leaves      :   41
% Syntax   : Number of formulae    :   44 (  43 unt;   0 typ;  40 def)
%            Number of atoms       :  222 ( 116 equ;   0 cnn)
%            Maximal formula atoms :   52 (   5 avg)
%            Number of connectives :  833 (  14   ~;   0   |;   6   &; 637   @)
%                                         (   0 <=>; 176  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   51 (   2 avg)
%            Number of types       :    3 (   2 usr)
%            Number of type conns  :   40 (  40   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   51 (  49 usr;  40 con; 0-4 aty)
%            Number of variables   :  258 (  10   ^; 248   !;   0   ?; 258   :)

% Comments : 
%------------------------------------------------------------------------------
thf(term_type,type,
    term: $tType ).

thf(subst_type,type,
    subst: $tType ).

thf(one_decl,type,
    one: term ).

thf(ap_decl,type,
    ap: term > term > term ).

thf(lam_decl,type,
    lam: term > term ).

thf(sub_decl,type,
    sub: term > subst > term ).

thf(id_decl,type,
    id: subst ).

thf(sh_decl,type,
    sh: subst ).

thf(push_decl,type,
    push: term > subst > subst ).

thf(comp_decl,type,
    comp: subst > subst > subst ).

thf(var_decl,type,
    var: term > $o ).

thf(axmap_decl,type,
    axmap: $o ).

thf(shinj_decl,type,
    shinj: $o ).

thf(hoasap_decl,type,
    hoasap: subst > term > subst > term > term ).

thf(induction2lem_decl,type,
    induction2lem: $o ).

thf(axvarshift_decl,type,
    axvarshift: $o ).

thf(hoasapinj2_decl,type,
    hoasapinj2: $o ).

thf(hoasapinj1_decl,type,
    hoasapinj1: $o ).

thf(ulamvar1_decl,type,
    ulamvar1: $o ).

thf(apnotvar_decl,type,
    apnotvar: $o ).

thf(hoaslaminj_decl,type,
    hoaslaminj: $o ).

thf(hoasapnotvar_decl,type,
    hoasapnotvar: $o ).

thf(axapp_decl,type,
    axapp: $o ).

thf(ulamvarind_decl,type,
    ulamvarind: $o ).

thf(induction_decl,type,
    induction: $o ).

thf(axclos_decl,type,
    axclos: $o ).

thf(axassoc_decl,type,
    axassoc: $o ).

thf(hoasinduction_lem2v2_decl,type,
    hoasinduction_lem2v2: $o ).

thf(apinj2_decl,type,
    apinj2: $o ).

thf(apinj1_decl,type,
    apinj1: $o ).

thf(axvarcons_decl,type,
    axvarcons: $o ).

thf(hoaslam_decl,type,
    hoaslam: subst > ( subst > term > term ) > term ).

thf(axscons_decl,type,
    axscons: $o ).

thf(hoasinduction_lem2v2_gthm_decl,type,
    hoasinduction_lem2v2_gthm: $o ).

thf(axidr_decl,type,
    axidr: $o ).

thf(laminj_decl,type,
    laminj: $o ).

thf(axabs_decl,type,
    axabs: $o ).

thf(hoasinduction_p_and_p_prime_decl,type,
    hoasinduction_p_and_p_prime: ( subst > term > subst > $o ) > ( term > $o ) > $o ).

thf(lamnotap_decl,type,
    lamnotap: $o ).

thf(hoaslamnotvar_decl,type,
    hoaslamnotvar: $o ).

thf(axidl_decl,type,
    axidl: $o ).

thf(pushprop_decl,type,
    pushprop: $o ).

thf(substmonoid_decl,type,
    substmonoid: $o ).

thf(lamnotvar_decl,type,
    lamnotvar: $o ).

thf(hoasvar_decl,type,
    hoasvar: subst > term > subst > $o ).

thf(hoaslamnotap_decl,type,
    hoaslamnotap: $o ).

thf(ulamvarsh_decl,type,
    ulamvarsh: $o ).

thf(induction2_decl,type,
    induction2: $o ).

thf(axshiftcons_decl,type,
    axshiftcons: $o ).

thf(termmset_decl,type,
    termmset: $o ).

thf(axvarid_decl,type,
    axvarid: $o ).

thf(axmap_def,definition,
    ( axmap
    = ( ! [A: term,B: subst,C: subst] :
          ( ( comp @ ( push @ A @ B ) @ C )
          = ( push @ ( sub @ A @ C ) @ ( comp @ B @ C ) ) ) ) ) ).

thf(shinj_def,definition,
    ( shinj
    = ( ! [A: term,B: term] :
          ( ( ( sub @ A @ sh )
            = ( sub @ B @ sh ) )
         => ( A = B ) ) ) ) ).

thf(hoasap_def,definition,
    ( hoasap
    = ( ^ [A: subst,B: term,C: subst] : ( ap @ ( sub @ B @ C ) ) ) ) ).

thf(induction2lem_def,definition,
    ( induction2lem
    = ( ! [A: term > $o] :
          ( ! [B: term,C: term] :
              ( ( A @ B )
             => ( ( A @ C )
               => ( A @ ( ap @ B @ C ) ) ) )
         => ( ! [B: term] :
                ( ! [C: term] :
                    ( ( A @ C )
                   => ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
               => ( A @ ( lam @ B ) ) )
           => ! [B: term,C: subst] :
                ( ! [D: term] :
                    ( ( var @ D )
                   => ( A @ ( sub @ D @ C ) ) )
               => ( A @ ( sub @ B @ C ) ) ) ) ) ) ) ).

thf(axvarshift_def,definition,
    ( axvarshift
    = ( ( push @ one @ sh )
      = id ) ) ).

thf(hoasapinj2_def,definition,
    ( hoasapinj2
    = ( ! [A: term,B: term,C: term,D: term] :
          ( ( ( hoasap @ id @ A @ id @ C )
            = ( hoasap @ id @ B @ id @ D ) )
         => ( C = D ) ) ) ) ).

thf(hoasapinj1_def,definition,
    ( hoasapinj1
    = ( ! [A: term,B: term,C: term,D: term] :
          ( ( ( hoasap @ id @ A @ id @ C )
            = ( hoasap @ id @ B @ id @ D ) )
         => ( A = B ) ) ) ) ).

thf(ulamvar1_def,definition,
    ( ulamvar1
    = ( var @ one ) ) ).

thf(apnotvar_def,definition,
    ( apnotvar
    = ( ! [A: term,B: term] :
          ~ ( var @ ( ap @ A @ B ) ) ) ) ).

thf(hoaslaminj_def,definition,
    ( hoaslaminj
    = ( ! [A: subst > term > term] :
          ( ! [B: subst,C: term,D: subst] :
              ( ( sub @ ( A @ B @ C ) @ D )
              = ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
         => ! [B: subst > term > term] :
              ( ! [C: subst,D: term,E: subst] :
                  ( ( sub @ ( B @ C @ D ) @ E )
                  = ( B @ ( comp @ C @ E ) @ ( sub @ D @ E ) ) )
             => ( ( ( hoaslam @ id @ A )
                  = ( hoaslam @ id @ B ) )
               => ! [C: subst,D: term] :
                    ( ( A @ C @ D )
                    = ( B @ C @ D ) ) ) ) ) ) ) ).

thf(hoasapnotvar_def,definition,
    ( hoasapnotvar
    = ( ! [A: term,B: term] :
          ~ ( hoasvar @ id @ ( hoasap @ id @ A @ id @ B ) @ id ) ) ) ).

thf(axapp_def,definition,
    ( axapp
    = ( ! [A: term,B: term,C: subst] :
          ( ( sub @ ( ap @ A @ B ) @ C )
          = ( ap @ ( sub @ A @ C ) @ ( sub @ B @ C ) ) ) ) ) ).

thf(ulamvarind_def,definition,
    ( ulamvarind
    = ( ! [A: term > $o] :
          ( ( A @ one )
         => ( ! [B: term] :
                ( ( var @ B )
               => ( ( A @ B )
                 => ( A @ ( sub @ B @ sh ) ) ) )
           => ! [B: term] :
                ( ( var @ B )
               => ( A @ B ) ) ) ) ) ) ).

thf(induction_def,definition,
    ( induction
    = ( ! [A: term > $o] :
          ( ! [B: term] :
              ( ( var @ B )
             => ( A @ B ) )
         => ( ! [B: term,C: term] :
                ( ( A @ B )
               => ( ( A @ C )
                 => ( A @ ( ap @ B @ C ) ) ) )
           => ( ! [B: term] :
                  ( ( A @ B )
                 => ( A @ ( lam @ B ) ) )
             => ! [B: term] : ( A @ B ) ) ) ) ) ) ).

thf(axclos_def,definition,
    ( axclos
    = ( ! [A: term,B: subst,C: subst] :
          ( ( sub @ ( sub @ A @ B ) @ C )
          = ( sub @ A @ ( comp @ B @ C ) ) ) ) ) ).

thf(axassoc_def,definition,
    ( axassoc
    = ( ! [A: subst,B: subst,C: subst] :
          ( ( comp @ ( comp @ A @ B ) @ C )
          = ( comp @ A @ ( comp @ B @ C ) ) ) ) ) ).

thf(hoasinduction_lem2v2_def,definition,
    ( hoasinduction_lem2v2
    = ( ! [A: subst > term > subst > $o,B: term > $o] :
          ( ! [C: subst,D: term,E: subst,F: subst] :
              ( ( A @ C @ D @ ( comp @ F @ E ) )
             => ( A @ ( comp @ C @ F ) @ ( sub @ D @ F ) @ E ) )
         => ( ! [C: subst,D: term,E: subst,F: subst] :
                ( ( A @ ( comp @ C @ F ) @ ( sub @ D @ F ) @ E )
               => ( A @ C @ D @ ( comp @ F @ E ) ) )
           => ( ! [C: term,D: term] :
                  ( ( A @ id @ C @ id )
                 => ( ( A @ id @ D @ id )
                   => ( A @ id @ ( hoasap @ id @ C @ id @ D ) @ id ) ) )
             => ( ( hoasinduction_p_and_p_prime @ A @ B )
               => ! [C: term,D: term] :
                    ( ( B @ C )
                   => ( ( B @ D )
                     => ( B @ ( ap @ C @ D ) ) ) ) ) ) ) ) ) ) ).

thf(apinj2_def,definition,
    ( apinj2
    = ( ! [A: term,B: term,C: term,D: term] :
          ( ( ( ap @ A @ C )
            = ( ap @ B @ D ) )
         => ( C = D ) ) ) ) ).

thf(apinj1_def,definition,
    ( apinj1
    = ( ! [A: term,B: term,C: term,D: term] :
          ( ( ( ap @ A @ C )
            = ( ap @ B @ D ) )
         => ( A = B ) ) ) ) ).

thf(axvarcons_def,definition,
    ( axvarcons
    = ( ! [A: term,B: subst] :
          ( ( sub @ one @ ( push @ A @ B ) )
          = A ) ) ) ).

thf(hoaslam_def,definition,
    ( hoaslam
    = ( ^ [A: subst,B: subst > term > term] : ( lam @ ( B @ sh @ one ) ) ) ) ).

thf(axscons_def,definition,
    ( axscons
    = ( ! [A: subst] :
          ( ( push @ ( sub @ one @ A ) @ ( comp @ sh @ A ) )
          = A ) ) ) ).

thf(hoasinduction_lem2v2_gthm_def,definition,
    ( hoasinduction_lem2v2_gthm
    = ( axapp
     => ( axvarcons
       => ( axvarid
         => ( axabs
           => ( axclos
             => ( axidl
               => ( axshiftcons
                 => ( axassoc
                   => ( axmap
                     => ( axidr
                       => ( axvarshift
                         => ( axscons
                           => ( ulamvar1
                             => ( ulamvarsh
                               => ( ulamvarind
                                 => ( apinj1
                                   => ( apinj2
                                     => ( laminj
                                       => ( shinj
                                         => ( lamnotap
                                           => ( apnotvar
                                             => ( lamnotvar
                                               => ( induction
                                                 => ( pushprop
                                                   => ( induction2lem
                                                     => ( induction2
                                                       => ( substmonoid
                                                         => ( termmset
                                                           => ( hoasapinj1
                                                             => ( hoasapinj2
                                                               => ( hoaslaminj
                                                                 => ( hoaslamnotap
                                                                   => ( hoaslamnotvar
                                                                     => ( hoasapnotvar
                                                                       => hoasinduction_lem2v2 ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ).

thf(axidr_def,definition,
    ( axidr
    = ( ! [A: subst] :
          ( ( comp @ A @ id )
          = A ) ) ) ).

thf(laminj_def,definition,
    ( laminj
    = ( ! [A: term,B: term] :
          ( ( ( lam @ A )
            = ( lam @ B ) )
         => ( A = B ) ) ) ) ).

thf(axabs_def,definition,
    ( axabs
    = ( ! [A: term,B: subst] :
          ( ( sub @ ( lam @ A ) @ B )
          = ( lam @ ( sub @ A @ ( push @ one @ ( comp @ B @ sh ) ) ) ) ) ) ) ).

thf(hoasinduction_p_and_p_prime_def,definition,
    ( hoasinduction_p_and_p_prime
    = ( ^ [A: subst > term > subst > $o,B: term > $o] :
        ! [C: term] :
          ( ( B @ C )
          = ( A @ id @ C @ id ) ) ) ) ).

thf(lamnotap_def,definition,
    ( lamnotap
    = ( ! [A: term,B: term,C: term] :
          ( ( lam @ A )
         != ( ap @ B @ C ) ) ) ) ).

thf(hoaslamnotvar_def,definition,
    ( hoaslamnotvar
    = ( ! [A: subst > term > term] :
          ( ! [B: subst,C: term,D: subst] :
              ( ( sub @ ( A @ B @ C ) @ D )
              = ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
         => ~ ( hoasvar @ id @ ( hoaslam @ id @ A ) @ id ) ) ) ) ).

thf(axidl_def,definition,
    ( axidl
    = ( ! [A: subst] :
          ( ( comp @ id @ A )
          = A ) ) ) ).

thf(pushprop_def,definition,
    ( pushprop
    = ( ! [A: term > $o,B: term,C: subst] :
          ( ! [D: term] :
              ( ( var @ D )
             => ( A @ ( sub @ D @ C ) ) )
         => ( ( A @ B )
           => ! [D: term] :
                ( ( var @ D )
               => ( A @ ( sub @ D @ ( push @ B @ C ) ) ) ) ) ) ) ) ).

thf(substmonoid_def,definition,
    ( substmonoid
    = ( ! [A: subst,B: subst,C: subst] :
          ( ( comp @ ( comp @ A @ B ) @ C )
          = ( comp @ A @ ( comp @ B @ C ) ) )
      & ! [A: subst] :
          ( ( comp @ id @ A )
          = A )
      & ! [A: subst] :
          ( ( comp @ A @ id )
          = A ) ) ) ).

thf(lamnotvar_def,definition,
    ( lamnotvar
    = ( ! [A: term] :
          ~ ( var @ ( lam @ A ) ) ) ) ).

thf(hoasvar_def,definition,
    ( hoasvar
    = ( ^ [A: subst,B: term,C: subst] : ( var @ ( sub @ B @ C ) ) ) ) ).

thf(hoaslamnotap_def,definition,
    ( hoaslamnotap
    = ( ! [A: subst > term > term] :
          ( ! [B: subst,C: term,D: subst] :
              ( ( sub @ ( A @ B @ C ) @ D )
              = ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
         => ! [B: term,C: term] :
              ( ( hoaslam @ id @ A )
             != ( hoasap @ id @ B @ id @ C ) ) ) ) ) ).

thf(ulamvarsh_def,definition,
    ( ulamvarsh
    = ( ! [A: term] :
          ( ( var @ A )
         => ( var @ ( sub @ A @ sh ) ) ) ) ) ).

thf(induction2_def,definition,
    ( induction2
    = ( ! [A: term > $o] :
          ( ! [B: term] :
              ( ( var @ B )
             => ( A @ B ) )
         => ( ! [B: term,C: term] :
                ( ( A @ B )
               => ( ( A @ C )
                 => ( A @ ( ap @ B @ C ) ) ) )
           => ( ! [B: term] :
                  ( ! [C: term] :
                      ( ( A @ C )
                     => ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
                 => ( A @ ( lam @ B ) ) )
             => ! [B: term] : ( A @ B ) ) ) ) ) ) ).

thf(axshiftcons_def,definition,
    ( axshiftcons
    = ( ! [A: term,B: subst] :
          ( ( comp @ sh @ ( push @ A @ B ) )
          = B ) ) ) ).

thf(termmset_def,definition,
    ( termmset
    = ( ! [A: term,B: subst,C: subst] :
          ( ( sub @ ( sub @ A @ B ) @ C )
          = ( sub @ A @ ( comp @ B @ C ) ) )
      & ! [A: term] :
          ( ( sub @ A @ id )
          = A ) ) ) ).

thf(axvarid_def,definition,
    ( axvarid
    = ( ! [A: term] :
          ( ( sub @ A @ id )
          = A ) ) ) ).

thf(1,conjecture,
    hoasinduction_lem2v2_gthm,
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',thm) ).

thf(2,negated_conjecture,
    ~ hoasinduction_lem2v2_gthm,
    inference(neg_conjecture,[status(cth)],[1]) ).

thf(3,plain,
    ~ ( ! [A: term,B: term,C: subst] :
          ( ( sub @ ( ap @ A @ B ) @ C )
          = ( ap @ ( sub @ A @ C ) @ ( sub @ B @ C ) ) )
     => ( ! [A: term,B: subst] :
            ( ( sub @ one @ ( push @ A @ B ) )
            = A )
       => ( ! [A: term] :
              ( ( sub @ A @ id )
              = A )
         => ( ! [A: term,B: subst] :
                ( ( sub @ ( lam @ A ) @ B )
                = ( lam @ ( sub @ A @ ( push @ one @ ( comp @ B @ sh ) ) ) ) )
           => ( ! [A: term,B: subst,C: subst] :
                  ( ( sub @ ( sub @ A @ B ) @ C )
                  = ( sub @ A @ ( comp @ B @ C ) ) )
             => ( ! [A: subst] :
                    ( ( comp @ id @ A )
                    = A )
               => ( ! [A: term,B: subst] :
                      ( ( comp @ sh @ ( push @ A @ B ) )
                      = B )
                 => ( ! [A: subst,B: subst,C: subst] :
                        ( ( comp @ ( comp @ A @ B ) @ C )
                        = ( comp @ A @ ( comp @ B @ C ) ) )
                   => ( ! [A: term,B: subst,C: subst] :
                          ( ( comp @ ( push @ A @ B ) @ C )
                          = ( push @ ( sub @ A @ C ) @ ( comp @ B @ C ) ) )
                     => ( ! [A: subst] :
                            ( ( comp @ A @ id )
                            = A )
                       => ( ( ( push @ one @ sh )
                            = id )
                         => ( ! [A: subst] :
                                ( ( push @ ( sub @ one @ A ) @ ( comp @ sh @ A ) )
                                = A )
                           => ( ( var @ one )
                             => ( ! [A: term] :
                                    ( ( var @ A )
                                   => ( var @ ( sub @ A @ sh ) ) )
                               => ( ! [A: term > $o] :
                                      ( ( A @ one )
                                     => ( ! [B: term] :
                                            ( ( var @ B )
                                           => ( ( A @ B )
                                             => ( A @ ( sub @ B @ sh ) ) ) )
                                       => ! [B: term] :
                                            ( ( var @ B )
                                           => ( A @ B ) ) ) )
                                 => ( ! [A: term,B: term,C: term,D: term] :
                                        ( ( ( ap @ A @ C )
                                          = ( ap @ B @ D ) )
                                       => ( A = B ) )
                                   => ( ! [A: term,B: term,C: term,D: term] :
                                          ( ( ( ap @ A @ C )
                                            = ( ap @ B @ D ) )
                                         => ( C = D ) )
                                     => ( ! [A: term,B: term] :
                                            ( ( ( lam @ A )
                                              = ( lam @ B ) )
                                           => ( A = B ) )
                                       => ( ! [A: term,B: term] :
                                              ( ( ( sub @ A @ sh )
                                                = ( sub @ B @ sh ) )
                                             => ( A = B ) )
                                         => ( ! [A: term,B: term,C: term] :
                                                ( ( lam @ A )
                                               != ( ap @ B @ C ) )
                                           => ( ! [A: term,B: term] :
                                                  ~ ( var @ ( ap @ A @ B ) )
                                             => ( ! [A: term] :
                                                    ~ ( var @ ( lam @ A ) )
                                               => ( ! [A: term > $o] :
                                                      ( ! [B: term] :
                                                          ( ( var @ B )
                                                         => ( A @ B ) )
                                                     => ( ! [B: term,C: term] :
                                                            ( ( A @ B )
                                                           => ( ( A @ C )
                                                             => ( A @ ( ap @ B @ C ) ) ) )
                                                       => ( ! [B: term] :
                                                              ( ( A @ B )
                                                             => ( A @ ( lam @ B ) ) )
                                                         => ! [B: term] : ( A @ B ) ) ) )
                                                 => ( ! [A: term > $o,B: term,C: subst] :
                                                        ( ! [D: term] :
                                                            ( ( var @ D )
                                                           => ( A @ ( sub @ D @ C ) ) )
                                                       => ( ( A @ B )
                                                         => ! [D: term] :
                                                              ( ( var @ D )
                                                             => ( A @ ( sub @ D @ ( push @ B @ C ) ) ) ) ) )
                                                   => ( ! [A: term > $o] :
                                                          ( ! [B: term,C: term] :
                                                              ( ( A @ B )
                                                             => ( ( A @ C )
                                                               => ( A @ ( ap @ B @ C ) ) ) )
                                                         => ( ! [B: term] :
                                                                ( ! [C: term] :
                                                                    ( ( A @ C )
                                                                   => ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
                                                               => ( A @ ( lam @ B ) ) )
                                                           => ! [B: term,C: subst] :
                                                                ( ! [D: term] :
                                                                    ( ( var @ D )
                                                                   => ( A @ ( sub @ D @ C ) ) )
                                                               => ( A @ ( sub @ B @ C ) ) ) ) )
                                                     => ( ! [A: term > $o] :
                                                            ( ! [B: term] :
                                                                ( ( var @ B )
                                                               => ( A @ B ) )
                                                           => ( ! [B: term,C: term] :
                                                                  ( ( A @ B )
                                                                 => ( ( A @ C )
                                                                   => ( A @ ( ap @ B @ C ) ) ) )
                                                             => ( ! [B: term] :
                                                                    ( ! [C: term] :
                                                                        ( ( A @ C )
                                                                       => ( A @ ( sub @ B @ ( push @ C @ id ) ) ) )
                                                                   => ( A @ ( lam @ B ) ) )
                                                               => ! [B: term] : ( A @ B ) ) ) )
                                                       => ( ( ! [A: subst,B: subst,C: subst] :
                                                                ( ( comp @ ( comp @ A @ B ) @ C )
                                                                = ( comp @ A @ ( comp @ B @ C ) ) )
                                                            & ! [A: subst] :
                                                                ( ( comp @ id @ A )
                                                                = A )
                                                            & ! [A: subst] :
                                                                ( ( comp @ A @ id )
                                                                = A ) )
                                                         => ( ( ! [A: term,B: subst,C: subst] :
                                                                  ( ( sub @ ( sub @ A @ B ) @ C )
                                                                  = ( sub @ A @ ( comp @ B @ C ) ) )
                                                              & ! [A: term] :
                                                                  ( ( sub @ A @ id )
                                                                  = A ) )
                                                           => ( ! [A: term,B: term,C: term,D: term] :
                                                                  ( ( ( ap @ ( sub @ A @ id ) @ C )
                                                                    = ( ap @ ( sub @ B @ id ) @ D ) )
                                                                 => ( A = B ) )
                                                             => ( ! [A: term,B: term,C: term,D: term] :
                                                                    ( ( ( ap @ ( sub @ A @ id ) @ C )
                                                                      = ( ap @ ( sub @ B @ id ) @ D ) )
                                                                   => ( C = D ) )
                                                               => ( ! [A: subst > term > term] :
                                                                      ( ! [B: subst,C: term,D: subst] :
                                                                          ( ( sub @ ( A @ B @ C ) @ D )
                                                                          = ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
                                                                     => ! [B: subst > term > term] :
                                                                          ( ! [C: subst,D: term,E: subst] :
                                                                              ( ( sub @ ( B @ C @ D ) @ E )
                                                                              = ( B @ ( comp @ C @ E ) @ ( sub @ D @ E ) ) )
                                                                         => ( ( ( lam @ ( A @ sh @ one ) )
                                                                              = ( lam @ ( B @ sh @ one ) ) )
                                                                           => ! [C: subst,D: term] :
                                                                                ( ( A @ C @ D )
                                                                                = ( B @ C @ D ) ) ) ) )
                                                                 => ( ! [A: subst > term > term] :
                                                                        ( ! [B: subst,C: term,D: subst] :
                                                                            ( ( sub @ ( A @ B @ C ) @ D )
                                                                            = ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
                                                                       => ! [B: term,C: term] :
                                                                            ( ( lam @ ( A @ sh @ one ) )
                                                                           != ( ap @ ( sub @ B @ id ) @ C ) ) )
                                                                   => ( ! [A: subst > term > term] :
                                                                          ( ! [B: subst,C: term,D: subst] :
                                                                              ( ( sub @ ( A @ B @ C ) @ D )
                                                                              = ( A @ ( comp @ B @ D ) @ ( sub @ C @ D ) ) )
                                                                         => ~ ( var @ ( sub @ ( lam @ ( A @ sh @ one ) ) @ id ) ) )
                                                                     => ( ! [A: term,B: term] :
                                                                            ~ ( var @ ( sub @ ( ap @ ( sub @ A @ id ) @ B ) @ id ) )
                                                                       => ! [A: subst > term > subst > $o,B: term > $o] :
                                                                            ( ! [C: subst,D: term,E: subst,F: subst] :
                                                                                ( ( A @ C @ D @ ( comp @ F @ E ) )
                                                                               => ( A @ ( comp @ C @ F ) @ ( sub @ D @ F ) @ E ) )
                                                                           => ( ! [C: subst,D: term,E: subst,F: subst] :
                                                                                  ( ( A @ ( comp @ C @ F ) @ ( sub @ D @ F ) @ E )
                                                                                 => ( A @ C @ D @ ( comp @ F @ E ) ) )
                                                                             => ( ! [C: term,D: term] :
                                                                                    ( ( A @ id @ C @ id )
                                                                                   => ( ( A @ id @ D @ id )
                                                                                     => ( A @ id @ ( ap @ ( sub @ C @ id ) @ D ) @ id ) ) )
                                                                               => ( ! [C: term] :
                                                                                      ( ( B @ C )
                                                                                      = ( A @ id @ C @ id ) )
                                                                                 => ! [C: term,D: term] :
                                                                                      ( ( B @ C )
                                                                                     => ( ( B @ D )
                                                                                       => ( B @ ( ap @ C @ D ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ) ),
    inference(defexp_and_simp_and_etaexpand,[status(thm)],[2]) ).

thf(257,plain,
    $false,
    inference(e,[status(thm)],[3]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : ALG264^3 : TPTP v9.3.1. Bugfixed v5.2.0.
% 0.00/0.08  % Command  : java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.10/0.24  % Computer : n010.cluster.edu
% 0.10/0.24  % Model    : x86_64 x86_64
% 0.10/0.24  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.10/0.24  % Memory   : 8046.5625MB
% 0.10/0.24  % OS       : Linux 6.8.0-71-generic
% 0.10/0.24  % CPULimit : 300
% 0.10/0.24  % WCLimit  : 300
% 0.10/0.24  % DateTime : Tue Sep 29 17:35:08 UTC 2026
% 0.10/0.24  % CPUTime  : 
% 0.10/0.24  Running java -Xss128m -Xmx2g -Xms1g -jar /export/starexec/sandbox2/solver/bin/leo3.jar /export/starexec/sandbox2/benchmark/theBenchmark.p -t 300 -p  --atp eprover=/export/starexec/sandbox2/solver/bin/externals/eprover --instantiate 39
% 0.95/0.77  % [INFO] 	 Parsing problem /export/starexec/sandbox2/benchmark/theBenchmark.p ... 
% 2.05/1.12  % [INFO] 	 Parsing done (346ms). 
% 2.05/1.13  % [INFO] 	 Running in sequential loop mode. 
% 3.11/1.46  % [INFO] 	 eprover registered as external prover. 
% 3.11/1.47  % [INFO] 	 Scanning for conjecture ... 
% 4.45/1.84  % [INFO] 	 Found a conjecture (or negated_conjecture) and 0 axioms. Running axiom selection ... 
% 4.45/1.86  % [INFO] 	 Axiom selection finished. Selected 0 axioms (removed 0 axioms). 
% 4.45/1.86  % [INFO] 	 Problem is higher-order (TPTP THF). 
% 4.45/1.86  % [INFO] 	 Type checking passed. 
% 4.45/1.86  % [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 ... 
% 10.76/3.27  % External prover 'e' found a proof!
% 10.76/3.27  % [INFO] 	 Killing All external provers ... 
% 10.76/3.27  % Time passed: 2856ms (effective reasoning time: 2137ms)
% 10.76/3.27  % 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)>
% 10.76/3.27  % Axioms used in derivation (0): 
% 10.76/3.27  % No. of inferences in proof: 4
% 10.76/3.28  % SZS status Theorem for /export/starexec/sandbox2/benchmark/theBenchmark.p : 2856 ms resp. 2137 ms w/o parsing
% 12.14/3.43  % SZS output start Refutation for /export/starexec/sandbox2/benchmark/theBenchmark.p
% See solution above
% 12.14/3.43  % [INFO] 	 Killing All external provers ... 
%------------------------------------------------------------------------------