Simply typed lambda calculus¶
The term simple type is also used to refer to extensions of the simply typed lambda calculus with constructs such as products, coproducts or natural numbers (System T) or even full recursion (like PCF).
Core Idea¶
The simply typed lambda calculus (\(\lambda^\to\)) is a form of type theory: a typed interpretation of the lambda calculus with only one type constructor, the arrow \(\to\), which builds function types. It is the canonical and simplest example of a typed lambda calculus. Alonzo Church introduced it in 1940 as an attempt to avoid paradoxical uses of the untyped lambda calculus. In his presentation Church used two base types, \(o\) for propositions and \(\iota\) for individuals, though the calculus with a single base type is frequently studied.
The term "simple type" is also applied to extensions with products, coproducts or natural numbers (System T), or even full recursion (as in PCF). These still count as simple because, apart from full recursion, such structures can be Church-encoded using only \(\to\) and suitable type variables. By contrast, systems that introduce polymorphic types (such as System F) or dependent types (such as the Logical Framework) are not considered simply typed, because polymorphism and dependency cannot be encoded this way.
A central property is strong normalization: under the standard semantics every sequence of reductions on a well-typed term terminates. This holds because the typing rules forbid recursion; neither fixed-point combinators nor the looping term \(\Omega = (\lambda x.xx)(\lambda x.xx)\) can be given a type. Enriched with product types, the calculus is the internal language of Cartesian closed categories, as Joachim Lambek first observed.
How would you explain it like I'm…
Labeled Machines
Functions with Type Labels
Arrow-Only Typed Lambda Calculus
Structural Signature¶
Sig role-phrases:
- Defining carrier — It is possible to define an extrinsic semantics on annotated terms simply by ignoring the types (i.e., through type erasure), as it is possible to give an intrinsic semantics on unannotated terms when the types can be deduced from context (i.e., through type inference).
- Constitutive relation — The validity of a typing judgment is shown by providing a typing derivation, constructed using typing rules (wherein the premises above the line allow us to derive the conclusion below the line).
- Operating condition — This has the effect that terms differing only by type annotations can nonetheless be assigned different meanings.
- Recognition evidence — Most of the different semantic interpretations discussed below can be seen through either an intrinsic or extrinsic perspective.
- Admissible variation — The advantage of typed lambda calculus is that STLC allows potentially nonterminating computations to be cut short (that is, reduced).
- Characteristic consequence — Likewise, the operational semantics of simply typed lambda calculus can be fixed as for the untyped lambda calculus, using call by name, call by value, or other evaluation strategies.
- Failure boundary — The simply typed lambda calculus enriched with product types, pairing and projection operators (with \(\beta\eta\)-equivalence) is the internal language of Cartesian closed categories (CCCs), as was first observed by Joachim Lambek.
What It Is Not¶
- Not the whole field of computer_science_and_information. The node requires the specific identity stated by The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types.
- Not an over-broad reading. Unlike the untyped lambda calculus, the simply typed lambda calculus is not Turing complete.
- Not an over-broad reading. A corollary of this is that the finite model property holds, i.e. finite sets are sufficient to distinguish terms that are not identified by \(\beta\eta\)-equivalence.
- Not an over-broad reading. The type \(o\) has no term constants, whereas \(\iota\) has one term constant.
- Not automatically Typed lambda calculus. Retrieval proximity does not establish equivalence; the two identities must be compared by carrier, operation, and failure boundary.
Scope of Application¶
Simply typed lambda calculus applies literally inside computer_science_and_information wherever the source-defined carrier and relation can be established. Its documented habitats include:
- Syntax. In his presentation, Church used only two base types: \(o\) for "the type of propositions" and \(\iota\) for "the type of individuals".
- Syntax. The Greek letter subscripts \(\alpha\), \(\beta\), etc. denote type variables; the parenthesized subscripted \((\alpha\beta)\) denotes the function type \(\beta\to\alpha\).
- Syntax. Church 1940 p.58 used 'arrow or \(\to\)' to denote stands for, or is an abbreviation for.
- Syntax. Informally, the function type \(\sigma \to \tau\) refers to the type of functions that, given an input of type \(\sigma\), produce an output of type \(\tau\).
- Syntax. The term syntax, in Backus–Naur form, is variable reference, abstractions, application, or constant.
- Syntax. Whereas in typed lambda calculus every abstraction (i.e. function) must specify the type of its argument.
Outside computer_science_and_information, the name should be retained only when these same operational conditions survive; otherwise the comparison belongs to the broader parent Pattern or should be marked as analogy.
Clarity¶
A clear use of Simply typed lambda calculus names the carrier, the operative relation, and the conditions under which the source treats the identity as present. The minimal definition is The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types. The strongest recognition evidence is: Most of the different semantic interpretations discussed below can be seen through either an intrinsic or extrinsic perspective. A report should distinguish that evidence from a proxy, consequence, or common implementation. It should also state the qualification Unlike the untyped lambda calculus, the simply typed lambda calculus is not Turing complete. so that a reader can reproduce the classification rather than infer it from topical resemblance.
Manages Complexity¶
Simply typed lambda calculus compresses multiple computer_science_and_information details into a stable diagnostic relation. The source shows both the central mechanism—the validity of a typing judgment is shown by providing a typing derivation, constructed using typing rules (wherein the premises above the line allow us to derive the conclusion below the line).—and the practical consequence—likewise, the operational semantics of simply typed lambda calculus can be fixed as for the untyped lambda calculus, using call by name, call by value, or other evaluation strategies. This compression makes cases comparable while leaving parameters, conventions, exceptions, and evidential quality explicit. It is lossy by design: local history and implementation details may be omitted only when they do not alter the defining relation.
Abstract Reasoning¶
- Type the carrier. Identify the computer_science_and_information entities to which the claim applies.
- State the relation. Use the source-grounded identity: The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types.
- Check operation and conditions. This has the effect that terms differing only by type annotations can nonetheless be assigned different meanings.
- Demand recognition evidence. Most of the different semantic interpretations discussed below can be seen through either an intrinsic or extrinsic perspective.
- Test variation. Change an implementation or setting while preserving the advantage of typed lambda calculus is that STLC allows potentially nonterminating computations to be cut short (that is, reduced).
- Run the collapse test. Remove the defining operation; if the label still seems equally apt, only a topic or correlate was retained.
- Reduce cautiously. When the specialist conditions cannot be carried, route the residual comparison to Pattern.
Knowledge Transfer¶
Within the home domain. Knowledge about Simply typed lambda calculus transfers literally when a new case preserves the same carrier type, relation, and recognition test. In his presentation, Church used only two base types: \(o\) for "the type of propositions" and \(\iota\) for "the type of individuals". The Greek letter subscripts \(\alpha\), \(\beta\), etc. denote type variables; the parenthesized subscripted \((\alpha\beta)\) denotes the function type \(\beta\to\alpha\).
Beyond the home domain. No canonical parent is asserted for Simply typed lambda calculus. An outside case receives the specialist name only when the same typed roles and rejection conditions can be filled literally; otherwise the comparison remains an analogy pending later graph densification.
Examples¶
Canonical¶
By the 1970s stand-alone arrow notation was in use; for example in this article non-subscripted symbols \(\sigma\) and \(\tau\) can range over types. This case is canonical because it supplies a concrete carrier and lets the defining relation be checked rather than merely named.
Mapped back: carrier → the entities in the documented case; operation → The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types; recognition evidence → Most of the different semantic interpretations discussed below can be seen through either an intrinsic or extrinsic perspective
Applied / In Practice¶
For example, it might be assumed that one of the base types is nat, and its term constants could be the natural numbers. The applied case shows how the identity is used under a second setting or qualification while keeping the same operative relation.
Mapped back: changed setting → Syntax; invariant → The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types; boundary → the case exits the class when unlike the untyped lambda calculus, the simply typed lambda calculus is not Turing complete
Structural Tensions¶
T1 — Stable identity versus admissible variation. Unlike the untyped lambda calculus, the simply typed lambda calculus is not Turing complete. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.
Diagnostic: Which changes preserve the defining relation, and which replace it?
T2 — Recognition versus proxy. A corollary of this is that the finite model property holds, i.e. finite sets are sufficient to distinguish terms that are not identified by \(\beta\eta\)-equivalence. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.
Diagnostic: Does the cited evidence establish the identity or only a correlated sign?
T3 — Definition versus implementation. The type \(o\) has no term constants, whereas \(\iota\) has one term constant. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.
Diagnostic: Is the observed implementation constitutive, optional, or merely common?
T4 — Scope versus overextension. Whereas in typed lambda calculus every abstraction (i.e. function) must specify the type of its argument. The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.
Diagnostic: Can every claimed application fill the same typed roles without metaphor?
T5 — Transfer versus domain accent. It is possible to define an extrinsic semantics on annotated terms simply by ignoring the types (i.e., through type erasure), as it is possible to give an intrinsic semantics on unannotated terms when the types can be deduced from context (i.e., through type inference). The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.
Diagnostic: Does the receiving case instantiate Simply typed lambda calculus literally, co-instantiate Pattern, or only resemble it?
T6 — Autonomy versus reduction. The validity of a typing judgment is shown by providing a typing derivation, constructed using typing rules (wherein the premises above the line allow us to derive the conclusion below the line). The tension matters because emphasizing only one side either dissolves the identity or overstates what the evidence and domain conventions warrant.
Diagnostic: What does Simply typed lambda calculus distinguish that the broader parent Pattern leaves together?
Structural–Framed Character¶
Simply typed lambda calculus is structural-leaning. Its structural side is the repeatable organization summarized by The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types. Its framed side is the computer_science_and_information vocabulary that fixes the carrier, evidence, exceptions, and admissible transformations.
Evaluative weight: the identity can be stated descriptively even when applications carry practical stakes. Human-practice dependence: the source-grounded carrier determines whether the relation exists independently or is constituted by a practice. Institutional origin: disciplinary conventions stabilize the name and test. Vocabulary portability: This has the effect that terms differing only by type annotations can nonetheless be assigned different meanings. Import versus recognition: literal transfer requires the same mechanism; shape alone is analogy.
Its portable skeleton is Pattern. Its character: a recurring specialist identity whose thin organization can be abstracted, while its operational meaning remains domain-bound.
Structural Core vs. Domain Accent¶
What is skeletal. The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types. The stable skeleton is the typed relation expressed in that definition and the entry's recognition and collapse tests. The source identifies these operative conditions: It is possible to define an extrinsic semantics on annotated terms simply by ignoring the types (i.e., through type erasure), as it is possible to give an intrinsic semantics on unannotated terms when the types can be deduced from context (i.e., through type inference). The validity of a typing judgment is shown by providing a typing derivation, constructed using typing rules (wherein the premises above the line allow us to derive the conclusion below the line). It further constrains recognition and variation through: This has the effect that terms differing only by type annotations can nonetheless be assigned different meanings. Most of the different semantic interpretations discussed below can be seen through either an intrinsic or extrinsic perspective.
What is domain-bound. computer science and information supplies the operative entities, technical vocabulary, warrants, and exceptions that make Simply typed lambda calculus literal. Its documented scope includes the condition that In his presentation, Church used only two base types: \(o\) for "the type of propositions" and \(\iota\) for "the type of individuals". Another bounded application condition is that The Greek letter subscripts \(\alpha\), \(\beta\), etc. denote type variables; the parenthesized subscripted \((\alpha\beta)\) denotes the function type \(\beta\to\alpha\). These are not decorative examples; they determine which carrier and evidence can fill the abstraction's roles.
Why no parent is asserted. Removing those specialist details does not currently yield one live catalog node that is a necessary genus for every instance. The entry is therefore approved as unparented rather than attached by topical resemblance. Its collapse evidence remains specific—The advantage of typed lambda calculus is that STLC allows potentially nonterminating computations to be cut short (that is, reduced).—and future graph densification may discover a defensible relation only if it preserves that boundary.
Instantiates / Related Primes¶
This entry is a kind of Formal System.
- Approved unparented node. No current live node supplies a defensible necessary genus or structural prerequisite for Simply typed lambda calculus. The reviewed identity is: The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types. The accelerated suggestion was declined because topical or lexical similarity does not establish hierarchy; the node is admitted without a parent pending later graph densification.
- Related reasoning operations. Evidence, representation, comparison, classification, transformation, or evaluation may participate in particular cases, but participation does not make any one of them a necessary parent of every instance.
Relationships to Other Abstractions¶
Current abstraction Simply typed lambda calculus Domain-specific
Parents (1) — outgoing typed relations
-
Simply typed lambda calculus is a kind of Formal System Prime
Simply typed lambda calculus is a domain-specific kind of formal system under the frozen identity and differentia. Complete-catalog comparison found the corresponding live broader identity.Simply typed lambda calculus is a domain-specific kind of formal system under the frozen identity and differentia. Complete-catalog comparison found the corresponding live broader identity.
Hierarchy paths (2) — routes to 2 parentless roots
- Simply typed lambda calculus → is a kind of Formal System → presupposes Formalization → presupposes Representation → presupposes Abstraction
- Simply typed lambda calculus → is a kind of Formal System → presupposes Formalization → is a decomposition of Transformation → is a kind of, typical Function (Mapping)
Neighborhood in Abstraction Space¶
Simply typed lambda calculus sits in a moderately populated region (41st percentile for distinctiveness): it has near-neighbors but no dense thicket of look-alikes.
Family — Type Systems & Functional Constructs (20 abstractions)
Nearest neighbors
- Typing Environment — 0.90
- Categorial Grammar — 0.88
- Intuitionistic Type Theory — 0.88
- Principal type — 0.87
- Near-equivalence Mapping — 0.86
Computed from structural-signature embeddings · 2026-11-14
Not to Be Confused With¶
- Pattern. The parent omits the specialist differentia. Tell: Can the case establish The simply typed lambda calculus is a typed interpretation of the lambda calculus with only one type constructor, the arrow, which builds function types?
- Typed lambda calculus. A lambda-calculus formalism assigning types to variables and terms and restricting abstraction and application through typing rules. Tell: Which entry's carrier, operation, and failure condition are satisfied?
- ΛProlog. A higher-order typed logic-programming language using hereditary Harrop formulas, lambda-tree syntax, and higher-order unification to represent binding structures declaratively. Tell: Which entry's carrier, operation, and failure condition are satisfied?
- Let-Polymorphism. Generalize eligible let-bound definitions into universally quantified type schemes and instantiate each use freshly, while lambda-bound parameters remain monomorphic, yielding reusable parametric code with decidable principal-type inference in the Hindley–Milner core. Tell: Which entry's carrier, operation, and failure condition are satisfied?
- A measurement, proxy, or consequence. Those may provide evidence without being the identity. Tell: Would Simply typed lambda calculus remain present if the detector or downstream effect changed?
- A metaphorical analogue. A similar shape outside computer_science_and_information lacks the specialist mechanism. Tell: Do the native roles transfer literally, or only the parent Pattern?
References¶
- Frozen Wikipedia discovery revision: https://en.wikipedia.org/wiki/Simply_typed_lambda_calculus (revision 1369206484).