177 From \(a^2=a\) to Reflexivity, Transitivity, and Euclideanness
Thesis. The idempotency \(a^2=a\) (equivalently \(A=A\), \(\Pi ^2=\Pi \)), promoted to a binary relation \(R\) on a set \(X\), becomes \(R^2=R\).
This single condition forces the three defining properties of an equivalence / causal structure:
reflexivity, transitivity, and Euclideanness.
A relation that is reflexive, transitive, and Euclidean is an equivalence relation; with
antisymmetry it is a partial (indeed total on each cone) order. The idempotency \(a^2=a\) — the
algebraic form of \(A=A\) — is therefore the relational seed of both equivalence and causal-order
structure: the cones \({\uparrow }x\) are cliques, totally ordered once antisymmetry is imposed. The same \(\Pi ^2=\Pi \) that
generates the projector spectrum \(\{0,1\}\) generates, at the relational level, the order structure
\(R^2=R\).
177.1 \(A=A\) as the Identity Type: the \(\infty \)-Groupoid Lift
Thesis. The relational lift \(R^2=R\) (preceding subsection) has a homotopy-type-theoretic counterpart:
the identity type \(\operatorname {Id}_A(x,y)\equiv (x=_A y)\). Where \(R^2=R\) generated reflexivity, transitivity, and symmetry as properties, the
identity type generates them as structure carrying higher coherence — making \((A,\operatorname {Id}_A)\) an
\(\infty \)-groupoid. \(A=A\) is thus not a bare proposition but the generator of an entire tower of
paths.
Step 1: Identity type and reflexivity
The proposition \(A=A\) lifts to the identity type
Because the coherence laws of Step 4 themselves hold up to higher paths (and those up to
still higher paths, ad infinitum), the pair \((A,\operatorname {Id}_A)\) is an \(\infty \)-groupoid:
Just as the algebraic form \(a^2=a\) (the projector \(\Pi ^2=\Pi \)) generates the binary spectrum \(\{0,1\}\), and the
relational form \(R^2=R\) generates order structure (reflexivity, transitivity, Euclideanness), the
type-theoretic form \(\operatorname {Id}_A(x,x)\) generates the \(\infty \)-groupoid. The same \(A=A\) appears at three levels: as a
spectrum-fixing idempotent (operators), as an order-generating relation (sets), and as a
path-generating identity type (homotopy). In the last, \(A=A\) is the reflexivity path \(\mathrm {refl}_x\) — the seed from
which symmetry, transitivity, and all higher coherences unfold as the tower of an
\(\infty \)-groupoid.
177.2 From HoTT [193] to \((\infty ,1)\)-Categories and Hilbert Spaces
Thesis. The \(\infty \)-category does not live inside ETCS — ETCS is the \(0\)-truncation \(\tau _{\leq 0}\) of HoTT. The
full untruncated type theory is the internal language of an \((\infty ,1)\)-topos: each type carries an
\(\infty \)-groupoid of iterated identity types. This \(\infty \)-groupoid is then represented on a Hilbert space,
linking the categorical and quantum structures.
It discards all cells above level \(0\), so it contains no \(\infty \)-category.
The \(\infty \)-structure lives only in the untruncated \((\infty ,1)\)-topos whose internal language is full
HoTT.
177.3 From \((\infty ,1)\)-Topos to BHK Semantics
Thesis. The chain \((\infty ,1)\text {-Topos}\to \text {Topos}\to \Omega \to \text {Heyting} \to \text {BHK}\) is derived stepwise: \(0\)-truncation collapses an \((\infty ,1)\)-topos to an ordinary topos,
the subobject classifier \(\Omega \) is an internal Heyting algebra, and the Curry–Howard correspondence
reads off BHK semantics from the Heyting structure.
I. \((\infty ,1)\)-Topos \(\to \) Topos by \(0\)-Truncation
Let \(\mathcal {X}\) be an \((\infty ,1)\)-topos with truncation functor:
II. Topos \(\to \) Subobject Classifier \(\Omega \)
An elementary topos \(\mathcal {E}\) has a subobject classifier \(\Omega \in \mathcal {E}\) with \(\top :1\to \Omega \), such that every monomorphism \(m:A\rightarrowtail X\) has a
unique characteristic map \(\chi _m:X\to \Omega \):
\begin{equation} \begin {array}{ccc} A & \longrightarrow & 1 \\ \downarrow m & & \downarrow \top \\ X & \xrightarrow {\;\chi _m\;} & \Omega \end {array} \qquad \text {(pullback)}. \tag{8246}\end{equation}
A proof of \(P\) is a global
element \(1\to \Omega \) factoring through \(\top \); the BHK clauses are the internal-language reading of the Heyting
operations. Therefore:
Remark 177.1 (Intuitionistic logic as topos internal language).The internal logic of
any elementary topos is intuitionistic, not classical. The subobject classifier \(\Omega \)is a Heyting
algebra rather than a Boolean algebra: the law of excluded middle \(P\vee \neg P=\top \)and double-negation
elimination \(\neg \neg P=P\)hold only in the special case of a Boolean topos (\(\Omega \cong 1+1\)).
At the proof-relevant level, the Curry–Howard correspondence identifies type
constructors with BHK proof-constructions: a proof of \(P\wedge Q\)is a pair, of \(P\vee Q\)an injection,
of \(P\Rightarrow Q\)a function — this is \(\mathrm {BHK}_{\rm thick}\), the internal type theory of a cartesian-closed category
(Subsection 177.4). Propositional \((-1)\)-truncation collapses this to \(\mathrm {BHK}_{\rm thin}\cong \)Heyting, retaining only
inhabitation.
The full chain therefore reads: homotopy type theory, through its \((\infty ,1)\)-categorical
semantics, contains ordinary topos logic at the \(0\)-truncated level. A topos has a Heyting\(\Omega \), and Heyting is \(\mathrm {BHK}_{\rm thin}\)— the proof-irrelevant shadow of the proof-relevant \(\mathrm {BHK}_{\rm thick}\)recovered by
categorification. \(\mathrm {HoTT}\)at \(\tau _{\le 0}\)is a topos; a topos has a Heyting \(\Omega \); and Heyting is \(\mathrm {BHK}_{\rm thin}\).
Thesis. Heyting logic and the BHK interpretation are not in a single “derives from” relation;
they are linked by an adjoint pair. Truncation descends from proof-relevant types to
proof-irrelevant propositions; categorification ascends. The full chain \((\infty ,1)\)-topos \(\to \) 1-topos \(\to \) Heyting is
descent by truncation; Heyting \(\to \) CCC \(\to \) BHK\(_{\rm thick}\) is ascent by categorification; and BHK\(_{\rm thick}\to \) BHK\(_{\rm thin}\cong \)
Heyting closes the loop.
where the identity types \(\operatorname {Id}_A(x,y)\) and all homotopy
groups \(\pi _0,\pi _1,\pi _2,\ldots \) are retained. The 0-truncation \(\tau _{\le 0}\) kills \(\pi _n\) for \(n\ge 1\); the \((-1)\)-truncation \(|A|_{-1}\) retains only \(A\neq \varnothing \):
Heyting and BHK are the same logic at two truncation levels. Within a level,
Curry–Howard gives the dictionary (\(\wedge \leftrightarrow \times \), \(\Rightarrow \leftrightarrow (-)^A\), etc.). Across levels, truncation descends (proof-relevant \(\to \)
proof-irrelevant) and categorification ascends. The apparent tension — “Heyting derives from
BHK” versus “BHK derives from Heyting” — dissolves: the \((-1)\)-truncation sends BHK\(_{\rm thick}\) to Heyting
(thick \(\to \) thin), while categorification sends Heyting to BHK\(_{\rm thick}\) (thin \(\to \) thick). They are the two
directions of an adjunction, not a contradiction.
177.5 From Categories to Hilbert Spaces
Thesis. A category is represented on Hilbert spaces by a functor \(F:\mathcal {C}\to \mathbf {Hilb}\) sending each object
to an \(\ell ^2\) space of morphisms. For a groupoid, this is the groupoid \(C^*\)-algebra acting on
\(\ell ^2(\mathcal {C})\).
Part I: The representation functor
A category \(\mathcal {C}\) with objects \(\mathrm {Ob}(\mathcal {C})\) and hom-sets \(\mathrm {Hom}_{\mathcal {C}}(X,Y)\) is sent to Hilbert spaces by a functor:
The full chain.
HoTT yields the \(\infty \)-groupoid \(\Pi _\infty (A)\), embedding into \((\infty ,1)\mathrm {Cat}\); the \(0\)-truncation is ETCS (\(\mathbf {Set}\)). A category \(\mathcal {C}\) is
then represented on a Hilbert space via \(\mathcal {H}_X=\ell ^2(\mathrm {Hom}(A,X))\), and for a groupoid this is the groupoid \(C^*\)-algebra. The
path from type theory to quantum mechanics runs:
177.6 From \(\infty \)-Groupoids to von Neumann Algebras
Thesis. The \(1\)-truncation of an \(\infty \)-groupoid is an ordinary groupoid, whose convolution algebra
closes (in the weak topology) to a von Neumann algebra. For the fundamental \(\infty \)-groupoid of a
space, this is the group von Neumann algebra \(L(\pi _1(X))\), completing the passage HoTT \(\to \)\(\infty \)-groupoid \(\to \)
operator algebra.
Step 1: \(1\)-truncation to an ordinary groupoid
Let \(\mathcal {G}_\infty \) be an \(\infty \)-groupoid. Its \(1\)-truncation discards all cells above level \(1\):
Interpretation.
The \(\infty \)-groupoid of a type carries homotopy at every level, but the operator-algebraic shadow
sees only the \(1\)-truncation: the fundamental group \(\pi _1\). Its group von Neumann algebra \(L(\pi _1(X))\), with
canonical trace \(\tau (a)=\langle a\delta _e,\delta _e\rangle \), is the tracial algebra on which the Tomita–Takesaki modular flow acts.
The chain
connects type theory to the modular time flow: the higher homotopy is
truncated to \(\pi _1\), the group algebra closes to a tracial von Neumann algebra, and the
trace generates the modular dynamics that, in the gravitational setting, is emergent
time.
177.7 The h-Level Truncation Tower
Thesis. Every type sits in a tower of homotopy levels, from contractible (\(-2\)) through
propositions (\(-1\)), sets (\(0\)), groupoids (\(1\)), and upward to the full \(\infty \)-groupoid. Each level is defined
recursively by the homotopy level of its identity types, and the truncation operators \(\tau _n\) project
down the tower. ETCS lives at level \(0\); the operator-algebraic shadow (\(\pi _1\)) lives at level
\(1\).
Each level requires the identity types one level down to be already truncated — the tower is
built from the bottom by iterating \(\prod _{x,y:A}(-)\) on identity types.
Truncation operators
The truncation \(\tau _n\) projects a type to its \(n\)-type:
The tower organises all of mathematics by homotopy level. At the bottom, \(\tau _{-2}\) collapses everything
to a point; \(\tau _{-1}\) keeps only truth values (propositions, the subobject classifier \(\Omega \)); \(\tau _0\) keeps sets (ETCS);
\(\tau _1\) keeps groupoids (whose \(\pi _1\) gives the group von Neumann algebra of Section 177.6). Each
successive truncation discards one more layer of higher homotopy.
The physical content lives at specific levels. ETCS and classical set theory are the
\(0\)-truncation. The fundamental group \(\pi _1\) — and hence the operator algebra \(L(\pi _1)\) and the Tomita
modular flow — is the \(1\)-truncation. The full untruncated type (\(\tau _\infty (A)=A\)) is the \(\infty \)-groupoid, the internal
object of the \((\infty ,1)\)-topos. Mathematics is not a single level but the entire tower; classical structures
are its lower truncations, and the higher homotopy that ETCS discards is exactly what carries
the \(\infty \)-categorical and quantum structure.
177.8 From HoTT to ZFC via \(0\)-Truncation
Thesis. Classical set theory is the \(0\)-truncation of homotopy type theory. Restricting HoTT to
\(0\)-types (sets) and adding the law of excluded middle, choice, and replacement recovers ETCS
and then ZFC. The entire classical foundation is the lowest non-trivial floor of the h-level
tower.
Step 1: \(0\)-truncation of the universe
Start from HoTT with universe \(\mathcal {U}\) and take the \(0\)-truncation:
LEM forces the subobject
classifier \(\Omega \) to be two-valued (\(\Omega =\mathbf {2}\)), making the topos Boolean; AC provides splitting of
epimorphisms.
Interpretation.
ZFC is not foundational bedrock — it is the \(0\)-truncation of HoTT with three classical
axioms added. The passage discards all higher homotopy (\(\tau _0\) keeps only sets), collapses the
Heyting-valued \(\Omega \) to Boolean (LEM), splits epimorphisms (AC), and closes under replacement.
Everything above level \(0\) — the groupoids carrying \(\pi _1\), the operator algebras \(L(\pi _1)\), the modular
flow, and the full \(\infty \)-categorical structure — is invisible to ZFC. Classical set theory is
the shadow that the \(\infty \)-groupoid casts at homotopy level \(0\). The complete picture runs
from the untruncated type at the top down through every truncation: