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

View Problem - Process Solution

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

% Computer : n023.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:20 EDT 2022

% Result   : Unsatisfiable 0.21s 0.47s
% Output   : Proof 0.21s
% Verified : 
% SZS Type : Refutation
%            Derivation depth      :    8
%            Number of leaves      :   29
% Syntax   : Number of formulae    :   48 (  17 unt;  14 typ;   0 def)
%            Number of atoms       :   77 (  43 equ)
%            Maximal formula atoms :    8 (   2 avg)
%            Number of connectives :   72 (  32   ~;  28   |;   0   &)
%                                         (  12 <=>;   0  =>;   0  <=;   0 <~>)
%            Maximal formula depth :    9 (   4 avg)
%            Maximal term depth    :    3 (   1 avg)
%            Number of FOOLs       :    3 (   3 fml;   0 var)
%            Number of types       :    2 (   0 usr)
%            Number of type conns  :   15 (   5   >;  10   *;   0   +;   0  <<)
%            Number of predicates  :    5 (   3 usr;   1 prp; 0-3 aty)
%            Number of functors    :   13 (  13 usr;   9 con; 0-5 aty)
%            Number of variables   :   91 (  81   !;   0   ?;  91   :)

% Comments : 
%------------------------------------------------------------------------------
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(v_T_____type,type,
    v_T____: $i ).

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

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

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

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

tff(c_Lambda_OdB_OVar_type,type,
    c_Lambda_OdB_OVar: $i > $i ).

tff(v_n_____type,type,
    v_n____: $i ).

tff(1,plain,
    ( c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_n____),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____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_i____),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,plain,
    ( c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_n____),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____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_n____),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(3,axiom,
    c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_n____),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_varT_0) ).

tff(4,plain,
    c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_n____),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)],[3,2]) ).

tff(5,plain,
    c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_i____),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)],[4,1]) ).

tff(6,plain,
    ^ [V_i: $i,V_T: $i,V_e: $i] :
      refl(
        ( ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
          | ( hAPP(V_e,V_i) = V_T ) )
      <=> ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
          | ( hAPP(V_e,V_i) = V_T ) ) )),
    inference(bind,[status(th)],]) ).

tff(7,plain,
    ( ! [V_i: $i,V_T: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
        | ( hAPP(V_e,V_i) = V_T ) )
  <=> ! [V_i: $i,V_T: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
        | ( hAPP(V_e,V_i) = V_T ) ) ),
    inference(quant_intro,[status(thm)],[6]) ).

tff(8,plain,
    ( ! [V_i: $i,V_T: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
        | ( hAPP(V_e,V_i) = V_T ) )
  <=> ! [V_i: $i,V_T: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
        | ( hAPP(V_e,V_i) = V_T ) ) ),
    inference(rewrite,[status(thm)],]) ).

tff(9,plain,
    ^ [V_i: $i,V_T: $i,V_e: $i] :
      rewrite(
        ( ( ( hAPP(V_e,V_i) = V_T )
          | ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T) )
      <=> ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
          | ( hAPP(V_e,V_i) = V_T ) ) )),
    inference(bind,[status(th)],]) ).

tff(10,plain,
    ( ! [V_i: $i,V_T: $i,V_e: $i] :
        ( ( hAPP(V_e,V_i) = V_T )
        | ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T) )
  <=> ! [V_i: $i,V_T: $i,V_e: $i] :
        ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
        | ( hAPP(V_e,V_i) = V_T ) ) ),
    inference(quant_intro,[status(thm)],[9]) ).

tff(11,axiom,
    ! [V_i: $i,V_T: $i,V_e: $i] :
      ( ( hAPP(V_e,V_i) = V_T )
      | ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T) ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',cls_typing__elims_I1_J_0) ).

tff(12,plain,
    ! [V_i: $i,V_T: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
      | ( hAPP(V_e,V_i) = V_T ) ),
    inference(modus_ponens,[status(thm)],[11,10]) ).

tff(13,plain,
    ! [V_i: $i,V_T: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
      | ( hAPP(V_e,V_i) = V_T ) ),
    inference(modus_ponens,[status(thm)],[12,8]) ).

tff(14,plain,
    ! [V_i: $i,V_T: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
      | ( hAPP(V_e,V_i) = V_T ) ),
    inference(skolemize,[status(sab)],[13]) ).

tff(15,plain,
    ! [V_i: $i,V_T: $i,V_e: $i] :
      ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
      | ( hAPP(V_e,V_i) = V_T ) ),
    inference(modus_ponens,[status(thm)],[14,7]) ).

tff(16,plain,
    ( ( ~ ! [V_i: $i,V_T: $i,V_e: $i] :
            ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
            | ( hAPP(V_e,V_i) = V_T ) )
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_i____),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)))
      | ( hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____) = 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_T: $i,V_e: $i] :
            ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
            | ( hAPP(V_e,V_i) = V_T ) )
      | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_i____),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)))
      | ( hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____) = 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(17,plain,
    ( ~ ! [V_i: $i,V_T: $i,V_e: $i] :
          ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
          | ( hAPP(V_e,V_i) = V_T ) )
    | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_i____),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)))
    | ( hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____) = 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(18,plain,
    ( ~ ! [V_i: $i,V_T: $i,V_e: $i] :
          ( ~ c_Type_Otyping(V_e,c_Lambda_OdB_OVar(V_i),V_T)
          | ( hAPP(V_e,V_i) = V_T ) )
    | ~ c_Type_Otyping(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),c_Lambda_OdB_OVar(v_i____),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)))
    | ( hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____) = 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,16]) ).

tff(19,plain,
    hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____) = 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(unit_resolution,[status(thm)],[18,15,5]) ).

tff(20,plain,
    ^ [V_x: $i,V_T: $i,T_a: $i,V_e: $i] :
      refl(
        ( ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T )
      <=> ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T ) )),
    inference(bind,[status(th)],]) ).

tff(21,plain,
    ( ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T )
  <=> ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T ) ),
    inference(quant_intro,[status(thm)],[20]) ).

tff(22,plain,
    ( ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T )
  <=> ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T ) ),
    inference(rewrite,[status(thm)],]) ).

tff(23,axiom,
    ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T ),
    file('/export/starexec/sandbox/benchmark/theBenchmark.p',cls_shift__eq_0) ).

tff(24,plain,
    ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T ),
    inference(modus_ponens,[status(thm)],[23,22]) ).

tff(25,plain,
    ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T ),
    inference(skolemize,[status(sab)],[24]) ).

tff(26,plain,
    ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T ),
    inference(modus_ponens,[status(thm)],[25,21]) ).

tff(27,plain,
    ( ~ ! [V_x: $i,V_T: $i,T_a: $i,V_e: $i] : ( hAPP(c_Type_Oshift(V_e,V_x,V_T,T_a),V_x) = V_T )
    | ( hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____) = v_T____ ) ),
    inference(quant_inst,[status(thm)],]) ).

tff(28,plain,
    hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____) = v_T____,
    inference(unit_resolution,[status(thm)],[27,26]) ).

tff(29,plain,
    v_T____ = hAPP(c_Type_Oshift(v_e____,v_i____,v_T____,tc_Type_Otype),v_i____),
    inference(symmetry,[status(thm)],[28]) ).

tff(30,plain,
    v_T____ = 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(transitivity,[status(thm)],[29,19]) ).

tff(31,plain,
    ( ( v_T____ != 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_T____ != 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(32,axiom,
    v_T____ != 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(33,plain,
    v_T____ != 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)],[32,31]) ).

tff(34,plain,
    $false,
    inference(unit_resolution,[status(thm)],[33,30]) ).

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