↑ Up

LEO-II---2.3.1.THM-CRf.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : LEO-II---2.3.1
% Problem  : AGT028^2 : TPTP v9.3.1. Released v5.2.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : leo --cores 7 --timeout 300 --proofoutput 1 --foatp e --atp e=/export/starexec/sandbox/solver/bin/eprover /export/starexec/sandbox/benchmark/theBenchmark.p

% 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 : Wed Oct  7 10:07:09 AM UTC 2026

% Result   : Theorem 0.07s 0.29s
% Output   : CNFRefutation 0.07s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   12
%            Number of leaves      :   37
% Syntax   : Number of formulae    :   80 (  63 unt;   0 typ;  31 def)
%            Number of atoms       :  318 (  91 equ;   0 cnn)
%            Maximal formula atoms :    7 (   3 avg)
%            Number of connectives :  412 (  47   ~;  47   |;   8   &; 302   @)
%                                         (   0 <=>;   8  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    7 (   2 avg)
%            Number of types       :    3 (   1 usr)
%            Number of type conns  :   57 (  57   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   51 (  48 usr;   7 con; 0-3 aty)
%            Number of variables   :  170 (  52   ^; 112   !;   6   ?; 170   :)

% Comments : 
%------------------------------------------------------------------------------
thf(tp_mu,type,
    mu: $tType ).

thf(tp_good_in_maths,type,
    good_in_maths: mu > $i > $o ).

thf(tp_good_in_physics,type,
    good_in_physics: mu > $i > $o ).

thf(tp_john,type,
    john: mu ).

thf(tp_mand,type,
    mand: ( $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_mathematician,type,
    mathematician: mu > $i > $o ).

thf(tp_maths_student,type,
    maths_student: mu > $i > $o ).

thf(tp_maths_teacher,type,
    maths_teacher: mu > $i > $o ).

thf(tp_mbox,type,
    mbox: ( $i > $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_mcountersatisfiable,type,
    mcountersatisfiable: ( $i > $o ) > $o ).

thf(tp_mdia,type,
    mdia: ( $i > $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_meq_ind,type,
    meq_ind: mu > mu > $i > $o ).

thf(tp_meq_prop,type,
    meq_prop: ( $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_mequiv,type,
    mequiv: ( $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_meuclidean,type,
    meuclidean: ( $i > $i > $o ) > $o ).

thf(tp_mexists_ind,type,
    mexists_ind: ( mu > $i > $o ) > $i > $o ).

thf(tp_mexists_prop,type,
    mexists_prop: ( ( $i > $o ) > $i > $o ) > $i > $o ).

thf(tp_mfalse,type,
    mfalse: $i > $o ).

thf(tp_mforall_ind,type,
    mforall_ind: ( mu > $i > $o ) > $i > $o ).

thf(tp_mforall_prop,type,
    mforall_prop: ( ( $i > $o ) > $i > $o ) > $i > $o ).

thf(tp_mfunctional,type,
    mfunctional: ( $i > $i > $o ) > $o ).

thf(tp_mike,type,
    mike: mu ).

thf(tp_mimplied,type,
    mimplied: ( $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_mimplies,type,
    mimplies: ( $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_minvalid,type,
    minvalid: ( $i > $o ) > $o ).

thf(tp_mnot,type,
    mnot: ( $i > $o ) > $i > $o ).

thf(tp_mor,type,
    mor: ( $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_mpartially_functional,type,
    mpartially_functional: ( $i > $i > $o ) > $o ).

thf(tp_mreflexive,type,
    mreflexive: ( $i > $i > $o ) > $o ).

thf(tp_msatisfiable,type,
    msatisfiable: ( $i > $o ) > $o ).

thf(tp_mserial,type,
    mserial: ( $i > $i > $o ) > $o ).

thf(tp_msymmetric,type,
    msymmetric: ( $i > $i > $o ) > $o ).

thf(tp_mtransitive,type,
    mtransitive: ( $i > $i > $o ) > $o ).

thf(tp_mtrue,type,
    mtrue: $i > $o ).

thf(tp_mvalid,type,
    mvalid: ( $i > $o ) > $o ).

thf(tp_mweakly_connected,type,
    mweakly_connected: ( $i > $i > $o ) > $o ).

thf(tp_mweakly_dense,type,
    mweakly_dense: ( $i > $i > $o ) > $o ).

thf(tp_mweakly_directed,type,
    mweakly_directed: ( $i > $i > $o ) > $o ).

thf(tp_mxor,type,
    mxor: ( $i > $o ) > ( $i > $o ) > $i > $o ).

thf(tp_peter,type,
    peter: mu ).

thf(tp_physics_student,type,
    physics_student: mu > $i > $o ).

thf(tp_r1,type,
    r1: $i > $i > $o ).

thf(tp_r2,type,
    r2: $i > $i > $o ).

thf(tp_r3,type,
    r3: $i > $i > $o ).

thf(tp_r4,type,
    r4: $i > $i > $o ).

thf(tp_r5,type,
    r5: $i > $i > $o ).

thf(tp_sK1_SY19,type,
    sK1_SY19: $i ).

thf(tp_sK2_SY85,type,
    sK2_SY85: mu > $i ).

thf(tp_tom,type,
    tom: mu ).

thf(mand,definition,
    ( mand
    = ( ^ [Phi: $i > $o,Psi: $i > $o] : ( mnot @ ( mor @ ( mnot @ Phi ) @ ( mnot @ Psi ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mand) ).

thf(mbox,definition,
    ( mbox
    = ( ^ [R: $i > $i > $o,Phi: $i > $o,W: $i] :
        ! [V: $i] :
          ( ~ ( R @ W @ V )
          | ( Phi @ V ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mbox) ).

thf(mcountersatisfiable,definition,
    ( mcountersatisfiable
    = ( ^ [Phi: $i > $o] :
        ? [W: $i] :
          ~ ( Phi @ W ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mcountersatisfiable) ).

thf(mdia,definition,
    ( mdia
    = ( ^ [R: $i > $i > $o,Phi: $i > $o] : ( mnot @ ( mbox @ R @ ( mnot @ Phi ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mdia) ).

thf(meq_ind,definition,
    ( meq_ind
    = ( ^ [X: mu,Y: mu,W: $i] : ( X = Y ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',meq_ind) ).

thf(meq_prop,definition,
    ( meq_prop
    = ( ^ [X: $i > $o,Y: $i > $o,W: $i] :
          ( ( X @ W )
          = ( Y @ W ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',meq_prop) ).

thf(mequiv,definition,
    ( mequiv
    = ( ^ [Phi: $i > $o,Psi: $i > $o] : ( mand @ ( mimplies @ Phi @ Psi ) @ ( mimplies @ Psi @ Phi ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mequiv) ).

thf(meuclidean,definition,
    ( meuclidean
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i,T: $i,U: $i] :
          ( ( ( R @ S @ T )
            & ( R @ S @ U ) )
         => ( R @ T @ U ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',meuclidean) ).

thf(mexists_ind,definition,
    ( mexists_ind
    = ( ^ [Phi: mu > $i > $o] :
          ( mnot
          @ ( mforall_ind
            @ ^ [X: mu] : ( mnot @ ( Phi @ X ) ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mexists_ind) ).

thf(mexists_prop,definition,
    ( mexists_prop
    = ( ^ [Phi: ( $i > $o ) > $i > $o] :
          ( mnot
          @ ( mforall_prop
            @ ^ [P: $i > $o] : ( mnot @ ( Phi @ P ) ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mexists_prop) ).

thf(mfalse,definition,
    ( mfalse
    = ( mnot @ mtrue ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mfalse) ).

thf(mforall_ind,definition,
    ( mforall_ind
    = ( ^ [Phi: mu > $i > $o,W: $i] :
        ! [X: mu] : ( Phi @ X @ W ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mforall_ind) ).

thf(mforall_prop,definition,
    ( mforall_prop
    = ( ^ [Phi: ( $i > $o ) > $i > $o,W: $i] :
        ! [P: $i > $o] : ( Phi @ P @ W ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mforall_prop) ).

thf(mfunctional,definition,
    ( mfunctional
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i] :
        ? [T: $i] :
          ( ( R @ S @ T )
          & ! [U: $i] :
              ( ( R @ S @ U )
             => ( T = U ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mfunctional) ).

thf(mimplied,definition,
    ( mimplied
    = ( ^ [Phi: $i > $o,Psi: $i > $o] : ( mor @ ( mnot @ Psi ) @ Phi ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mimplied) ).

thf(mimplies,definition,
    ( mimplies
    = ( ^ [Phi: $i > $o,Psi: $i > $o] : ( mor @ ( mnot @ Phi ) @ Psi ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mimplies) ).

thf(minvalid,definition,
    ( minvalid
    = ( ^ [Phi: $i > $o] :
        ! [W: $i] :
          ~ ( Phi @ W ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',minvalid) ).

thf(mnot,definition,
    ( mnot
    = ( ^ [Phi: $i > $o,W: $i] :
          ~ ( Phi @ W ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mnot) ).

thf(mor,definition,
    ( mor
    = ( ^ [Phi: $i > $o,Psi: $i > $o,W: $i] :
          ( ( Phi @ W )
          | ( Psi @ W ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mor) ).

thf(mpartially_functional,definition,
    ( mpartially_functional
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i,T: $i,U: $i] :
          ( ( ( R @ S @ T )
            & ( R @ S @ U ) )
         => ( T = U ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mpartially_functional) ).

thf(mreflexive,definition,
    ( mreflexive
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i] : ( R @ S @ S ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mreflexive) ).

thf(msatisfiable,definition,
    ( msatisfiable
    = ( ^ [Phi: $i > $o] :
        ? [W: $i] : ( Phi @ W ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',msatisfiable) ).

thf(mserial,definition,
    ( mserial
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i] :
        ? [T: $i] : ( R @ S @ T ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mserial) ).

thf(msymmetric,definition,
    ( msymmetric
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i,T: $i] :
          ( ( R @ S @ T )
         => ( R @ T @ S ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',msymmetric) ).

thf(mtransitive,definition,
    ( mtransitive
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i,T: $i,U: $i] :
          ( ( ( R @ S @ T )
            & ( R @ T @ U ) )
         => ( R @ S @ U ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mtransitive) ).

thf(mtrue,definition,
    ( mtrue
    = ( ^ [W: $i] : $true ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mtrue) ).

thf(mvalid,definition,
    ( mvalid
    = ( ^ [Phi: $i > $o] :
        ! [W: $i] : ( Phi @ W ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mvalid) ).

thf(mweakly_connected,definition,
    ( mweakly_connected
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i,T: $i,U: $i] :
          ( ( ( R @ S @ T )
            & ( R @ S @ U ) )
         => ( ( R @ T @ U )
            | ( T = U )
            | ( R @ U @ T ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mweakly_connected) ).

thf(mweakly_dense,definition,
    ( mweakly_dense
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i,T: $i,U: $i] :
          ( ( R @ S @ T )
         => ? [U: $i] :
              ( ( R @ S @ U )
              & ( R @ U @ T ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mweakly_dense) ).

thf(mweakly_directed,definition,
    ( mweakly_directed
    = ( ^ [R: $i > $i > $o] :
        ! [S: $i,T: $i,U: $i] :
          ( ( ( R @ S @ T )
            & ( R @ S @ U ) )
         => ? [V: $i] :
              ( ( R @ T @ V )
              & ( R @ U @ V ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mweakly_directed) ).

thf(mxor,definition,
    ( mxor
    = ( ^ [Phi: $i > $o,Psi: $i > $o] : ( mnot @ ( mequiv @ Phi @ Psi ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',mxor) ).

thf(1,axiom,
    mvalid @ ( mbox @ r5 @ ( physics_student @ mike ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',axiom_a9) ).

thf(2,axiom,
    mvalid @ ( mbox @ r5 @ ( maths_student @ peter ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',axiom_a8) ).

thf(3,axiom,
    mvalid @ ( mbox @ r2 @ ( mathematician @ tom ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',axiom_a7) ).

thf(4,axiom,
    mvalid @ ( maths_teacher @ john ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',axiom_a6) ).

thf(21,axiom,
    ( mvalid
    @ ( mforall_ind
      @ ^ [X: mu] : ( mimplies @ ( maths_teacher @ X ) @ ( mbox @ r4 @ ( good_in_maths @ X ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',axiom_r1) ).

thf(22,conjecture,
    ( mvalid
    @ ( mexists_ind
      @ ^ [X: mu] : ( mbox @ r4 @ ( good_in_maths @ X ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',conj) ).

thf(23,negated_conjecture,
    ( ( mvalid
      @ ( mexists_ind
        @ ^ [X: mu] : ( mbox @ r4 @ ( good_in_maths @ X ) ) ) )
    = $false ),
    inference(negate_conjecture,[status(cth)],[22]) ).

thf(24,plain,
    ( ( ! [SY19: $i] :
          ~ ! [SY20: mu] :
              ~ ! [SY21: $i] :
                  ( ~ ( r4 @ SY19 @ SY21 )
                  | ( good_in_maths @ SY20 @ SY21 ) ) )
    = $false ),
    inference(unfold_def,[status(thm)],[23,mand,mbox,mcountersatisfiable,mdia,meq_ind,meq_prop,mequiv,meuclidean,mexists_ind,mexists_prop,mfalse,mforall_ind,mforall_prop,mfunctional,mimplied,mimplies,minvalid,mnot,mor,mpartially_functional,mreflexive,msatisfiable,mserial,msymmetric,mtransitive,mtrue,mvalid,mweakly_connected,mweakly_dense,mweakly_directed,mxor]) ).

thf(25,plain,
    ( ( ! [SY30: $i,SY31: $i] :
          ( ~ ( r5 @ SY30 @ SY31 )
          | ( physics_student @ mike @ SY31 ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[1,mand,mbox,mcountersatisfiable,mdia,meq_ind,meq_prop,mequiv,meuclidean,mexists_ind,mexists_prop,mfalse,mforall_ind,mforall_prop,mfunctional,mimplied,mimplies,minvalid,mnot,mor,mpartially_functional,mreflexive,msatisfiable,mserial,msymmetric,mtransitive,mtrue,mvalid,mweakly_connected,mweakly_dense,mweakly_directed,mxor]) ).

thf(26,plain,
    ( ( ! [SY39: $i,SY40: $i] :
          ( ~ ( r5 @ SY39 @ SY40 )
          | ( maths_student @ peter @ SY40 ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[2,mand,mbox,mcountersatisfiable,mdia,meq_ind,meq_prop,mequiv,meuclidean,mexists_ind,mexists_prop,mfalse,mforall_ind,mforall_prop,mfunctional,mimplied,mimplies,minvalid,mnot,mor,mpartially_functional,mreflexive,msatisfiable,mserial,msymmetric,mtransitive,mtrue,mvalid,mweakly_connected,mweakly_dense,mweakly_directed,mxor]) ).

thf(27,plain,
    ( ( ! [SY48: $i,SY49: $i] :
          ( ~ ( r2 @ SY48 @ SY49 )
          | ( mathematician @ tom @ SY49 ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[3,mand,mbox,mcountersatisfiable,mdia,meq_ind,meq_prop,mequiv,meuclidean,mexists_ind,mexists_prop,mfalse,mforall_ind,mforall_prop,mfunctional,mimplied,mimplies,minvalid,mnot,mor,mpartially_functional,mreflexive,msatisfiable,mserial,msymmetric,mtransitive,mtrue,mvalid,mweakly_connected,mweakly_dense,mweakly_directed,mxor]) ).

thf(28,plain,
    ( ( ! [SY52: $i] : ( maths_teacher @ john @ SY52 ) )
    = $true ),
    inference(unfold_def,[status(thm)],[4,mand,mbox,mcountersatisfiable,mdia,meq_ind,meq_prop,mequiv,meuclidean,mexists_ind,mexists_prop,mfalse,mforall_ind,mforall_prop,mfunctional,mimplied,mimplies,minvalid,mnot,mor,mpartially_functional,mreflexive,msatisfiable,mserial,msymmetric,mtransitive,mtrue,mvalid,mweakly_connected,mweakly_dense,mweakly_directed,mxor]) ).

thf(29,plain,
    ( ( ! [SY72: $i,SY73: mu] :
          ( ~ ( maths_teacher @ SY73 @ SY72 )
          | ! [SY74: $i] :
              ( ~ ( r4 @ SY72 @ SY74 )
              | ( good_in_maths @ SY73 @ SY74 ) ) ) )
    = $true ),
    inference(unfold_def,[status(thm)],[21,mand,mbox,mcountersatisfiable,mdia,meq_ind,meq_prop,mequiv,meuclidean,mexists_ind,mexists_prop,mfalse,mforall_ind,mforall_prop,mfunctional,mimplied,mimplies,minvalid,mnot,mor,mpartially_functional,mreflexive,msatisfiable,mserial,msymmetric,mtransitive,mtrue,mvalid,mweakly_connected,mweakly_dense,mweakly_directed,mxor]) ).

thf(30,plain,
    ( ( ~ ! [SY78: mu] :
            ~ ! [SY79: $i] :
                ( ~ ( r4 @ sK1_SY19 @ SY79 )
                | ( good_in_maths @ SY78 @ SY79 ) ) )
    = $false ),
    inference(extcnf_forall_neg,[status(esa)],[24]) ).

thf(31,plain,
    ( ( ! [SY78: mu] :
          ~ ! [SY79: $i] :
              ( ~ ( r4 @ sK1_SY19 @ SY79 )
              | ( good_in_maths @ SY78 @ SY79 ) ) )
    = $true ),
    inference(polarity_switch,[status(thm)],[30]) ).

thf(32,plain,
    ( ( ! [SY72: $i,SY73: mu] :
          ( ~ ( maths_teacher @ SY73 @ SY72 )
          | ! [SY74: $i] :
              ( ~ ( r4 @ SY72 @ SY74 )
              | ( good_in_maths @ SY73 @ SY74 ) ) ) )
    = $true ),
    inference(copy,[status(thm)],[29]) ).

thf(33,plain,
    ( ( ! [SY52: $i] : ( maths_teacher @ john @ SY52 ) )
    = $true ),
    inference(copy,[status(thm)],[28]) ).

thf(34,plain,
    ( ( ! [SY48: $i,SY49: $i] :
          ( ~ ( r2 @ SY48 @ SY49 )
          | ( mathematician @ tom @ SY49 ) ) )
    = $true ),
    inference(copy,[status(thm)],[27]) ).

thf(35,plain,
    ( ( ! [SY39: $i,SY40: $i] :
          ( ~ ( r5 @ SY39 @ SY40 )
          | ( maths_student @ peter @ SY40 ) ) )
    = $true ),
    inference(copy,[status(thm)],[26]) ).

thf(36,plain,
    ( ( ! [SY30: $i,SY31: $i] :
          ( ~ ( r5 @ SY30 @ SY31 )
          | ( physics_student @ mike @ SY31 ) ) )
    = $true ),
    inference(copy,[status(thm)],[25]) ).

thf(37,plain,
    ( ( ! [SY78: mu] :
          ~ ! [SY79: $i] :
              ( ~ ( r4 @ sK1_SY19 @ SY79 )
              | ( good_in_maths @ SY78 @ SY79 ) ) )
    = $true ),
    inference(copy,[status(thm)],[31]) ).

thf(38,plain,
    ! [SV1: $i] :
      ( ( ! [SY80: mu] :
            ( ~ ( maths_teacher @ SY80 @ SV1 )
            | ! [SY81: $i] :
                ( ~ ( r4 @ SV1 @ SY81 )
                | ( good_in_maths @ SY80 @ SY81 ) ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[32]) ).

thf(39,plain,
    ! [SV2: $i] :
      ( ( maths_teacher @ john @ SV2 )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[33]) ).

thf(40,plain,
    ! [SV3: $i] :
      ( ( ! [SY82: $i] :
            ( ~ ( r2 @ SV3 @ SY82 )
            | ( mathematician @ tom @ SY82 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[34]) ).

thf(41,plain,
    ! [SV4: $i] :
      ( ( ! [SY83: $i] :
            ( ~ ( r5 @ SV4 @ SY83 )
            | ( maths_student @ peter @ SY83 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[35]) ).

thf(42,plain,
    ! [SV5: $i] :
      ( ( ! [SY84: $i] :
            ( ~ ( r5 @ SV5 @ SY84 )
            | ( physics_student @ mike @ SY84 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[36]) ).

thf(43,plain,
    ! [SV6: mu] :
      ( ( ~ ! [SY85: $i] :
              ( ~ ( r4 @ sK1_SY19 @ SY85 )
              | ( good_in_maths @ SV6 @ SY85 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[37]) ).

thf(44,plain,
    ! [SV1: $i,SV7: mu] :
      ( ( ~ ( maths_teacher @ SV7 @ SV1 )
        | ! [SY86: $i] :
            ( ~ ( r4 @ SV1 @ SY86 )
            | ( good_in_maths @ SV7 @ SY86 ) ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[38]) ).

thf(45,plain,
    ! [SV8: $i,SV3: $i] :
      ( ( ~ ( r2 @ SV3 @ SV8 )
        | ( mathematician @ tom @ SV8 ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[40]) ).

thf(46,plain,
    ! [SV9: $i,SV4: $i] :
      ( ( ~ ( r5 @ SV4 @ SV9 )
        | ( maths_student @ peter @ SV9 ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[41]) ).

thf(47,plain,
    ! [SV10: $i,SV5: $i] :
      ( ( ~ ( r5 @ SV5 @ SV10 )
        | ( physics_student @ mike @ SV10 ) )
      = $true ),
    inference(extcnf_forall_pos,[status(thm)],[42]) ).

thf(48,plain,
    ! [SV6: mu] :
      ( ( ! [SY85: $i] :
            ( ~ ( r4 @ sK1_SY19 @ SY85 )
            | ( good_in_maths @ SV6 @ SY85 ) ) )
      = $false ),
    inference(extcnf_not_pos,[status(thm)],[43]) ).

thf(49,plain,
    ! [SV1: $i,SV7: mu] :
      ( ( ( ~ ( maths_teacher @ SV7 @ SV1 ) )
        = $true )
      | ( ( ! [SY86: $i] :
              ( ~ ( r4 @ SV1 @ SY86 )
              | ( good_in_maths @ SV7 @ SY86 ) ) )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[44]) ).

thf(50,plain,
    ! [SV8: $i,SV3: $i] :
      ( ( ( ~ ( r2 @ SV3 @ SV8 ) )
        = $true )
      | ( ( mathematician @ tom @ SV8 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[45]) ).

thf(51,plain,
    ! [SV9: $i,SV4: $i] :
      ( ( ( ~ ( r5 @ SV4 @ SV9 ) )
        = $true )
      | ( ( maths_student @ peter @ SV9 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[46]) ).

thf(52,plain,
    ! [SV10: $i,SV5: $i] :
      ( ( ( ~ ( r5 @ SV5 @ SV10 ) )
        = $true )
      | ( ( physics_student @ mike @ SV10 )
        = $true ) ),
    inference(extcnf_or_pos,[status(thm)],[47]) ).

thf(53,plain,
    ! [SV6: mu] :
      ( ( ~ ( r4 @ sK1_SY19 @ ( sK2_SY85 @ SV6 ) )
        | ( good_in_maths @ SV6 @ ( sK2_SY85 @ SV6 ) ) )
      = $false ),
    inference(extcnf_forall_neg,[status(esa)],[48]) ).

thf(54,plain,
    ! [SV1: $i,SV7: mu] :
      ( ( ( maths_teacher @ SV7 @ SV1 )
        = $false )
      | ( ( ! [SY86: $i] :
              ( ~ ( r4 @ SV1 @ SY86 )
              | ( good_in_maths @ SV7 @ SY86 ) ) )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[49]) ).

thf(55,plain,
    ! [SV8: $i,SV3: $i] :
      ( ( ( r2 @ SV3 @ SV8 )
        = $false )
      | ( ( mathematician @ tom @ SV8 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[50]) ).

thf(56,plain,
    ! [SV9: $i,SV4: $i] :
      ( ( ( r5 @ SV4 @ SV9 )
        = $false )
      | ( ( maths_student @ peter @ SV9 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[51]) ).

thf(57,plain,
    ! [SV10: $i,SV5: $i] :
      ( ( ( r5 @ SV5 @ SV10 )
        = $false )
      | ( ( physics_student @ mike @ SV10 )
        = $true ) ),
    inference(extcnf_not_pos,[status(thm)],[52]) ).

thf(58,plain,
    ! [SV6: mu] :
      ( ( ~ ( r4 @ sK1_SY19 @ ( sK2_SY85 @ SV6 ) ) )
      = $false ),
    inference(extcnf_or_neg,[status(thm)],[53]) ).

thf(59,plain,
    ! [SV6: mu] :
      ( ( good_in_maths @ SV6 @ ( sK2_SY85 @ SV6 ) )
      = $false ),
    inference(extcnf_or_neg,[status(thm)],[53]) ).

thf(60,plain,
    ! [SV7: mu,SV11: $i,SV1: $i] :
      ( ( ( ~ ( r4 @ SV1 @ SV11 )
          | ( good_in_maths @ SV7 @ SV11 ) )
        = $true )
      | ( ( maths_teacher @ SV7 @ SV1 )
        = $false ) ),
    inference(extcnf_forall_pos,[status(thm)],[54]) ).

thf(61,plain,
    ! [SV6: mu] :
      ( ( r4 @ sK1_SY19 @ ( sK2_SY85 @ SV6 ) )
      = $true ),
    inference(extcnf_not_neg,[status(thm)],[58]) ).

thf(62,plain,
    ! [SV7: mu,SV11: $i,SV1: $i] :
      ( ( ( ~ ( r4 @ SV1 @ SV11 ) )
        = $true )
      | ( ( good_in_maths @ SV7 @ SV11 )
        = $true )
      | ( ( maths_teacher @ SV7 @ SV1 )
        = $false ) ),
    inference(extcnf_or_pos,[status(thm)],[60]) ).

thf(63,plain,
    ! [SV7: mu,SV11: $i,SV1: $i] :
      ( ( ( r4 @ SV1 @ SV11 )
        = $false )
      | ( ( good_in_maths @ SV7 @ SV11 )
        = $true )
      | ( ( maths_teacher @ SV7 @ SV1 )
        = $false ) ),
    inference(extcnf_not_pos,[status(thm)],[62]) ).

thf(64,plain,
    $false = $true,
    inference(fo_atp_e,[status(thm)],[39,63,61,59,57,56,55]) ).

thf(65,plain,
    $false,
    inference(solved_all_splits,[solved_all_splits(join,[])],[64]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : AGT028^2 : TPTP v9.3.1. Released v5.2.0.
% 0.00/0.05  % Command  : leo --cores 7 --timeout 300 --proofoutput 1 --foatp e --atp e=/export/starexec/sandbox/solver/bin/eprover /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.07/0.19  % Computer : n014.cluster.edu
% 0.07/0.19  % Model    : x86_64 x86_64
% 0.07/0.19  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.07/0.19  % Memory   : 8046.5625MB
% 0.07/0.19  % OS       : Linux 6.8.0-71-generic
% 0.07/0.20  % CPULimit : 300
% 0.07/0.20  % WCLimit  : 300
% 0.07/0.20  % DateTime : Tue Oct  6 17:59:32 UTC 2026
% 0.07/0.20  % CPUTime  : 
% 0.07/0.20  Running leo --cores 7 --timeout 300 --proofoutput 1 --foatp e --atp e=/export/starexec/sandbox/solver/bin/eprover /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.07/0.29  
% 0.07/0.29   No.of.Axioms: 5
% 0.07/0.29  
% 0.07/0.29   Length.of.Defs: 5293
% 0.07/0.29  
% 0.07/0.29   Contains.Choice.Funs: false
% 0.07/0.29  .
% 0.07/0.29  
% 0.07/0.29  ********************************
% 0.07/0.29  *   All subproblems solved!    *
% 0.07/0.29  ********************************
% 0.07/0.29  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : (rf:1,axioms:5,ps:0,u:6,ude:true,rLeibEQ:true,rAndEQ:true,use_choice:true,use_extuni:true,use_extcnf_combined:false,expand_extuni:false,foatp:e,atp_timeout:25,atp_calls_frequency:5,ordering:none,proof_output:1,protocol_output:false,clause_count:64,loop_count:0,foatp_calls:1,translation:fof_full)
% 0.07/0.29  
% 0.07/0.29  %**** Beginning of derivation protocol ****
% 0.07/0.29  % SZS output start CNFRefutation
% See solution above
% 0.07/0.30  
% 0.07/0.30  %**** End of derivation protocol ****
% 0.07/0.30  %**** no. of clauses in derivation: 49 ****
% 0.07/0.30  %**** clause counter: 64 ****
% 0.07/0.30  
% 0.07/0.30  % SZS status Theorem for /export/starexec/sandbox/benchmark/theBenchmark.p : (rf:1,axioms:5,ps:0,u:6,ude:true,rLeibEQ:true,rAndEQ:true,use_choice:true,use_extuni:true,use_extcnf_combined:false,expand_extuni:false,foatp:e,atp_timeout:25,atp_calls_frequency:5,ordering:none,proof_output:1,protocol_output:false,clause_count:64,loop_count:0,foatp_calls:1,translation:fof_full)
%------------------------------------------------------------------------------