Linear type system
Builds on Simply typed lambda calculusType systemLinear logic
Definition
Take the types and the terms of the simply typed lambda calculus with pairs and the destructor . A context is a finite list of distinct typed variables, and denotes the union of two contexts with no common variable. The linear type system is the least relation closed under these rules.
- Variable: , with exactly one variable in the context.
- Abstraction: if , then .
- Application: if and , then .
- Pairing: if and , then .
- Unpairing: if and , then .
- Exchange: the order of variables in a context does not matter.
The context is split between subterms, and the variable rule allows no extra variables. So every variable of occurs exactly once in whenever .
Remarks
Example: . The check: rule 4 with the contexts and gives its type, rule 5 with consumes , and rule 2 abstracts .
Non-example: has no type. Rule 4 needs disjoint contexts for the two components, but both need ; this is contraction, which the system lacks. Likewise has no type, since would stay unused at the variable rule; this is weakening.
The connectives and are linear implication and the multiplicative conjunction of linear logic. Adding weakening gives affine types, adding contraction gives relevant types, and adding both gives back the ordinary type system of the simply typed calculus.
Reading path
To understand this page from the ground up, read these 26 pages in order. The foundations come first.
Show the path as a graph
- no evidence level
- Element definition
- Intuitionistic logic concept
- Lambda calculus concept
- Linear logic concept
- Proposition concept
- Set concept
- Type system concept
- Set definition
- Conjunction definition
- Disjunction definition
- Implication definition
- Negation definition
- Biconditional definition
- Truth table concept
- Modus ponens concept
- Mathematical proof concept
- Propositional logic concept
- Tautology definition
- Logical equivalence definition
- Double negation law statement
- Proof by contradiction concept
- Russell's paradox statement
- Type theory concept
- Curry–Howard correspondence concept
- Simply typed lambda calculus concept
- Linear type system definition
Further reading
About this page
| Tag | NTS9ZF3PHJ |
|---|---|
| URI | m2://NTS9ZF3PHJ |
| Kind | definition |
| Writing | W0 stub |
| MSC | 68N15, 03B47, 68N18 |
| Defines | Linear type system |
| Uses | Simply typed lambda calculus, Type system, Linear logic |
| Changed | 3 November 2026 |
Markdown · JSON · Edit on GitHub
What this page needs for W1
- an inventory row: the row of the inventory that the node accounts for (0 of 1)
- a source with a locator (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.
What links here
No page links to this page yet.