TPTP Problem File: COM142+1.p

View Solutions - Solve Problem

%------------------------------------------------------------------------------
% File     : COM142+1 : TPTP v8.2.0. Released v6.4.0.
% Domain   : Computing Theory
% Problem  : T-Weak-app step in progress/preservation proof
% Version  : Augmented > Especial.
% English  : This problem is a step within the proof of progress and 
%            preservation for the standard type system for the simply-typed 
%            lambda calculus.

% Refs     : [Pie02] Pierce (2002), Programming Languages
%          : [Gre15] Grewe (2015), Email to Geoff Sutcliffe
%          : [GE+15] Grewe et al. (2015), Type Systems for the Masses: Deri
% Source   : [Gre15]
% Names    : Types-T-Weak-app [Gre15]

% Status   : Theorem
% Rating   : 0.58 v8.1.0, 0.64 v7.5.0, 0.69 v7.4.0, 0.57 v7.3.0, 0.62 v7.1.0, 0.57 v6.4.0
% Syntax   : Number of formulae    :   57 (   6 unt;   0 def)
%            Number of atoms       :  294 ( 230 equ)
%            Maximal formula atoms :   33 (   5 avg)
%            Number of connectives :  273 (  36   ~;  17   |; 123   &)
%                                         (   0 <=>;  97  =>;   0  <=;   0 <~>)
%            Maximal formula depth :   23 (   8 avg)
%            Maximal term depth    :    5 (   1 avg)
%            Number of predicates  :    7 (   5 usr;   1 prp; 0-3 aty)
%            Number of functors    :   18 (  18 usr;   5 con; 0-3 aty)
%            Number of variables   :  319 ( 251   !;  68   ?)
% SPC      : FOF_THM_RFO_SEQ

% Comments : Generated by Veritas: https://github.com/stg-tud/type-pragmatics
%          : This is an expanded version of the original, with most axioms
%            combined into COM001+0.ax.
%------------------------------------------------------------------------------
include('Axioms/COM001+0.ax').
%------------------------------------------------------------------------------
fof('T-Weak-app-IH1',axiom,
    ! [Vx,VS,VC,VT] :
      ( ( vlookup(Vx,VC) = vnoType
        & vtcheck(VC,ve1app,VT) )
     => vtcheck(vbind(Vx,VS,VC),ve1app,VT) ) ).

fof('T-Weak-app-IH2',axiom,
    ! [Vx,VS,VC,VT] :
      ( ( vlookup(Vx,VC) = vnoType
        & vtcheck(VC,ve2app,VT) )
     => vtcheck(vbind(Vx,VS,VC),ve2app,VT) ) ).

fof('T-Weak-app',conjecture,
    ! [Vx,VS,VC,VT] :
      ( ( vlookup(Vx,VC) = vnoType
        & vtcheck(VC,vapp(ve1app,ve2app),VT) )
     => vtcheck(vbind(Vx,VS,VC),vapp(ve1app,ve2app),VT) ) ).

%------------------------------------------------------------------------------