TSTP Solution File: LCL839-1 by Z3---4.8.9.0

View Problem - Process Solution

%------------------------------------------------------------------------------
% File     : Z3---4.8.9.0
% Problem  : LCL839-1 : TPTP v8.1.0. Released v4.1.0.
% Transfm  : none
% Format   : tptp
% Command  : z3_tptp -proof -model -t:%d -file:%s

% Computer : n005.cluster.edu
% Model    : x86_64 x86_64
% CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 2.10GHz
% Memory   : 8042.1875MB
% OS       : Linux 3.10.0-693.el7.x86_64
% CPULimit : 300s
% WCLimit  : 300s
% DateTime : Sun Sep 18 04:58:40 EDT 2022

% Result   : Unsatisfiable 0.19s 0.52s
% Output   : Proof 0.19s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    7
%            Number of leaves      :   27
% Syntax   : Number of formulae    :   43 (  12 unt;  14 typ;   0 def)
%            Number of atoms       :   90 (   0 equ)
%            Maximal formula atoms :    8 (   3 avg)
%            Number of connectives :   99 (  50   ~;  34   |;   0   &)
%                                         (  15 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   10 (   5 avg)
%            Maximal term depth    :    4 (   1 avg)
%            Number of FOOLs       :   12 (  12 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   14 (   5   >;   9   *;   0   +;   0  <<)
%            Number of predicates  :    9 (   8 usr;   2 prp; 0-3 aty)
%            Number of functors    :   12 (  12 usr;   8 con; 0-4 aty)
%            Number of variables   :   82 (  72   !;   0   ?;  82   :)

% Comments : 
%------------------------------------------------------------------------------
tff(c_Type_Otyping_type,type,
    c_Type_Otyping: ( $i * $i * $i ) > $o ).

tff(c_Type_Osko__Type__Xtyping__elims__2__1_type,type,
    c_Type_Osko__Type__Xtyping__elims__2__1: ( $i * $i * $i * $i ) > $i ).

tff(v_a_____type,type,
    v_a____: $i ).

tff(c_Lambda_OdB_OAbs_type,type,
    c_Lambda_OdB_OAbs: $i > $i ).

tff(v_r_____type,type,
    v_r____: $i ).

tff(c_Type_Oshift_type,type,
    c_Type_Oshift: ( $i * $i * $i * $i ) > $i ).

tff(tc_Type_Otype_type,type,
    tc_Type_Otype: $i ).

tff(v_T_____type,type,
    v_T____: $i ).

tff(v_i_____type,type,
    v_i____: $i ).

tff(v_e_____type,type,
    v_e____: $i ).

tff(v_Ua_____type,type,
    v_Ua____: $i ).

tff(hAPP_type,type,
    hAPP: ( $i * $i ) > $i ).

tff(c_Lambda_OdB_OApp_type,type,
    c_Lambda_OdB_OApp: $i ).

tff(v_thesis_____type,type,
    v_thesis____: $o ).

tff(1,plain,
    ( c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____)
  <=> c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_CHAINED_0) ).

tff(3,plain,
    c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ^ [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
      refl(
        ( ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
          | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) )
      <=> ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
          | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ) )),
    inference(bind,[status(th)],]) ).

tff(5,plain,
    ( ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
        | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) )
  <=> ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
        | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ) ),
    inference(quant_intro,[status(thm)],[4]) ).

tff(6,plain,
    ( ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
        | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) )
  <=> ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
        | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,plain,
    ^ [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
      rewrite(
        ( ( c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u))
          | ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T) )
      <=> ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
          | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ) )),
    inference(bind,[status(th)],]) ).

tff(8,plain,
    ( ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
        ( c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u))
        | ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T) )
  <=> ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
        | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ) ),
    inference(quant_intro,[status(thm)],[7]) ).

tff(9,axiom,
    ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
      ( c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u))
      | ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_typing__elims_I2_J_1) ).

tff(10,plain,
    ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
      | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ),
    inference(modus_ponens,[status(thm)],[9,8]) ).

tff(11,plain,
    ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
      | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ),
    inference(modus_ponens,[status(thm)],[10,6]) ).

tff(12,plain,
    ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
      | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ),
    inference(skolemize,[status(sab)],[11]) ).

tff(13,plain,
    ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
      | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) ),
    inference(modus_ponens,[status(thm)],[12,5]) ).

tff(14,plain,
    ( ( ~ ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
            ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
            | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) )
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____)
      | c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,c_Type_Osko__Type__Xtyping__elims__2__1(v_Ua____,c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OAbs(v_r____),v_a____)) )
  <=> ( ~ ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
            ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
            | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) )
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____)
      | c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,c_Type_Osko__Type__Xtyping__elims__2__1(v_Ua____,c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OAbs(v_r____),v_a____)) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(15,plain,
    ( ~ ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
          ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
          | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) )
    | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____)
    | c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,c_Type_Osko__Type__Xtyping__elims__2__1(v_Ua____,c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OAbs(v_r____),v_a____)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(16,plain,
    ( ~ ! [V_T: $i,V_u: $i,V_t: $i,V_e: $i] :
          ( ~ c_Type_Otyping(V_e,hAPP(hAPP(c_Lambda_OdB_OApp,V_t),V_u),V_T)
          | c_Type_Otyping(V_e,V_u,c_Type_Osko__Type__Xtyping__elims__2__1(V_T,V_e,V_t,V_u)) )
    | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),hAPP(hAPP(c_Lambda_OdB_OApp,c_Lambda_OdB_OAbs(v_r____)),v_a____),v_Ua____)
    | c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,c_Type_Osko__Type__Xtyping__elims__2__1(v_Ua____,c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OAbs(v_r____),v_a____)) ),
    inference(modus_ponens,[status(thm)],[15,14]) ).

tff(17,plain,
    c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,c_Type_Osko__Type__Xtyping__elims__2__1(v_Ua____,c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OAbs(v_r____),v_a____)),
    inference(unit_resolution,[status(thm)],[16,13,3]) ).

tff(18,plain,
    ^ [V_T_H_H: $i] :
      refl(
        ( ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H)
      <=> ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) )),
    inference(bind,[status(th)],]) ).

tff(19,plain,
    ( ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H)
  <=> ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) ),
    inference(quant_intro,[status(thm)],[18]) ).

tff(20,plain,
    ( ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H)
  <=> ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) ),
    inference(rewrite,[status(thm)],]) ).

tff(21,plain,
    ^ [V_T_H_H: $i] :
      trans(
        monotonicity(
          iff_false(asserted(~ v_thesis____),
            ( v_thesis____
          <=> $false )),
          ( ( v_thesis____
            | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) )
        <=> ( $false
            | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) ) )),
        rewrite(
          ( ( $false
            | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) )
        <=> ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) )),
        ( ( v_thesis____
          | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) )
      <=> ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) )),
    inference(bind,[status(th)],]) ).

tff(22,plain,
    ( ! [V_T_H_H: $i] :
        ( v_thesis____
        | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) )
  <=> ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) ),
    inference(quant_intro,[status(thm)],[21]) ).

tff(23,axiom,
    ! [V_T_H_H: $i] :
      ( v_thesis____
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H) ),
    file('/export/starexec/sandbox2/benchmark/theBenchmark.p',cls_that_0) ).

tff(24,plain,
    ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H),
    inference(modus_ponens,[status(thm)],[23,22]) ).

tff(25,plain,
    ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H),
    inference(modus_ponens,[status(thm)],[24,20]) ).

tff(26,plain,
    ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H),
    inference(skolemize,[status(sab)],[25]) ).

tff(27,plain,
    ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H),
    inference(modus_ponens,[status(thm)],[26,19]) ).

tff(28,plain,
    ( ~ ! [V_T_H_H: $i] : ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,V_T_H_H)
    | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_a____,c_Type_Osko__Type__Xtyping__elims__2__1(v_Ua____,c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OAbs(v_r____),v_a____)) ),
    inference(quant_inst,[status(thm)],]) ).

tff(29,plain,
    $false,
    inference(unit_resolution,[status(thm)],[28,27,17]) ).

%------------------------------------------------------------------------------
%----ORIGINAL SYSTEM OUTPUT
% 0.11/0.12  % Problem  : LCL839-1 : TPTP v8.1.0. Released v4.1.0.
% 0.11/0.12  % Command  : z3_tptp -proof -model -t:%d -file:%s
% 0.12/0.33  % Computer : n005.cluster.edu
% 0.12/0.33  % Model    : x86_64 x86_64
% 0.12/0.33  % CPU      : Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz
% 0.12/0.33  % Memory   : 8042.1875MB
% 0.12/0.33  % OS       : Linux 3.10.0-693.el7.x86_64
% 0.12/0.33  % CPULimit : 300
% 0.12/0.33  % WCLimit  : 300
% 0.12/0.33  % DateTime : Fri Sep  2 01:18:18 EDT 2022
% 0.12/0.33  % CPUTime  : 
% 0.12/0.34  Z3tptp [4.8.9.0] (c) 2006-20**. Microsoft Corp.
% 0.12/0.34  Usage: tptp [options] [-file:]file
% 0.12/0.34    -h, -?       prints this message.
% 0.12/0.34    -smt2        print SMT-LIB2 benchmark.
% 0.12/0.34    -m, -model   generate model.
% 0.12/0.34    -p, -proof   generate proof.
% 0.12/0.34    -c, -core    generate unsat core of named formulas.
% 0.12/0.34    -st, -statistics display statistics.
% 0.12/0.34    -t:timeout   set timeout (in second).
% 0.12/0.34    -smt2status  display status in smt2 format instead of SZS.
% 0.12/0.34    -check_status check the status produced by Z3 against annotation in benchmark.
% 0.12/0.34    -<param>:<value> configuration parameter and value.
% 0.12/0.34    -o:<output-file> file to place output in.
% 0.19/0.52  % SZS status Unsatisfiable
% 0.19/0.52  % SZS output start Proof
% See solution above
%------------------------------------------------------------------------------