Skip to content

A Unit is a value — a typed, self-contained element of a type where equality is structural: two units of the same type with the same attributes are the same unit, regardless of when or where they were created.

Unit

Let C\mathcal{C} be a category with a terminal object 11.

Definition. A global element (or unit) of an object AA in C\mathcal{C} is a morphism u:1Au : 1 \to A.

Proposition. Two global elements u,v:1Au, v : 1 \to A are equal iff they are equal as morphisms. Identity is determined entirely by content — there is no separate identity carrier.

Proposition. Since 11 is the unit for products (A×1AA \times 1 \cong A), a global element u:1Au : 1 \to A is the canonical way to select a specific element of AA from outside.

In type theory, a global element corresponds to a closed term t:Tt : T — a term with no free variables, fully determined without ambient context. Two closed terms are equal iff they reduce to the same normal form.

Definition. A unit in this system is any value whose equality is structural: two units of the same type with identical attributes are the same unit. This contrasts with an Entity, which carries a separate identity that persists across attribute changes.

Examples.

  • Two morphisms 1A1 \to A with the same composite are the same global element.
  • In Set\mathbf{Set}, global elements of a set AA are exactly the elements of AA.
  • WorkUnit and PromptUnit are units: equality is by content, not by id.

Proposition. Units are closed under products: if u:1Au : 1 \to A and v:1Bv : 1 \to B, then (u,v):1A×B(u, v) : 1 \to A \times B is a unit of the product.

Open questions

  • Whether the product closure (Unit ×\times Unit = Unit) should be elevated to a formal axiom in the system.
  • Whether ContextEntry is a unit (defined by content) or an entity (has local identity via heading).

Relations

Ast
Content
Relational universe
Date created
Date modified
Defines
Unit
Mathematical object
Category
Output
Relational universe
Related
Entity

Cite

@misc{emsenn2026-unit,
  author    = {emsenn},
  title     = {},
  year      = {2026},
  note      = {A Unit is a value — a typed, self-contained element of a type where equality is structural: two units of the same type with the same attributes are the same unit, regardless of when or where they were created.},
  url       = {https://emsenn.net/library/math/terms/unit/},
  publisher = {emsenn.net},
  license   = {CC BY-SA 4.0}
}