encyclopegia.org

Subject reduction

In type theory, a type system has the property of subject reduction (also subject evaluation, type preservation or simply preservation) if evaluation of expressions does not cause their type to change.[src] Formally, if ⊢ e 1 : τ and e 1 → e 2 then ⊢ e 2 : τ.[src] Intuitively, this means one would not like to write an expression, in say Haskell, of type Int, and have it evaluate to a value v, only to find out that v is a string.[src] Together with progress, it is an important meta-theoretical property for establishing type soundness of a type system.[src] The opposite property, if Γ ⊢ e 2 : τ and e 1 → e 2 then Γ ⊢ e 1 : τ, is called subject expansion.[src] It often does not hold as evaluation can erase ill-typed sub-terms of an expression, resulting in a well-typed one.[src]

In type theory, a type system has the property of subject reduction (also subject evaluation, type preservation or simply preservation) if evaluation of expressions does not cause their type to change.[src] Formally, if ⊢ e 1 : τ and e 1 → e 2 then ⊢ e 2 : τ.[src] Intuitively, this means one would not like to write an expression, in say Haskell, of type Int, and have it evaluate to a value v, only to find out that v is a string.[src] Together with progress, it is an important meta-theoretical property for establishing type soundness of a type system.[src] The opposite property, if Γ ⊢ e 2 : τ and e 1 → e 2 then Γ ⊢ e 1 : τ, is called subject expansion.[src] It often does not hold as evaluation can erase ill-typed sub-terms of an expression, resulting in a well-typed one.[src]

12 sentences · 12 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Subject reduction." encyclopegia.org, 2025, https://encyclopegia.org/wiki/subject-reduction. Accessed 01 December 2026.

Chicago

"Subject reduction." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/subject-reduction.

APA

encyclopegia.org. (2025). Subject reduction. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/subject-reduction

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1316290562 · 0.5 · snapshot enwiki-001316290562

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.