ArticleslgStudy

mathematics

System U

System U is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand System U rather than just read about it. In short: In mathematical logic, System U and System U− are pure type systems, i.e. special forms of a typed lambda calculus with an arbitrary number of sorts, axioms and rules (or dependencies between the sorts). System U was proved inconsistent by Jean-Yves Girard in 1972 (and the question of consistency of System U− was formulated).

Key takeaways

  • System U belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect System U to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of System U from memory before moving on to harder problems.

Reference excerpt

In mathematical logic, System U and System U− are pure type systems, i.e. special forms of a typed lambda calculus with an arbitrary number of sorts, axioms and rules (or dependencies between the sorts). System U was proved inconsistent by Jean-Yves Girard in 1972 (and the question of consistency of System U− was formulated). This result led to the realization that Martin-Löf's original 1971 type theory was inconsistent, as it allowed the same "type in type" behaviour that Girard's paradox exploits.

Formal definition System U is defined as a pure type system with

three sorts {∗,◻,△}; two axioms {∗:◻,◻:△}; and five rules {(∗,∗),(◻,∗),(◻,◻),(△,∗),(△,◻)}. System U− is defined the same with the exception of the (△,∗) rule. The sorts ∗ and ◻ are conventionally called “type” and “kind”, respectively; the sort △ doesn't have a specific name. The two axioms describe the containment of types in kinds (∗:◻) and kinds in △ (◻:△). Intuitively, the sorts describe a hierarchy in the nature of the terms.

All values have a type, such as a base type (e.g. b:Bool is read as “b is a boolean”) or a (dependent) function type (e.g. f:Nat→Bool is read as “f is a function from natural numbers to booleans”). ∗ is the sort of all such types (t:∗ is read as “t is a type”). From ∗ we can build more terms, such as ∗→∗ which is the kind of unary type-level operators (e.g. List:∗→∗ is read as “List is a function from types to types”, that is, a polymorphic type). The rules restrict how we can form new kinds. ◻ is the sort of all such kinds (k:◻ is read as “k is a kind”). Similarly we can build related terms, according to what the rules allow. △ is the sort of all such terms. The rules govern the dependencies between the sorts: (∗,∗) says that values may depend on values (functions), (◻,∗) allows values to depend on types (polymorphism), (◻,◻) allows types to depend on types (type operators), and so on.

Girard's paradox The definitions of System U and U− allow the assignment of polymorphic kinds to generic constructors in analogy to polymorphic types of terms in classical polymorphic lambda calculi, such as System F. An example of such a generic constructor might be (where k denotes a kind variable)

λk◻λαk→kλβk.α(αβ):Πk:◻.((k→k)→k→k). This mechanism is sufficient to construct a term with the type (∀p:∗,p) (equivalent to the type ⊥), which implies that every type is inhabited. By the Curry–Howard correspondence, this is equivalent to all logical propositions being provable, which makes the system inconsistent. Girard's paradox is the type-theoretic analogue of the Burali-Forti paradox in set theory.

References

Further reading Barendregt, Henk (1992). "Lambda calculi with types". In S. Abramsky; D. Gabbay; T. Maibaum (eds.). Handbook of Logic in Computer Science. Oxford Science Publications. pp. 117–309. Hurkens, Antonius J. C. (1995). Dezani-Ciancaglini, Mariangiola; Plotkin, Gordon (eds.). A simplification of Girard's paradox. Second International Conference on Typed Lambda Calculi and Applications (TLCA '95). Edinburgh. pp. 266–278. doi:10.1007/BFb0014058.

Worked examples

Example 1 — a first encounter with System U

Start with the simplest possible case. Write down what System U claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to System U before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about System U ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of System U

In research
System U appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses System U in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
System U is common in secondary-school and first-year university syllabi. It links to neighbouring topics Lambda calculus, Proof theory, Type theory, so understanding it makes those chapters shorter.
In everyday life
Look for System U outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “System U” →

How to study System U in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what System U means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain System U out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is System U in simple terms?

In mathematical logic, System U and System U− are pure type systems, i.e. special forms of a typed lambda calculus with an arbitrary number of sorts, axioms and rules (or dependencies between the sorts). System U was proved inconsistent by Jean-Yves Girard in 1972 (and the question of consistency o…

Why does System U matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study System U?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on System U.

Tags

  • Lambda calculus
  • Proof theory
  • Type theory

Keep exploring