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

View Problem - Process Solution

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

% Computer : n026.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:22 EDT 2022

% Result   : Unsatisfiable 0.57s 0.65s
% Output   : Proof 0.57s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    6
%            Number of leaves      :   26
% Syntax   : Number of formulae    :   37 (   8 unt;  15 typ;   0 def)
%            Number of atoms       :   60 (   0 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :   67 (  31   ~;  27   |;   0   &)
%                                         (   9 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   11 (   6 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of FOOLs       :    2 (   2 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   17 (   6   >;  11   *;   0   +;   0  <<)
%            Number of predicates  :    4 (   3 usr;   1 prp; 0-3 aty)
%            Number of functors    :   14 (  14 usr;   9 con; 0-5 aty)
%            Number of variables   :   85 (  75   !;   0   ?;  85   :)

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

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

tff(c_List_Ofoldr_type,type,
    c_List_Ofoldr: ( $i * $i * $i * $i * $i ) > $i ).

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

tff(v_T_H_____type,type,
    v_T_H____: $i ).

tff(v_Ts_____type,type,
    v_Ts____: $i ).

tff(c_Type_Otype_OFun_type,type,
    c_Type_Otype_OFun: $i ).

tff(v_T_H_H_____type,type,
    v_T_H_H____: $i ).

tff(c_Lambda_Olift_type,type,
    c_Lambda_Olift: ( $i * $i ) > $i ).

tff(c_HOL_Ozero__class_Ozero_type,type,
    c_HOL_Ozero__class_Ozero: $i > $i ).

tff(tc_nat_type,type,
    tc_nat: $i ).

tff(v_u_____type,type,
    v_u____: $i ).

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

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

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

tff(1,plain,
    ( ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
  <=> ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))) ),
    inference(rewrite,[status(thm)],]) ).

tff(2,axiom,
    ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',cls_conjecture_0) ).

tff(3,plain,
    ~ c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))),
    inference(modus_ponens,[status(thm)],[2,1]) ).

tff(4,plain,
    ^ [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
      refl(
        ( ( ~ c_Type_Otyping(V_e,V_t,V_T)
          | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
      <=> ( ~ c_Type_Otyping(V_e,V_t,V_T)
          | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) )),
    inference(bind,[status(th)],]) ).

tff(5,plain,
    ( ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,V_t,V_T)
        | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
  <=> ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,V_t,V_T)
        | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) ),
    inference(quant_intro,[status(thm)],[4]) ).

tff(6,plain,
    ( ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,V_t,V_T)
        | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
  <=> ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,V_t,V_T)
        | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(7,plain,
    ^ [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
      rewrite(
        ( ( c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T)
          | ~ c_Type_Otyping(V_e,V_t,V_T) )
      <=> ( ~ c_Type_Otyping(V_e,V_t,V_T)
          | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) )),
    inference(bind,[status(th)],]) ).

tff(8,plain,
    ( ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
        ( c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T)
        | ~ c_Type_Otyping(V_e,V_t,V_T) )
  <=> ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,V_t,V_T)
        | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ) ),
    inference(quant_intro,[status(thm)],[7]) ).

tff(9,axiom,
    ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
      ( c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T)
      | ~ c_Type_Otyping(V_e,V_t,V_T) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',cls_lift__type_0) ).

tff(10,plain,
    ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,V_t,V_T)
      | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
    inference(modus_ponens,[status(thm)],[9,8]) ).

tff(11,plain,
    ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,V_t,V_T)
      | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
    inference(modus_ponens,[status(thm)],[10,6]) ).

tff(12,plain,
    ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,V_t,V_T)
      | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
    inference(skolemize,[status(sab)],[11]) ).

tff(13,plain,
    ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,V_t,V_T)
      | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) ),
    inference(modus_ponens,[status(thm)],[12,5]) ).

tff(14,plain,
    ( c_Type_Otyping(v_e____,v_u____,v_T____)
  <=> c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))) ),
    inference(rewrite,[status(thm)],]) ).

tff(15,plain,
    ( c_Type_Otyping(v_e____,v_u____,v_T____)
  <=> c_Type_Otyping(v_e____,v_u____,v_T____) ),
    inference(rewrite,[status(thm)],]) ).

tff(16,axiom,
    c_Type_Otyping(v_e____,v_u____,v_T____),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',cls_uT_0) ).

tff(17,plain,
    c_Type_Otyping(v_e____,v_u____,v_T____),
    inference(modus_ponens,[status(thm)],[16,15]) ).

tff(18,plain,
    c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))),
    inference(modus_ponens,[status(thm)],[17,14]) ).

tff(19,plain,
    ( ( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
            ( ~ c_Type_Otyping(V_e,V_t,V_T)
            | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
      | ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))) )
  <=> ( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
            ( ~ c_Type_Otyping(V_e,V_t,V_T)
            | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
      | ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
      | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(20,plain,
    ( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
          ( ~ c_Type_Otyping(V_e,V_t,V_T)
          | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
    | ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
    | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))) ),
    inference(quant_inst,[status(thm)],]) ).

tff(21,plain,
    ( ~ ! [V_i: $i,V_U: $i,V_T: $i,V_t: $i,V_e: $i] :
          ( ~ c_Type_Otyping(V_e,V_t,V_T)
          | c_Type_Otyping(c_Type_Oshift(V_e,V_i,V_U,tc_Type_Otype),c_Lambda_Olift(V_t,V_i),V_T) )
    | ~ c_Type_Otyping(v_e____,v_u____,hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype)))
    | c_Type_Otyping(c_Type_Oshift(v_e____,c_HOL_Ozero__class_Ozero(tc_nat),v_T_H_H____,tc_Type_Otype),c_Lambda_Olift(v_u____,c_HOL_Ozero__class_Ozero(tc_nat)),hAPP(hAPP(c_Type_Otype_OFun,v_T_H_H____),c_List_Ofoldr(c_Type_Otype_OFun,v_Ts____,v_T_H____,tc_Type_Otype,tc_Type_Otype))) ),
    inference(modus_ponens,[status(thm)],[20,19]) ).

tff(22,plain,
    $false,
    inference(unit_resolution,[status(thm)],[21,18,13,3]) ).

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