↑ Up

Vampire-SAT---5.0.1.THM-Ref.s

View TPTP
Problem
Process solution in
SystemOnTSTP
Download .tgz
%------------------------------------------------------------------------------
% File     : Vampire-SAT---5.0.1
% Problem  : KRS275^7 : TPTP v9.3.1. Released v5.5.0.
% Transfm  : none
% Format   : tptp:raw
% Command  : run_vampire /export/starexec/sandbox/benchmark/theBenchmark.p 300 SAT

% Computer : n016.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 08:11:55 AM UTC 2026

% Result   : Theorem 0.08s 0.26s
% Output   : Refutation 0.08s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :   23
%            Number of leaves      :   12
% Syntax   : Number of formulae    :   84 (  64 unt;   0 typ;   0 def)
%            Number of atoms       :  449 (  88 equ;   0 cnn)
%            Maximal formula atoms :   10 (   5 avg)
%            Number of connectives :  878 ( 141   ~;  64   |;   0   &; 612   @)
%                                         (   0 <=>;  20  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   2 avg)
%            Number of types       :    3 (   1 usr)
%            Number of type conns  :  102 ( 102   >;   0   *;   0   +;   0  <<)
%            Number of symbols     :   64 (  60 usr;  10 con; 0-4 aty)
%                                         (  41  !!;   0  ??;   0 @@+;   0 @@-)
%            Number of variables   :  233 ( 192   ^;  41   !;   0   ?; 233   :)

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

thf(type_def_6,type,
    sTfun: ( $tType * $tType ) > $tType ).

thf(func_def_0,type,
    qmltpeq: mu > mu > $i > $o ).

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

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

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

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

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

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

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

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

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

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

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

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

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

thf(func_def_15,type,
    exists_in_world: mu > $i > $o ).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

thf(func_def_33,type,
    rel_s4: $i > $i > $o ).

thf(func_def_34,type,
    mbox_s4: ( $i > $o ) > $i > $o ).

thf(func_def_35,type,
    mdia_s4: ( $i > $o ) > $i > $o ).

thf(func_def_36,type,
    teach: mu > mu > $i > $o ).

thf(func_def_37,type,
    sue: mu ).

thf(func_def_38,type,
    psych: mu ).

thf(func_def_39,type,
    mary: mu ).

thf(func_def_40,type,
    cs: mu ).

thf(func_def_41,type,
    math: mu ).

thf(func_def_42,type,
    john: mu ).

thf(func_def_43,type,
    db2: 
      !>[X0: $tType] : X0 ).

thf(func_def_44,type,
    db0: 
      !>[X0: $tType] : X0 ).

thf(func_def_45,type,
    db1: 
      !>[X0: $tType] : X0 ).

thf(func_def_46,type,
    vEQ: 
      !>[X0: $tType] : ( X0 > X0 > $o ) ).

thf(func_def_47,type,
    vLAM: 
      !>[X0: $tType,X1: $tType] : ( X1 > X0 > X1 ) ).

thf(func_def_48,type,
    vNOT: $o > $o ).

thf(func_def_49,type,
    vOR: $o > $o > $o ).

thf(func_def_50,type,
    vPI: 
      !>[X0: $tType] : ( ( X0 > $o ) > $o ) ).

thf(func_def_51,type,
    db3: 
      !>[X0: $tType] : X0 ).

thf(func_def_54,type,
    vIMP: $o > $o > $o ).

thf(func_def_55,type,
    vSIGMA: 
      !>[X0: $tType] : ( ( X0 > $o ) > $o ) ).

thf(func_def_56,type,
    vAND: $o > $o > $o ).

thf(func_def_57,type,
    db4: 
      !>[X0: $tType] : X0 ).

thf(func_def_58,type,
    sK0: $i > mu ).

thf(func_def_60,type,
    sK2: mu > $i ).

thf(func_def_61,type,
    sK3: $i > mu ).

thf(f2,axiom,
    ( mnot
    = ( ^ [X0: $i > $o,X1: $i] :
          ~ ( X0 @ X1 ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL015^0.ax',mnot) ).

thf(f3,axiom,
    ( mor
    = ( ^ [X0: $i > $o,X1: $i > $o,X2: $i] :
          ( ( X1 @ X2 )
          | ( X0 @ X2 ) ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL015^0.ax',mor) ).

thf(f8,axiom,
    ( mand
    = ( ^ [X0: $i > $o,X1: $i > $o] : ( mnot @ ( mor @ ( mnot @ X0 ) @ ( mnot @ X1 ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL015^0.ax',mand) ).

thf(f15,axiom,
    ( mforall_ind
    = ( ^ [X0: mu > $i > $o,X1: $i] :
        ! [X2: mu] :
          ( ( exists_in_world @ X2 @ X1 )
         => ( X0 @ X2 @ X1 ) ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL015^0.ax',mforall_ind) ).

thf(f16,axiom,
    ( mexists_ind
    = ( ^ [X0: mu > $i > $o] :
          ( mnot
          @ ( mforall_ind
            @ ^ [X1: mu] : ( mnot @ ( X0 @ X1 ) ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL015^0.ax',mexists_ind) ).

thf(f18,axiom,
    ( mreflexive
    = ( ^ [X0: $i > $i > $o] :
        ! [X1: $i] : ( X0 @ X1 @ X1 ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL015^0.ax',mreflexive) ).

thf(f28,axiom,
    ( mvalid
    = ( ^ [X0: $i > $o] :
        ! [X1: $i] : ( X0 @ X1 ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL015^0.ax',mvalid) ).

thf(f32,axiom,
    ( mbox_s4
    = ( ^ [X0: $i > $o,X1: $i] :
        ! [X2: $i] :
          ( ( X0 @ X2 )
          | ~ ( rel_s4 @ X1 @ X2 ) ) ) ),
    file('/export/starexec/sandbox/benchmark/Axioms/LCL013^5.ax',mbox_s4) ).

thf(f34,axiom,
    mreflexive @ rel_s4,
    file('/export/starexec/sandbox/benchmark/Axioms/LCL013^5.ax',a1) ).

thf(f41,axiom,
    ! [X0: $i] : ( exists_in_world @ math @ X0 ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',existence_of_math_ax) ).

thf(f43,axiom,
    ( mvalid
    @ ( mbox_s4
      @ ( mand @ ( teach @ john @ math )
        @ ( mand
          @ ( mexists_ind
            @ ^ [X0: mu] : ( teach @ X0 @ cs ) )
          @ ( mand @ ( teach @ mary @ psych ) @ ( teach @ sue @ psych ) ) ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',db) ).

thf(f44,conjecture,
    ( mvalid
    @ ( mexists_ind
      @ ^ [X0: mu] : ( mbox_s4 @ ( teach @ john @ X0 ) ) ) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',query) ).

thf(f45,negated_conjecture,
    ~ ( mvalid
      @ ( mexists_ind
        @ ^ [X0: mu] : ( mbox_s4 @ ( teach @ john @ X0 ) ) ) ),
    inference(negated_conjecture,[status(cth)],[f44]) ).

thf(f47,plain,
    ( mnot
    = ( ^ [X0: $i > $o,X1: $i] :
          ~ ( X0 @ X1 ) ) ),
    inference(rectify,[],[f2]) ).

thf(f48,plain,
    ( mnot
    = ( ^ [Y0: $i > $o,Y1: $i] :
          ~ ( Y0 @ Y1 ) ) ),
    inference(fool_elimination,[],[f47]) ).

thf(f49,plain,
    ( mor
    = ( ^ [X0: $i > $o,X1: $i > $o,X2: $i] :
          ( ( X1 @ X2 )
          | ( X0 @ X2 ) ) ) ),
    inference(rectify,[],[f3]) ).

thf(f50,plain,
    ( mor
    = ( ^ [Y0: $i > $o,Y1: $i > $o,Y2: $i] :
          ( ( Y0 @ Y2 )
          | ( Y1 @ Y2 ) ) ) ),
    inference(fool_elimination,[],[f49]) ).

thf(f56,plain,
    ( mand
    = ( ^ [Y0: $i > $o,Y1: $i > $o] : ( mnot @ ( mor @ ( mnot @ Y0 ) @ ( mnot @ Y1 ) ) ) ) ),
    inference(fool_elimination,[],[f8]) ).

thf(f64,plain,
    ( mforall_ind
    = ( ^ [X0: mu > $i > $o,X1: $i] :
        ! [X2: mu] :
          ( ( exists_in_world @ X2 @ X1 )
         => ( X0 @ X2 @ X1 ) ) ) ),
    inference(rectify,[],[f15]) ).

thf(f65,plain,
    ( mforall_ind
    = ( ^ [Y0: mu > $i > $o,Y1: $i] :
          ( !! @ mu
          @ ^ [Y2: mu] :
              ( ( exists_in_world @ Y2 @ Y1 )
             => ( Y0 @ Y2 @ Y1 ) ) ) ) ),
    inference(fool_elimination,[],[f64]) ).

thf(f66,plain,
    ( mexists_ind
    = ( ^ [X0: mu > $i > $o] :
          ( mnot
          @ ( mforall_ind
            @ ^ [X1: mu] : ( mnot @ ( X0 @ X1 ) ) ) ) ) ),
    inference(rectify,[],[f16]) ).

thf(f67,plain,
    ( mexists_ind
    = ( ^ [Y0: mu > $i > $o] :
          ( mnot
          @ ( mforall_ind
            @ ^ [Y1: mu] : ( mnot @ ( Y0 @ Y1 ) ) ) ) ) ),
    inference(fool_elimination,[],[f66]) ).

thf(f70,plain,
    ( mreflexive
    = ( ^ [X0: $i > $i > $o] :
        ! [X1: $i] : ( X0 @ X1 @ X1 ) ) ),
    inference(rectify,[],[f18]) ).

thf(f71,plain,
    ( mreflexive
    = ( ^ [Y0: $i > $i > $o] :
          ( !! @ $i
          @ ^ [Y1: $i] : ( Y0 @ Y1 @ Y1 ) ) ) ),
    inference(fool_elimination,[],[f70]) ).

thf(f90,plain,
    ( mvalid
    = ( ^ [X0: $i > $o] :
        ! [X1: $i] : ( X0 @ X1 ) ) ),
    inference(rectify,[],[f28]) ).

thf(f91,plain,
    ( mvalid
    = ( ^ [Y0: $i > $o] :
          ( !! @ $i
          @ ^ [Y1: $i] : ( Y0 @ Y1 ) ) ) ),
    inference(fool_elimination,[],[f90]) ).

thf(f98,plain,
    ( mbox_s4
    = ( ^ [X0: $i > $o,X1: $i] :
        ! [X2: $i] :
          ( ( X0 @ X2 )
          | ~ ( rel_s4 @ X1 @ X2 ) ) ) ),
    inference(rectify,[],[f32]) ).

thf(f99,plain,
    ( mbox_s4
    = ( ^ [Y0: $i > $o,Y1: $i] :
          ( !! @ $i
          @ ^ [Y2: $i] :
              ( ~ ( rel_s4 @ Y1 @ Y2 )
              | ( Y0 @ Y2 ) ) ) ) ),
    inference(fool_elimination,[],[f98]) ).

thf(f101,plain,
    mreflexive @ rel_s4,
    inference(rectify,[],[f34]) ).

thf(f102,plain,
    ( ( mreflexive @ rel_s4 )
    = $true ),
    inference(fool_elimination,[],[f101]) ).

thf(f115,plain,
    ! [X0: $i] : ( exists_in_world @ math @ X0 ),
    inference(rectify,[],[f41]) ).

thf(f116,plain,
    ! [X0: $i] :
      ( ( exists_in_world @ math @ X0 )
      = $true ),
    inference(fool_elimination,[],[f115]) ).

thf(f119,plain,
    ( mvalid
    @ ( mbox_s4
      @ ( mand @ ( teach @ john @ math )
        @ ( mand
          @ ( mexists_ind
            @ ^ [X0: mu] : ( teach @ X0 @ cs ) )
          @ ( mand @ ( teach @ mary @ psych ) @ ( teach @ sue @ psych ) ) ) ) ) ),
    inference(rectify,[],[f43]) ).

thf(f120,plain,
    ( $true
    = ( mvalid
      @ ( mbox_s4
        @ ( mand @ ( teach @ john @ math )
          @ ( mand
            @ ( mexists_ind
              @ ^ [Y0: mu] : ( teach @ Y0 @ cs ) )
            @ ( mand @ ( teach @ mary @ psych ) @ ( teach @ sue @ psych ) ) ) ) ) ) ),
    inference(fool_elimination,[],[f119]) ).

thf(f121,plain,
    ~ ( mvalid
      @ ( mexists_ind
        @ ^ [X0: mu] : ( mbox_s4 @ ( teach @ john @ X0 ) ) ) ),
    inference(rectify,[],[f45]) ).

thf(f122,plain,
    ( $true
   != ( mvalid
      @ ( mexists_ind
        @ ^ [Y0: mu] : ( mbox_s4 @ ( teach @ john @ Y0 ) ) ) ) ),
    inference(fool_elimination,[],[f121]) ).

thf(f123,plain,
    ( $true
   != ( mvalid
      @ ( mexists_ind
        @ ^ [Y0: mu] : ( mbox_s4 @ ( teach @ john @ Y0 ) ) ) ) ),
    inference(flattening,[],[f122]) ).

thf(f128,plain,
    ( mnot
    = ( ^ [Y0: $i > $o,Y1: $i] :
          ~ ( Y0 @ Y1 ) ) ),
    inference(cnf_transformation,[],[f48]) ).

thf(f129,plain,
    ( mor
    = ( ^ [Y0: $i > $o,Y1: $i > $o,Y2: $i] :
          ( ( Y0 @ Y2 )
          | ( Y1 @ Y2 ) ) ) ),
    inference(cnf_transformation,[],[f50]) ).

thf(f134,plain,
    ( mand
    = ( ^ [Y0: $i > $o,Y1: $i > $o] : ( mnot @ ( mor @ ( mnot @ Y0 ) @ ( mnot @ Y1 ) ) ) ) ),
    inference(cnf_transformation,[],[f56]) ).

thf(f141,plain,
    ( mforall_ind
    = ( ^ [Y0: mu > $i > $o,Y1: $i] :
          ( !! @ mu
          @ ^ [Y2: mu] :
              ( ( exists_in_world @ Y2 @ Y1 )
             => ( Y0 @ Y2 @ Y1 ) ) ) ) ),
    inference(cnf_transformation,[],[f65]) ).

thf(f142,plain,
    ( mexists_ind
    = ( ^ [Y0: mu > $i > $o] :
          ( mnot
          @ ( mforall_ind
            @ ^ [Y1: mu] : ( mnot @ ( Y0 @ Y1 ) ) ) ) ) ),
    inference(cnf_transformation,[],[f67]) ).

thf(f144,plain,
    ( mreflexive
    = ( ^ [Y0: $i > $i > $o] :
          ( !! @ $i
          @ ^ [Y1: $i] : ( Y0 @ Y1 @ Y1 ) ) ) ),
    inference(cnf_transformation,[],[f71]) ).

thf(f154,plain,
    ( mvalid
    = ( ^ [Y0: $i > $o] :
          ( !! @ $i
          @ ^ [Y1: $i] : ( Y0 @ Y1 ) ) ) ),
    inference(cnf_transformation,[],[f91]) ).

thf(f158,plain,
    ( mbox_s4
    = ( ^ [Y0: $i > $o,Y1: $i] :
          ( !! @ $i
          @ ^ [Y2: $i] :
              ( ~ ( rel_s4 @ Y1 @ Y2 )
              | ( Y0 @ Y2 ) ) ) ) ),
    inference(cnf_transformation,[],[f99]) ).

thf(f160,plain,
    ( ( mreflexive @ rel_s4 )
    = $true ),
    inference(cnf_transformation,[],[f102]) ).

thf(f167,plain,
    ! [X0: $i] :
      ( ( exists_in_world @ math @ X0 )
      = $true ),
    inference(cnf_transformation,[],[f116]) ).

thf(f169,plain,
    ( $true
    = ( mvalid
      @ ( mbox_s4
        @ ( mand @ ( teach @ john @ math )
          @ ( mand
            @ ( mexists_ind
              @ ^ [Y0: mu] : ( teach @ Y0 @ cs ) )
            @ ( mand @ ( teach @ mary @ psych ) @ ( teach @ sue @ psych ) ) ) ) ) ) ),
    inference(cnf_transformation,[],[f120]) ).

thf(f170,plain,
    ( $true
   != ( mvalid
      @ ( mexists_ind
        @ ^ [Y0: mu] : ( mbox_s4 @ ( teach @ john @ Y0 ) ) ) ) ),
    inference(cnf_transformation,[],[f123]) ).

thf(f174,plain,
    ( mand
    = ( ^ [Y0: $i > $o,Y1: $i > $o] :
          ( ^ [Y2: $i > $o,Y3: $i] :
              ~ ( Y2 @ Y3 )
          @ ( ^ [Y2: $i > $o,Y3: $i > $o,Y4: $i] :
                ( ( Y2 @ Y4 )
                | ( Y3 @ Y4 ) )
            @ ( ^ [Y2: $i > $o,Y3: $i] :
                  ~ ( Y2 @ Y3 )
              @ Y0 )
            @ ( ^ [Y2: $i > $o,Y3: $i] :
                  ~ ( Y2 @ Y3 )
              @ Y1 ) ) ) ) ),
    inference(definition_unfolding,[],[f134,f128,f129,f128,f128]) ).

thf(f180,plain,
    ( mexists_ind
    = ( ^ [Y0: mu > $i > $o] :
          ( ^ [Y1: $i > $o,Y2: $i] :
              ~ ( Y1 @ Y2 )
          @ ( ^ [Y1: mu > $i > $o,Y2: $i] :
                ( !! @ mu
                @ ^ [Y3: mu] :
                    ( ( exists_in_world @ Y3 @ Y2 )
                   => ( Y1 @ Y3 @ Y2 ) ) )
            @ ^ [Y1: mu] :
                ( ^ [Y2: $i > $o,Y3: $i] :
                    ~ ( Y2 @ Y3 )
                @ ( Y0 @ Y1 ) ) ) ) ) ),
    inference(definition_unfolding,[],[f142,f128,f141,f128]) ).

thf(f183,plain,
    ( $true
    = ( ^ [Y0: $i > $i > $o] :
          ( !! @ $i
          @ ^ [Y1: $i] : ( Y0 @ Y1 @ Y1 ) )
      @ rel_s4 ) ),
    inference(definition_unfolding,[],[f160,f144]) ).

thf(f185,plain,
    ( $true
    = ( ^ [Y0: $i > $o] :
          ( !! @ $i
          @ ^ [Y1: $i] : ( Y0 @ Y1 ) )
      @ ( ^ [Y0: $i > $o,Y1: $i] :
            ( !! @ $i
            @ ^ [Y2: $i] :
                ( ~ ( rel_s4 @ Y1 @ Y2 )
                | ( Y0 @ Y2 ) ) )
        @ ( ^ [Y0: $i > $o,Y1: $i > $o] :
              ( ^ [Y2: $i > $o,Y3: $i] :
                  ~ ( Y2 @ Y3 )
              @ ( ^ [Y2: $i > $o,Y3: $i > $o,Y4: $i] :
                    ( ( Y2 @ Y4 )
                    | ( Y3 @ Y4 ) )
                @ ( ^ [Y2: $i > $o,Y3: $i] :
                      ~ ( Y2 @ Y3 )
                  @ Y0 )
                @ ( ^ [Y2: $i > $o,Y3: $i] :
                      ~ ( Y2 @ Y3 )
                  @ Y1 ) ) )
          @ ( teach @ john @ math )
          @ ( ^ [Y0: $i > $o,Y1: $i > $o] :
                ( ^ [Y2: $i > $o,Y3: $i] :
                    ~ ( Y2 @ Y3 )
                @ ( ^ [Y2: $i > $o,Y3: $i > $o,Y4: $i] :
                      ( ( Y2 @ Y4 )
                      | ( Y3 @ Y4 ) )
                  @ ( ^ [Y2: $i > $o,Y3: $i] :
                        ~ ( Y2 @ Y3 )
                    @ Y0 )
                  @ ( ^ [Y2: $i > $o,Y3: $i] :
                        ~ ( Y2 @ Y3 )
                    @ Y1 ) ) )
            @ ( ^ [Y0: mu > $i > $o] :
                  ( ^ [Y1: $i > $o,Y2: $i] :
                      ~ ( Y1 @ Y2 )
                  @ ( ^ [Y1: mu > $i > $o,Y2: $i] :
                        ( !! @ mu
                        @ ^ [Y3: mu] :
                            ( ( exists_in_world @ Y3 @ Y2 )
                           => ( Y1 @ Y3 @ Y2 ) ) )
                    @ ^ [Y1: mu] :
                        ( ^ [Y2: $i > $o,Y3: $i] :
                            ~ ( Y2 @ Y3 )
                        @ ( Y0 @ Y1 ) ) ) )
              @ ^ [Y0: mu] : ( teach @ Y0 @ cs ) )
            @ ( ^ [Y0: $i > $o,Y1: $i > $o] :
                  ( ^ [Y2: $i > $o,Y3: $i] :
                      ~ ( Y2 @ Y3 )
                  @ ( ^ [Y2: $i > $o,Y3: $i > $o,Y4: $i] :
                        ( ( Y2 @ Y4 )
                        | ( Y3 @ Y4 ) )
                    @ ( ^ [Y2: $i > $o,Y3: $i] :
                          ~ ( Y2 @ Y3 )
                      @ Y0 )
                    @ ( ^ [Y2: $i > $o,Y3: $i] :
                          ~ ( Y2 @ Y3 )
                      @ Y1 ) ) )
              @ ( teach @ mary @ psych )
              @ ( teach @ sue @ psych ) ) ) ) ) ) ),
    inference(definition_unfolding,[],[f169,f154,f158,f174,f174,f180,f174]) ).

thf(f186,plain,
    ( $true
   != ( ^ [Y0: $i > $o] :
          ( !! @ $i
          @ ^ [Y1: $i] : ( Y0 @ Y1 ) )
      @ ( ^ [Y0: mu > $i > $o] :
            ( ^ [Y1: $i > $o,Y2: $i] :
                ~ ( Y1 @ Y2 )
            @ ( ^ [Y1: mu > $i > $o,Y2: $i] :
                  ( !! @ mu
                  @ ^ [Y3: mu] :
                      ( ( exists_in_world @ Y3 @ Y2 )
                     => ( Y1 @ Y3 @ Y2 ) ) )
              @ ^ [Y1: mu] :
                  ( ^ [Y2: $i > $o,Y3: $i] :
                      ~ ( Y2 @ Y3 )
                  @ ( Y0 @ Y1 ) ) ) )
        @ ^ [Y0: mu] :
            ( ^ [Y1: $i > $o,Y2: $i] :
                ( !! @ $i
                @ ^ [Y3: $i] :
                    ( ~ ( rel_s4 @ Y2 @ Y3 )
                    | ( Y1 @ Y3 ) ) )
            @ ( teach @ john @ Y0 ) ) ) ) ),
    inference(definition_unfolding,[],[f170,f154,f180,f158]) ).

thf(f187,plain,
    ( $true
   != ( !! @ $i
      @ ^ [Y0: $i] :
          ~ ( !! @ mu
            @ ^ [Y1: mu] :
                ( ( exists_in_world @ Y1 @ Y0 )
               => ~ ( !! @ $i
                    @ ^ [Y2: $i] :
                        ( ~ ( rel_s4 @ Y0 @ Y2 )
                        | ( teach @ john @ Y1 @ Y2 ) ) ) ) ) ) ),
    inference(beta-eta_normalization,[],[f186]) ).

thf(f188,plain,
    ( $false
    = ( ^ [Y0: $i] :
          ~ ( !! @ mu
            @ ^ [Y1: mu] :
                ( ( exists_in_world @ Y1 @ Y0 )
               => ~ ( !! @ $i
                    @ ^ [Y2: $i] :
                        ( ~ ( rel_s4 @ Y0 @ Y2 )
                        | ( teach @ john @ Y1 @ Y2 ) ) ) ) )
      @ sK1 ) ),
    inference(sigma_proxy_clausification,[],[f187]) ).

thf(f189,plain,
    ( $false
    = ( ~ ( !! @ mu
          @ ^ [Y0: mu] :
              ( ( exists_in_world @ Y0 @ sK1 )
             => ~ ( !! @ $i
                  @ ^ [Y1: $i] :
                      ( ~ ( rel_s4 @ sK1 @ Y1 )
                      | ( teach @ john @ Y0 @ Y1 ) ) ) ) ) ) ),
    inference(beta-eta_normalization,[],[f188]) ).

thf(f190,plain,
    ( $true
    = ( !! @ mu
      @ ^ [Y0: mu] :
          ( ( exists_in_world @ Y0 @ sK1 )
         => ~ ( !! @ $i
              @ ^ [Y1: $i] :
                  ( ~ ( rel_s4 @ sK1 @ Y1 )
                  | ( teach @ john @ Y0 @ Y1 ) ) ) ) ) ),
    inference(not_proxy_clausification,[],[f189]) ).

thf(f191,plain,
    ! [X1: mu] :
      ( $true
      = ( ^ [Y0: mu] :
            ( ( exists_in_world @ Y0 @ sK1 )
           => ~ ( !! @ $i
                @ ^ [Y1: $i] :
                    ( ~ ( rel_s4 @ sK1 @ Y1 )
                    | ( teach @ john @ Y0 @ Y1 ) ) ) )
        @ X1 ) ),
    inference(pi_proxy_clausification,[],[f190]) ).

thf(f192,plain,
    ! [X1: mu] :
      ( $true
      = ( ( exists_in_world @ X1 @ sK1 )
       => ~ ( !! @ $i
            @ ^ [Y0: $i] :
                ( ~ ( rel_s4 @ sK1 @ Y0 )
                | ( teach @ john @ X1 @ Y0 ) ) ) ) ),
    inference(beta-eta_normalization,[],[f191]) ).

thf(f193,plain,
    ! [X1: mu] :
      ( ( $false
        = ( exists_in_world @ X1 @ sK1 ) )
      | ( $true
        = ( ~ ( !! @ $i
              @ ^ [Y0: $i] :
                  ( ~ ( rel_s4 @ sK1 @ Y0 )
                  | ( teach @ john @ X1 @ Y0 ) ) ) ) ) ),
    inference(imp_proxy_clausification,[],[f192]) ).

thf(f194,plain,
    ! [X1: mu] :
      ( ( $false
        = ( exists_in_world @ X1 @ sK1 ) )
      | ( $false
        = ( !! @ $i
          @ ^ [Y0: $i] :
              ( ~ ( rel_s4 @ sK1 @ Y0 )
              | ( teach @ john @ X1 @ Y0 ) ) ) ) ),
    inference(not_proxy_clausification,[],[f193]) ).

thf(f195,plain,
    ! [X1: mu] :
      ( ( $false
        = ( exists_in_world @ X1 @ sK1 ) )
      | ( $false
        = ( ^ [Y0: $i] :
              ( ~ ( rel_s4 @ sK1 @ Y0 )
              | ( teach @ john @ X1 @ Y0 ) )
          @ ( sK2 @ X1 ) ) ) ),
    inference(sigma_proxy_clausification,[],[f194]) ).

thf(f196,plain,
    ! [X1: mu] :
      ( ( $false
        = ( exists_in_world @ X1 @ sK1 ) )
      | ( $false
        = ( ~ ( rel_s4 @ sK1 @ ( sK2 @ X1 ) )
          | ( teach @ john @ X1 @ ( sK2 @ X1 ) ) ) ) ),
    inference(beta-eta_normalization,[],[f195]) ).

thf(f197,plain,
    ! [X1: mu] :
      ( ( $false
        = ( teach @ john @ X1 @ ( sK2 @ X1 ) ) )
      | ( $false
        = ( exists_in_world @ X1 @ sK1 ) ) ),
    inference(or_proxy_clausification,[],[f196]) ).

thf(f200,plain,
    ( $true
    = ( !! @ $i
      @ ^ [Y0: $i] :
          ( !! @ $i
          @ ^ [Y1: $i] :
              ( ~ ( rel_s4 @ Y0 @ Y1 )
              | ~ ( ~ ( teach @ john @ math @ Y1 )
                  | ~ ~ ( ~ ~ ( !! @ mu
                              @ ^ [Y2: mu] :
                                  ( ( exists_in_world @ Y2 @ Y1 )
                                 => ~ ( teach @ Y2 @ cs @ Y1 ) ) )
                        | ~ ~ ( ~ ( teach @ mary @ psych @ Y1 )
                              | ~ ( teach @ sue @ psych @ Y1 ) ) ) ) ) ) ) ),
    inference(beta-eta_normalization,[],[f185]) ).

thf(f201,plain,
    ! [X1: $i] :
      ( $true
      = ( ^ [Y0: $i] :
            ( !! @ $i
            @ ^ [Y1: $i] :
                ( ~ ( rel_s4 @ Y0 @ Y1 )
                | ~ ( ~ ( teach @ john @ math @ Y1 )
                    | ~ ~ ( ~ ~ ( !! @ mu
                                @ ^ [Y2: mu] :
                                    ( ( exists_in_world @ Y2 @ Y1 )
                                   => ~ ( teach @ Y2 @ cs @ Y1 ) ) )
                          | ~ ~ ( ~ ( teach @ mary @ psych @ Y1 )
                                | ~ ( teach @ sue @ psych @ Y1 ) ) ) ) ) )
        @ X1 ) ),
    inference(pi_proxy_clausification,[],[f200]) ).

thf(f202,plain,
    ! [X1: $i] :
      ( $true
      = ( !! @ $i
        @ ^ [Y0: $i] :
            ( ~ ( rel_s4 @ X1 @ Y0 )
            | ~ ( ~ ( teach @ john @ math @ Y0 )
                | ~ ~ ( ~ ~ ( !! @ mu
                            @ ^ [Y1: mu] :
                                ( ( exists_in_world @ Y1 @ Y0 )
                               => ~ ( teach @ Y1 @ cs @ Y0 ) ) )
                      | ~ ~ ( ~ ( teach @ mary @ psych @ Y0 )
                            | ~ ( teach @ sue @ psych @ Y0 ) ) ) ) ) ) ),
    inference(beta-eta_normalization,[],[f201]) ).

thf(f203,plain,
    ! [X2: $i,X1: $i] :
      ( $true
      = ( ^ [Y0: $i] :
            ( ~ ( rel_s4 @ X1 @ Y0 )
            | ~ ( ~ ( teach @ john @ math @ Y0 )
                | ~ ~ ( ~ ~ ( !! @ mu
                            @ ^ [Y1: mu] :
                                ( ( exists_in_world @ Y1 @ Y0 )
                               => ~ ( teach @ Y1 @ cs @ Y0 ) ) )
                      | ~ ~ ( ~ ( teach @ mary @ psych @ Y0 )
                            | ~ ( teach @ sue @ psych @ Y0 ) ) ) ) )
        @ X2 ) ),
    inference(pi_proxy_clausification,[],[f202]) ).

thf(f204,plain,
    ! [X2: $i,X1: $i] :
      ( $true
      = ( ~ ( rel_s4 @ X1 @ X2 )
        | ~ ( ~ ( teach @ john @ math @ X2 )
            | ~ ~ ( ~ ~ ( !! @ mu
                        @ ^ [Y0: mu] :
                            ( ( exists_in_world @ Y0 @ X2 )
                           => ~ ( teach @ Y0 @ cs @ X2 ) ) )
                  | ~ ~ ( ~ ( teach @ mary @ psych @ X2 )
                        | ~ ( teach @ sue @ psych @ X2 ) ) ) ) ) ),
    inference(beta-eta_normalization,[],[f203]) ).

thf(f205,plain,
    ! [X2: $i,X1: $i] :
      ( ( $true
        = ( ~ ( ~ ( teach @ john @ math @ X2 )
              | ~ ~ ( ~ ~ ( !! @ mu
                          @ ^ [Y0: mu] :
                              ( ( exists_in_world @ Y0 @ X2 )
                             => ~ ( teach @ Y0 @ cs @ X2 ) ) )
                    | ~ ~ ( ~ ( teach @ mary @ psych @ X2 )
                          | ~ ( teach @ sue @ psych @ X2 ) ) ) ) ) )
      | ( $true
        = ( ~ ( rel_s4 @ X1 @ X2 ) ) ) ),
    inference(or_proxy_clausification,[],[f204]) ).

thf(f206,plain,
    ! [X2: $i,X1: $i] :
      ( ( $false
        = ( ~ ( teach @ john @ math @ X2 )
          | ~ ~ ( ~ ~ ( !! @ mu
                      @ ^ [Y0: mu] :
                          ( ( exists_in_world @ Y0 @ X2 )
                         => ~ ( teach @ Y0 @ cs @ X2 ) ) )
                | ~ ~ ( ~ ( teach @ mary @ psych @ X2 )
                      | ~ ( teach @ sue @ psych @ X2 ) ) ) ) )
      | ( $true
        = ( ~ ( rel_s4 @ X1 @ X2 ) ) ) ),
    inference(not_proxy_clausification,[],[f205]) ).

thf(f208,plain,
    ! [X2: $i,X1: $i] :
      ( ( $false
        = ( ~ ( teach @ john @ math @ X2 ) ) )
      | ( $true
        = ( ~ ( rel_s4 @ X1 @ X2 ) ) ) ),
    inference(or_proxy_clausification,[],[f206]) ).

thf(f209,plain,
    ! [X2: $i,X1: $i] :
      ( ( $true
        = ( teach @ john @ math @ X2 ) )
      | ( $true
        = ( ~ ( rel_s4 @ X1 @ X2 ) ) ) ),
    inference(not_proxy_clausification,[],[f208]) ).

thf(f210,plain,
    ! [X2: $i,X1: $i] :
      ( ( $true
        = ( teach @ john @ math @ X2 ) )
      | ( ( rel_s4 @ X1 @ X2 )
        = $false ) ),
    inference(not_proxy_clausification,[],[f209]) ).

thf(f240,plain,
    ( $true
    = ( !! @ $i
      @ ^ [Y0: $i] : ( rel_s4 @ Y0 @ Y0 ) ) ),
    inference(beta-eta_normalization,[],[f183]) ).

thf(f241,plain,
    ! [X1: $i] :
      ( $true
      = ( ^ [Y0: $i] : ( rel_s4 @ Y0 @ Y0 )
        @ X1 ) ),
    inference(pi_proxy_clausification,[],[f240]) ).

thf(f242,plain,
    ! [X1: $i] :
      ( $true
      = ( rel_s4 @ X1 @ X1 ) ),
    inference(beta-eta_normalization,[],[f241]) ).

thf(f339,plain,
    ! [X0: $i] :
      ( ( $true = $false )
      | ( $false
        = ( exists_in_world @ math @ sK1 ) )
      | ( $false
        = ( rel_s4 @ X0 @ ( sK2 @ math ) ) ) ),
    inference(constrained_superposition,[],[f197,f210]) ).

thf(f342,plain,
    ! [X0: $i] :
      ( ( $false
        = ( exists_in_world @ math @ sK1 ) )
      | ( $false
        = ( rel_s4 @ X0 @ ( sK2 @ math ) ) ) ),
    inference(trivial_inequality_removal,[],[f339]) ).

thf(f348,plain,
    ! [X0: $i] :
      ( ( $true = $false )
      | ( $false
        = ( rel_s4 @ X0 @ ( sK2 @ math ) ) ) ),
    inference(forward_demodulation,[],[f342,f167]) ).

thf(f349,plain,
    ! [X0: $i] :
      ( $false
      = ( rel_s4 @ X0 @ ( sK2 @ math ) ) ),
    inference(trivial_inequality_removal,[],[f348]) ).

thf(f382,plain,
    $true = $false,
    inference(constrained_superposition,[],[f242,f349]) ).

thf(f383,plain,
    $false,
    inference(trivial_inequality_removal,[],[f382]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.00/0.03  % Problem  : KRS275^7 : TPTP v9.3.1. Released v5.5.0.
% 0.00/0.05  % Command  : run_vampire /export/starexec/sandbox/benchmark/theBenchmark.p 300 SAT
% 0.08/0.19  % Computer : n016.cluster.edu
% 0.08/0.19  % Model    : x86_64 x86_64
% 0.08/0.19  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.08/0.19  % Memory   : 8046.5625MB
% 0.08/0.19  % OS       : Linux 6.8.0-71-generic
% 0.08/0.19  % CPULimit : 300
% 0.08/0.19  % WCLimit  : 300
% 0.08/0.19  % DateTime : Tue Sep 29 08:46:04 UTC 2026
% 0.08/0.20  % CPUTime  : 
% 0.08/0.20  Running run_vampire /export/starexec/sandbox/benchmark/theBenchmark.p 300 SAT
% 0.08/0.22  Running first-order model finding
% 0.08/0.22  Running: /export/starexec/sandbox/solver/bin/vampire-ho --input_syntax tptp --output_axiom_names on --mode casc --intent sat -m 16384 --cores 7 -t 300 /export/starexec/sandbox/benchmark/theBenchmark.p
% 0.08/0.26  % (61691)Will run a generic schedule for satisfiability detection.
% 0.08/0.26  % (61698)dis+10_161_sil=256000:plsq=on:plsqr=61199697,1048576:gs=on:alpa=true:sac=on:slsq=on:cn=on:random_seed=3329685784:i=88024:add=on:rawr=on_2999 on theBenchmark for (2999ds/88024Mi)
% 0.08/0.26  % (61697)% WARNING: option uhcvi not known.
% 0.08/0.26  % (61698) found proof, printing to "/export/starexec/sandbox/tmp/vampire-proof-61691-61698"...
% 0.08/0.26  % (61696)fmb+10_1_sas=cadical:bce=on:rp=on:random_seed=3369533824_2999 on theBenchmark for (2999ds/0Mi)
% 0.08/0.26  % (61697)dis+11_61:31_drc=ordering:lsd=5:bsr=unit_only:rp=on:newcnf=on:random_seed=2525935064:i=135531:add=off:rawr=on_2999 on theBenchmark for (2999ds/135531Mi)
% 0.08/0.26  % (61698)...printing done.
% 0.08/0.26  % (61697)WARNING: Not using 'newcnf' as currently not compatible with higher-order inputs.
% 0.08/0.26  % (61698)Refutation found. Thanks to Tanya!
% 0.08/0.26  % SZS status Theorem for theBenchmark
% 0.08/0.26  % SZS output start Proof for theBenchmark
% See solution above
% 0.08/0.27  % (61698)------------------------------
% 0.08/0.27  % (61698)Version: Vampire 5.0.1 (Release build, commit 5ef7c2677 on 2026-07-16 16:54:09 +0200)
% 0.08/0.27  % (61698)Linked with Z3 4.14.0.0 3c47fd96cf5645d0c42b2c819d9e9a84380aa721 z3-4.8.4-9178-g3c47fd96c
% 0.08/0.27  % (61698)CaDiCaL version: 2.1.3
% 0.08/0.27  % (61698)Termination reason: Refutation
% 0.08/0.27  % (61698)Time elapsed: 0.009 s
% 0.08/0.27  % (61698)Peak memory usage: 12 MB
% 0.08/0.27  % (61698)Instructions burned: 27 (million)
% 0.08/0.27  % (61691)Success in time 0.034 s
% 0.08/0.27  % Vampire exiting
%------------------------------------------------------------------------------