Math 2.0

Mathematical logic and foundations Definition

Lambda cube

Builds on Type theoryLambda calculus

Definition

Let ∗\ast and □\square be two constants, called sorts, and let s,s1,s2s, s_1, s_2 range over {∗,□}\set{\ast, \square}. Terms are built from variables, the sorts, application A BA\, B, abstraction λx:A. B\lambda x{:}A.\, B and product Πx:A. B\Pi x{:}A.\, B. For a set R⊆{∗,□}2R \subseteq \set{\ast, \square}^2, the system λR\lambda R derives judgments Γ⊢A:B\Gamma \vdash A : B with these rules, among others.

  1. Axiom: ⊢∗:□\vdash \ast : \square.
  2. Product: for each (s1,s2)∈R(s_1, s_2) \in R, if Γ⊢A:s1\Gamma \vdash A : s_1 and Γ,x:A⊢B:s2\Gamma, x{:}A \vdash B : s_2, then Γ⊢(Πx:A. B):s2\Gamma \vdash (\Pi x{:}A.\, B) : s_2.
  3. Abstraction: if Γ,x:A⊢b:B\Gamma, x{:}A \vdash b : B and Γ⊢(Πx:A. B):s\Gamma \vdash (\Pi x{:}A.\, B) : s, then Γ⊢(λx:A. b):Πx:A. B\Gamma \vdash (\lambda x{:}A.\, b) : \Pi x{:}A.\, B.
  4. Application: if Γ⊢F:Πx:A. B\Gamma \vdash F : \Pi x{:}A.\, B and Γ⊢a:A\Gamma \vdash a : A, then Γ⊢F a:B[x:=a]\Gamma \vdash F\, a : B[x := a].
  5. Conversion: if Γ⊢a:A\Gamma \vdash a : A, Γ⊢B:s\Gamma \vdash B : s and A=βBA =_\beta B, then Γ⊢a:B\Gamma \vdash a : B.

The remaining rules are the start, weakening and variable rules for contexts. The lambda cube consists of the eight systems λR\lambda R with (∗,∗)∈R⊆{(∗,∗),(□,∗),(□,□),(∗,□)}.(\ast, \ast) \in R \subseteq \set{(\ast, \ast), (\square, \ast), (\square, \square), (\ast, \square)}.

Remarks

The pair (□,∗)(\square, \ast) allows terms depending on types, (□,□)(\square, \square) allows types depending on types, and (∗,□)(\ast, \square) allows types depending on terms.

Example: R={(∗,∗)}R = \set{(\ast, \ast)} gives the simply typed lambda calculus λ→\lambda{\to}. With only this rule, products are formed only from two types A:∗A : \ast and B:∗B : \ast, and they act as function types, written A→BA \to B.

Non-example: the set R={(□,∗)}R = \set{(\square, \ast)} does not give a system of the cube, because it lacks (∗,∗)(\ast, \ast).

Other vertices are λ2\lambda 2 with R={(∗,∗),(□,∗)}R = \set{(\ast, \ast), (\square, \ast)}, which is System F, and λC\lambda C with all four pairs, which is the calculus of constructions. Every system of the cube is strongly normalizing.

Reading path

To understand this page from the ground up, read these 21 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Element definition
  2. Lambda calculus concept
  3. Proposition concept
  4. Set concept
  5. Set definition
  6. Conjunction definition
  7. Disjunction definition
  8. Implication definition
  9. Negation definition
  10. Biconditional definition
  11. Truth table concept
  12. Modus ponens concept
  13. Mathematical proof concept
  14. Propositional logic concept
  15. Tautology definition
  16. Logical equivalence definition
  17. Double negation law statement
  18. Proof by contradiction concept
  19. Russell's paradox statement
  20. Type theory concept
  21. Lambda cube definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Lambda_cube
About this page
TagM6JY518Z68
URIm2://M6JY518Z68
Kinddefinition
WritingW0 stub
MSC03B40, 03B38, 68N18
DefinesLambda cube
UsesType theory, Lambda calculus
Changed3 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.