TPTP Problem File: COM144+1.p
View Solutions
- Solve Problem
%------------------------------------------------------------------------------
% File : COM144+1 : TPTP v9.0.0. Released v6.4.0.
% Domain : Computing Theory
% Problem : T-Preservation-T-abs 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 : Preservation-T-Preservation-T-abs [Gre15]
% Status : Theorem
% Rating : 0.24 v9.0.0, 0.22 v8.2.0, 0.25 v8.1.0, 0.22 v7.5.0, 0.25 v7.4.0, 0.20 v7.3.0, 0.17 v7.1.0, 0.22 v7.0.0, 0.23 v6.4.0
% Syntax : Number of formulae : 60 ( 6 unt; 0 def)
% Number of atoms : 303 ( 230 equ)
% Maximal formula atoms : 33 ( 5 avg)
% Number of connectives : 281 ( 38 ~; 17 |; 126 &)
% ( 0 <=>; 100 =>; 0 <=; 0 <~>)
% Maximal formula depth : 23 ( 9 avg)
% Maximal term depth : 5 ( 1 avg)
% Number of predicates : 7 ( 5 usr; 1 prp; 0-3 aty)
% Number of functors : 17 ( 17 usr; 4 con; 0-3 aty)
% Number of variables : 336 ( 268 !; 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-FreeVar',axiom,
! [Vx,VS,VC,Ve,VT] :
( ( ~ visFreeVar(Vx,Ve)
& vtcheck(VC,Ve,VT) )
=> vtcheck(vbind(Vx,VS,VC),Ve,VT) ) ).
fof('T-subst',axiom,
! [VT,VC,Vx,Ve,Ve2,VT2] :
( ( vtcheck(VC,Ve,VT)
& vtcheck(vbind(Vx,VT,VC),Ve2,VT2) )
=> vtcheck(VC,vsubst(Vx,Ve,Ve2),VT2) ) ).
fof('T-Weak',axiom,
! [Vx,VS,VC,Ve,VT] :
( ( vlookup(Vx,VC) = vnoType
& vtcheck(VC,Ve,VT) )
=> vtcheck(vbind(Vx,VS,VC),Ve,VT) ) ).
fof('T-Strong',axiom,
! [Vx,VS,VC,Ve,VT] :
( ( ~ visFreeVar(Vx,Ve)
& vtcheck(vbind(Vx,VS,VC),Ve,VT) )
=> vtcheck(VC,Ve,VT) ) ).
fof('T-Preservation-T-abs-IH',axiom,
! [VC,Veout,VT] :
( ( vreduce(ve1) = vsomeExp(Veout)
& vtcheck(VC,ve1,VT) )
=> vtcheck(VC,Veout,VT) ) ).
fof('T-Preservation-T-abs',conjecture,
! [Vx,VS,VC,Veout,VT] :
( ( vreduce(vabs(Vx,VS,ve1)) = vsomeExp(Veout)
& vtcheck(VC,vabs(Vx,VS,ve1),VT) )
=> vtcheck(VC,Veout,VT) ) ).
%------------------------------------------------------------------------------