4 Nov 1993 13:41
Simple questions about simple types
Here are two simple questions about simply typed lambda calculus. Does anyone know the answers? I will collect the replies and post a summary. Many thanks, -- Phil Wadler 1. Admissable vs. derived rules Recall the two ways in which a new rule may be inherent in an existing set of rules. (This paragraph is cribbed from Hindley and Seldin's Intro to Combinators and Lambda Calculus, pp 69--70.) A new rule is said to be *derived* if there is a deduction of its conclusion from its premises. A new rule is said to be *admissable* if whenever all the premises are provable then so is the conclusion. Every derived rule is necessarily admissable, but not vice versa. Say we take the following as our definition of typed lambda calculus: Id ----------------- Gamma, x:A |- x:A Gamma, x:A |- u:B ->I --------------------------- Gamma |- lambda x. u : A->B Gamma |- s:A->B Gamma |- t:A ->E ------------------------------- Gamma |- s t : B Then the following rules are admissable, but not derived:(Continue reading)
RSS Feed