179 Heyting Algebra Four Ways

The Heyting algebra [203] of intuitionistic logic may arise from \(A=A\) along four independent routes: the HoTT subobject classifier \(\Omega \), the Gödel–McKinsey–Tarski embedding of \(S4\), the Lindenbaum–Tarski quotient, and the open-set frame of \(S^3=SU(2)\). Each is a different face of the idempotent identity.

Route A: HoTT subobject classifier \(\Omega \)

A type is a mere proposition (h-prop) if all its terms are identified:

\begin{equation} \mathrm {isProp}(P) := \prod _{x,y:P}\operatorname {Id}_P(x,y). \tag{8697}\end{equation}
The universe of propositions is
\begin{equation} \Omega := \sum _{P:\mathcal {U}}\mathrm {isProp}(P), \tag{8698}\end{equation}
and subobjects of \(A\) are classified by maps into \(\Omega \):
\begin{equation} \mathrm {Sub}(A)\simeq (A\to \Omega ). \tag{8699}\end{equation}
For any mono \(m:B\hookrightarrow A\) there is a unique characteristic map \(\chi _m:A\to \Omega \) with the pullback square
\begin{equation} \begin {array}{ccc} B & \to & \mathbf {1}\\ \downarrow m & & \downarrow \top \\ A & \xrightarrow {\chi _m} & \Omega \end {array} \tag{8700}\end{equation}
The logical operations on \(\Omega \) (with propositional truncation \(\|\cdot \|\) for \(\vee \)):
\begin{equation} P\wedge Q = P\times Q,\quad P\vee Q = \|P+Q\|,\quad P\Rightarrow Q = (P\to Q),\quad \bot =\mathbf {0},\quad \top =\mathbf {1}. \tag{8701}\end{equation}
Univalence makes \((\Omega ,\wedge ,\vee ,\Rightarrow ,\bot ,\top )\) a Heyting algebra; LEM \(P\vee \neg P\) has no general term, so the logic is intuitionistic.
\begin{equation} \boxed {\text {HoTT}\Rightarrow \Omega =\textstyle \sum _P\mathrm {isProp}(P) \Rightarrow \text {subobject classifier}\Rightarrow \text {Heyting}.} \tag{8702}\end{equation}
Route B: Gödel–McKinsey–Tarski (\(S4\to \) IPC)

The Gödel translation embeds IPC into \(S4\):

\begin{equation} p^\Box =\Box p,\quad (\varphi \wedge \psi )^\Box =\varphi ^\Box \wedge \psi ^\Box ,\quad (\varphi \vee \psi )^\Box =\varphi ^\Box \vee \psi ^\Box ,\quad (\varphi \to \psi )^\Box =\Box (\varphi ^\Box \to \psi ^\Box ). \tag{8703}\end{equation}
The \(S4\) necessity is an interior operator: \(\Box \varphi \to \varphi \) (decreasing), \(\Box \varphi \to \Box \Box \varphi \) i.e. \(\Box ^2=\Box \) (idempotent), and monotone. The \(\Box \)-fixed points are the open elements:
\begin{equation} \varphi \ \text {open}:\Leftrightarrow \Box \varphi =\varphi , \qquad \Box (\Box \varphi )=\Box \varphi \ \Rightarrow \ \Box \varphi \ \text {open}. \tag{8704}\end{equation}
On open elements, the implication
\begin{equation} \varphi \Rightarrow \psi := \Box (\varphi \to \psi ) = \operatorname {int}(\varphi ^c\cup \psi ) \tag{8705}\end{equation}
gives a Heyting algebra, and
\begin{equation} \vdash _{\rm IPC}\varphi \;\Longleftrightarrow \; \vdash _{S4}\varphi ^\Box . \tag{8706}\end{equation}
\begin{equation} \boxed {S4:\ \Box ^2=\Box \Rightarrow \text {open elements}\Rightarrow \text {Heyting},} \tag{8707}\end{equation}
with \(\Box ^2=\Box \Longleftrightarrow \Pi ^2=\Pi \Longleftrightarrow A=A\): the necessity operator is a projector.
Route C: Lindenbaum–Tarski quotient

Define provable equivalence on IPC formulas:

\begin{equation} \varphi \sim \psi :\Longleftrightarrow (\vdash \varphi \to \psi )\wedge (\vdash \psi \to \varphi ). \tag{8708}\end{equation}

\(\sim \) is an equivalence relation. Reflexive: \(\vdash \varphi \to \varphi \) gives \(\varphi \sim \varphi \). Symmetric: immediate from the conjunction. Transitive: from \(\vdash \varphi \to \psi \), \(\vdash \psi \to \chi \) derive \(\vdash \varphi \to \chi \), and similarly the converse, so \(\varphi \sim \chi \).

\(\sim \) realises \(R^2=R\). With \(R=\sim \):

\begin{equation} R^2=\{(\varphi ,\chi ):\exists \psi ,\ \varphi \sim \psi \wedge \psi \sim \chi \}, \tag{8709}\end{equation}
\begin{equation} R^2\subseteq R\ (\text {transitivity}), \qquad R\subseteq R^2\ (\varphi \sim \varphi \wedge \varphi \sim \psi \Rightarrow (\varphi ,\psi )\in R^2), \tag{8710}\end{equation}
\begin{equation} R^2=R,\qquad R^{-1}=R,\qquad R^{-1}\circ R=R, \qquad R\ \text {equivalence relation}. \tag{8711}\end{equation}

Quotient Heyting algebra. The equivalence classes form

\begin{equation} \mathcal {H}=\mathrm {Formulas}/\!\sim , \qquad [\varphi ]=\{\psi :\varphi \sim \psi \}, \qquad [\varphi ]\leq [\psi ]:\Leftrightarrow \vdash \varphi \to \psi , \tag{8712}\end{equation}
with operations
\begin{equation} [\varphi ]\wedge [\psi ]=[\varphi \wedge \psi ],\quad [\varphi ]\vee [\psi ]=[\varphi \vee \psi ],\quad [\varphi ]\Rightarrow [\psi ]=[\varphi \to \psi ]. \tag{8713}\end{equation}
The deduction theorem is the Heyting adjunction:
\begin{equation} [\chi ]\wedge [\varphi ]\leq [\psi ] \Leftrightarrow \vdash (\chi \wedge \varphi )\to \psi \Leftrightarrow \vdash \chi \to (\varphi \to \psi ) \Leftrightarrow [\chi ]\leq [\varphi ]\Rightarrow [\psi ]. \tag{8714}\end{equation}
\begin{equation} \boxed {\mathcal {H}=\mathrm {Formulas}/\!\sim \ \text {is a free Heyting algebra}.} \tag{8715}\end{equation}
Route D: Open-set frame of \(S^3=SU(2)\)

The open sets of the de Sitter spatial slice \(S^3=SU(2)\) form

\begin{equation} \mathcal {O}(S^3)=\{U\subseteq S^3:U\ \text {open}\}, \tag{8716}\end{equation}
\begin{equation} \bigvee _{i\in I}U_i=\bigcup _{i\in I}U_i,\quad U\wedge V=U\cap V,\quad \top =S^3,\quad \bot =\varnothing , \tag{8717}\end{equation}
\begin{equation} \bigvee \mathcal {F}=\bigcup _{U\in \mathcal {F}}U,\quad \bigwedge _{k=1}^n U_k=\bigcap _{k=1}^n U_k, \tag{8718}\end{equation}
a complete lattice.

Frame distributivity.

\begin{equation} U\wedge \Big (\bigvee _i V_i\Big ) =U\cap \Big (\bigcup _i V_i\Big ) =\bigcup _i(U\cap V_i) =\bigvee _i(U\wedge V_i), \tag{8719}\end{equation}
so \(\mathcal {O}(S^3)\) is a frame.

Heyting implication.

\begin{equation} U\Rightarrow V =\bigvee \{W\in \mathcal {O}(S^3):W\wedge U\leq V\} =\bigcup \{W\ \text {open}:W\cap U\subseteq V\} =\operatorname {int}(U^c\cup V), \tag{8720}\end{equation}
with the adjunction
\begin{equation} W\leq (U\Rightarrow V) \Leftrightarrow W\subseteq \operatorname {int}(U^c\cup V) \Leftrightarrow W\cap U\subseteq V \Leftrightarrow W\wedge U\leq V, \qquad (-\wedge U)\dashv (U\Rightarrow -). \tag{8721}\end{equation}

Intuitionistic negation.

\begin{equation} \neg U=(U\Rightarrow \bot )=\operatorname {int}(U^c), \qquad \neg \neg U=\operatorname {int}(\overline {U}), \tag{8722}\end{equation}
\begin{equation} U\leq \neg \neg U, \qquad U\not \equiv \neg \neg U\ \ (\forall U), \tag{8723}\end{equation}
so the double-negation law fails — the topological origin of intuitionism. Hence
\begin{equation} \boxed {S^3=SU(2)\Rightarrow \mathcal {O}(S^3)\ \text {frame} \Rightarrow \text {complete Heyting algebra},} \tag{8724}\end{equation}
since Frame \(\Longleftrightarrow \) Complete Heyting algebra.
Unification




Route Starting point \(A=A\) connection



A. HoTT \(\Omega \) \(\operatorname {Id}_A\), \(\mathrm {isProp}\) identity type
B. GMT \(S4\), \(\Box ^2=\Box \) \(\Box =\Pi \) projector
C. Lindenbaum IPC, \(\sim \) \(\sim \) realises \(R^2=R\)
D. \(S^3\) frame \(\mathcal {O}(S^3)\) LQG spatial slice



\begin{equation} \boxed { A=A \;\Rightarrow \; \begin {cases} \Omega =\sum _P\mathrm {isProp}(P) &\text {(HoTT)}\\[4pt] \Box ^2=\Box \to \text {open elements} &\text {(GMT)}\\[4pt] \mathrm {Formulas}/\!\sim &\text {(Lindenbaum)}\\[4pt] \mathcal {O}(S^3) &\text {(frame)} \end {cases} \;\Rightarrow \;\text {Heyting}\;\Rightarrow \;\text {intuitionistic logic}. } \tag{8725}\end{equation}

179.1 Sharp \(\Rightarrow \) Classical, Path \(\Rightarrow \) Intuitionistic

Thesis. The same identity type \(\operatorname {Id}_A\) yields two logics depending on how it is read. Applying the sharp modality \(\sharp \) collapses the proposition object \(\Omega \) to the two-element set \(2=\{\bot ,\top \}\), giving Boolean algebra and classical logic. Reading \(\operatorname {Id}_A\) as paths keeps the full \(\Omega \), giving the Heyting algebra and intuitionistic logic. Since \(2\subsetneq \Omega \), classical logic is the truncation of the richer intuitionistic one: intuitionistic logic is the stronger, more structured system.

Part A: Sharp modality \(\Rightarrow \) classical logic

The sharp modality \(\sharp \) (and its dual \(\flat \)) discretises a type. It preserves identity:

\begin{equation} \sharp (x=_A y)\;\simeq \;(\sharp x=\sharp y). \tag{8726}\end{equation}
Applied to the proposition object \(\Omega \), it collapses to the two-element set:
\begin{equation} \sharp \Omega \;\simeq \;2, \qquad 2=\{\bot ,\top \}. \tag{8727}\end{equation}
With only two truth values, the law of excluded middle holds:
\begin{equation} P\vee \neg P \qquad (\text {decidable, every }P\in \{\bot ,\top \}). \tag{8728}\end{equation}
Hence:
\begin{equation} \boxed {\sharp \;\Longrightarrow \;\text {Boolean algebra} \;\Longrightarrow \;\text {Classical logic}.} \tag{8729}\end{equation}
Part B: Path / identity type \(\Rightarrow \) intuitionistic logic

Read as paths, the identity type is

\begin{equation} \operatorname {Id}_A(x,y)=\operatorname {Path}_A(x,y), \qquad p:x=_A y,\quad p\cdot q,\quad p^{-1}, \tag{8730}\end{equation}
the \(\infty \)-groupoid structure of the preceding subsection. The proposition object is the full subobject classifier:
\begin{equation} \Omega =\mathrm {Prop}, \qquad \mathrm {Sub}(A)\simeq (A\to \Omega ), \tag{8731}\end{equation}
and \(\Omega \) is a Heyting algebra. The law of excluded middle and double-negation elimination fail in general:
\begin{equation} \neg \neg P\;\not \Rightarrow \;P, \qquad P\vee \neg P\;\not \vdash . \tag{8732}\end{equation}
Hence:
\begin{equation} \boxed {\operatorname {Id}_A\Longrightarrow \infty \text {-groupoid} \Longrightarrow \text {Heyting structure} \Longrightarrow \text {Intuitionistic logic}.} \tag{8733}\end{equation}
Part C: The discrete/continuous asymmetry

The two readings align with the discrete/continuous split:

\begin{equation} \text {Discrete}\Longrightarrow \sharp \Longrightarrow \text {Boolean} \Longrightarrow \text {Classical}, \tag{8734}\end{equation}
\begin{equation} \text {Continuous}\Longrightarrow \operatorname {Path} \Longrightarrow \text {Heyting}\Longrightarrow \text {Intuitionistic}. \tag{8735}\end{equation}
The two maps are
\begin{equation} \sharp :\Omega \to 2, \qquad \operatorname {Id}:A\times A\to \Omega . \tag{8736}\end{equation}
Part D: Classical is the truncation of intuitionistic

The truth-value objects are nested:

\begin{equation} \Omega \supsetneq 2, \qquad 2\subset \Omega . \tag{8737}\end{equation}
Therefore classical logic, living on the two-element \(2\), is contained in the intuitionistic logic living on the full \(\Omega \):
\begin{equation} \boxed {\text {Classical}\subset \text {Intuitionistic}.} \tag{8738}\end{equation}
Classical logic is recovered by applying \(\sharp \) (truncation to \(2\)), \(\sharp \circ \operatorname {Id}\); the intuitionistic structure is the path reading on the full \(\Omega \), \(\operatorname {Path}\circ \Omega \). Intuitionistic logic is therefore the stronger system: it retains the full proposition object \(\Omega \) with its Heyting structure, of which the Boolean \(2\) is a collapsed quotient. Excluded middle is not a theorem but an extra assumption that throws away the intermediate truth values — it is information lost under \(\sharp \), not information gained.
Result
\begin{equation} \boxed {\text {Operators}\;\Longrightarrow \;\text {Discrete} \;\Longrightarrow \;\text {Classical},} \tag{8739}\end{equation}
\begin{equation} \boxed {\text {Homotopy}\;\Longrightarrow \;\text {Continuous} \;\Longrightarrow \;\text {Intuitionistic}.} \tag{8740}\end{equation}




Sharp / discrete Path / continuous



Modality \(\sharp \) \(\operatorname {Id}_A\)
Truth object \(2=\{\bot ,\top \}\) \(\Omega =\mathrm {Prop}\)
Algebra Boolean Heyting
Logic Classical Intuitionistic
LEM holds fails
\(\neg \neg P\to P\) holds fails
Inclusion \(2\subset \Omega \) full \(\Omega \)



The single identity type \(\operatorname {Id}_A\) — the homotopy form of \(A=A\) — produces both logics. Sharpening it (\(\sharp \Omega =2\)) gives classical logic on two truth values; reading it as paths (full \(\Omega \)) gives intuitionistic logic on the Heyting algebra. Because \(2\subsetneq \Omega \), classical logic is the truncation and intuitionistic logic is the stronger, fuller system. Excluded middle is the residue of discreteness; the continuum is intrinsically intuitionistic.

179.2 Internal versus External: the Domain of Excluded Middle

Thesis. Whether the law of excluded middle is a theorem is an internal question, answered only after the proposition object \(\Omega \) is fixed. Which \(\Omega \) obtains is an external choice of topos. The two belong to different domains; asking “is LEM a theorem (at all levels)?” conflates them. Once \(\Omega \) is fixed the internal answer is determined; varying \(\Omega \) is a move at the external level.

Step 1: The proposition object and its internal logic

In a topos \(\mathcal {E}\) with subobject classifier \(\Omega \in \mathcal {E}\), the pair \((\mathcal {E},\Omega )\) determines the internal logic via

\begin{equation} \operatorname {Sub}(A)\simeq \operatorname {Hom}(A,\Omega ). \tag{8741}\end{equation}
Different choices of \(\Omega \) give different logics:
\begin{align} \Omega = 2 = \{\bot ,\top \} &\;\Longrightarrow \; \Omega \ \text {Boolean}, \tag{8742}\\ \Omega = \mathcal {O}(X)\ (\text {open sets}) &\;\Longrightarrow \; \Omega \ \text {Heyting}, \tag{8743}\\ \Omega = \mathrm {Prop} &\;\Longrightarrow \; \operatorname {Sub}(A)\simeq (A\to \Omega ). \tag{8744}\end{align}
Step 2: Fixing \(\Omega \) fixes the internal answer

Once \(\Omega \) is fixed, the internal logic, its truth values, and the status of excluded middle are all determined:

\begin{equation} \Omega \ \text {fixed} \;\Longrightarrow \;\text {internal logic fixed} \;\Longrightarrow \;\text {truth values fixed} \;\Longrightarrow \;\text {LEM status fixed}. \tag{8745}\end{equation}
For a fixed \(\Omega \), exactly one of
\begin{equation} \vdash _\Omega \varphi \vee \neg \varphi \qquad \text {or}\qquad \nvdash _\Omega \varphi \vee \neg \varphi \tag{8746}\end{equation}
holds. The map is
\begin{equation} \Omega \mapsto \text {internal logic}, \qquad (\mathcal {E},\Omega )\mapsto \;\vdash _{\mathcal {E}}. \tag{8747}\end{equation}
Step 3: The two domains

The object \(\Omega \) and the internal connectives live in different domains:

\begin{equation} \text {external}\ni \Omega , \qquad \text {internal}\ni (\varphi ,\neg ,\wedge ,\vee ,\to ). \tag{8748}\end{equation}
Choosing \(\Omega \) is external; evaluating \(\varphi \vee \neg \varphi \) is internal:
\begin{equation} \Omega \in \text {external choice}, \qquad \varphi \vee \neg \varphi \in \text {internal logic}, \qquad \text {domain}_{\rm ext}\neq \text {domain}_{\rm int}. \tag{8749}\end{equation}
Step 4: Different \(\Omega \), different provability

Distinct proposition objects give distinct provability relations:

\begin{equation} \Omega _1\neq \Omega _2 \;\Longrightarrow \; \vdash _{\Omega _1}\;\neq \;\vdash _{\Omega _2}. \tag{8750}\end{equation}
Thus
\begin{equation} \Omega \ \text {chosen} \;\Longrightarrow \; \text {logic determined}. \tag{8751}\end{equation}
The question “is LEM a theorem?” is well-posed only relative to a chosen \(\Omega \). Comparing the answer across different \(\Omega \) — e.g. \(\Omega =2\) (classical, LEM holds) versus \(\Omega =\mathcal {O}(X)\) (Heyting, LEM fails) — is not an internal disagreement but an external change of level.
Result
\begin{equation} \boxed {\Omega \ \text {fixed} \;\Longrightarrow \;\text {internal answer fixed},} \tag{8752}\end{equation}
\begin{equation} \boxed {\Omega \ \text {variable} \;\Longrightarrow \;\text {external level}.} \tag{8753}\end{equation}




External domain Internal domain



Object \(\Omega \), \(\mathcal {E}\) \(\varphi ,\neg ,\wedge ,\vee ,\to \)
Question which \(\Omega \)? which topos? \(\vdash \varphi \vee \neg \varphi \)?
Decided by choice of level fixed once \(\Omega \) is chosen
LEM sets whether \(\Omega =2\) holds iff \(\Omega =2\)



The status of excluded middle is not absolute. It is internal to a fixed \(\Omega \): once the proposition object is chosen, the answer is settled. Whether \(\Omega =2\) (Boolean, classical) or \(\Omega \) is a larger Heyting algebra (intuitionistic) is an external selection of the level at which \(A=A\) is read. Asking whether LEM “really” holds — across all \(\Omega \) at once — mixes the two domains: the external choice of \(\Omega \) is not itself an internal proposition. The same \(A=A\) projects to a Boolean answer at one level and a Heyting answer at another; the level is the external datum, the logic is the internal consequence.

179.3 From Heyting Algebra to Topos

Thesis. The Boolean algebra of the two-valued partition embeds in a Heyting algebra; a Heyting algebra is a Cartesian closed poset; the product–exponential adjunction lifts a poset to a category, then to a Cartesian closed category, and finally—adding finite limits and a subobject classifier \(\Omega \)—to a topos. Boolean logic is the special case \(\neg \neg a=a\); the general topos has \(\Omega \) a Heyting algebra with \(a\leq \neg \neg a\).

\begin{equation} \text {Heyting Algebra}\to \text {Category}\to \text {CCC}\to \text {Topos}. \tag{8754}\end{equation}
Step 1: Heyting algebra

A Heyting algebra is \((H,\wedge ,\vee ,\to ,0,1)\) with meets \(a\wedge b\), joins \(a\vee b\), and a relative pseudocomplement (implication):

\begin{equation} a\to b = \max \{x\mid a\wedge x\leq b\}. \tag{8755}\end{equation}
Negation and order:
\begin{equation} \neg a = (a\to 0), \qquad a\leq b \iff a\wedge b = a. \tag{8756}\end{equation}
Boolean algebras are the special case where double negation is an equality:
\begin{equation} \text {Boolean Algebra}\subset \text {Heyting Algebra}. \tag{8757}\end{equation}
Step 2: Heyting algebra \(=\) Cartesian closed poset

The defining property of \(a\to b\) is the adjunction

\begin{equation} \mathrm {Hom}(a\wedge b,\,c)\cong \mathrm {Hom}(a,\,b\to c), \tag{8758}\end{equation}
i.e. meeting with \(a\) is left adjoint to implication by \(a\):
\begin{equation} (-\wedge a)\dashv (a\to -). \tag{8759}\end{equation}
In poset language \(\mathrm {Hom}(x,y)\) is a single arrow if \(x\leq y\) and empty otherwise, so the adjunction reads
\begin{equation} a\wedge b\leq c \iff a\leq (b\to c), \tag{8760}\end{equation}
which is exactly the definition of \(a\to b\). A Heyting algebra is therefore a Cartesian closed poset: \(\wedge \) is the product, \(\to \) is the exponential.
Step 3: Poset \(\hookrightarrow \) category (universal properties)

A poset is a thin category — at most one arrow between objects:

\begin{equation} a\leq b \quad \Longleftrightarrow \quad \exists !\,\mathrm {Hom}(a,b), \qquad \mathrm {Hom}(a,b)= \begin {cases} \{\ast \}, & a\leq b\\ \varnothing , & \text {otherwise.} \end {cases} \tag{8761}\end{equation}
Under this dictionary the Heyting operations become categorical universal constructions.

Meet \(=\) product.

\begin{equation} a\wedge b = a\times b, \qquad \mathrm {Hom}(c,\,a\wedge b)\cong \mathrm {Hom}(c,a)\times \mathrm {Hom}(c,b), \tag{8762}\end{equation}
with \(1\) the terminal object.

Implication \(=\) exponential.

\begin{equation} a\to b = b^{\,a}, \qquad \mathrm {Hom}(c,\,b^{\,a})\cong \mathrm {Hom}(c\times a,\,b). \tag{8763}\end{equation}
Thus a Heyting algebra is a Cartesian closed poset:
\begin{equation} \text {Heyting Algebra}\Longrightarrow \text {Cartesian Closed Poset} \subset \text {Cartesian Closed Category}, \tag{8764}\end{equation}
and the poset exponential law is the special case of the CCC law
\begin{equation} \mathrm {Hom}(X\times A,\,B)\cong \mathrm {Hom}(X,\,B^A), \qquad \text {CCC}=(\text {finite products},\ \text {exponentials}). \tag{8765}\end{equation}
Step 4: Subobject classifier

The classifier \(\Omega \) represents subobjects:

\begin{equation} \mathrm {Sub}(X)\cong \mathrm {Hom}(X,\Omega ), \qquad m:A\hookrightarrow X \;\leftrightarrow \; \chi _m:X\to \Omega . \tag{8766}\end{equation}
The subobject is the pullback of \(\top :1\to \Omega \) along \(\chi _m\):
\begin{equation} \begin {array}{ccc} A & \longrightarrow & 1\\ {\scriptstyle m}\downarrow \phantom {m} && \phantom {\top }\downarrow {\scriptstyle \top }\\ X & \xrightarrow {\ \chi _m\ } & \Omega \end {array} \tag{8767}\end{equation}
In \(\mathbf {Set}\):
\begin{equation} \Omega =\{0,1\}\cong \mathbb {F}_2. \tag{8768}\end{equation}
In a general topos, \(\Omega \) is itself a Heyting algebra:
\begin{equation} \Omega =\text {Heyting Algebra}\quad (\text {general topos}). \tag{8769}\end{equation}
Step 5: Internal logic and the topos

The Heyting structure of \(\Omega \) furnishes the internal logic, and a topos is a Cartesian closed category with finite limits and a subobject classifier:

\begin{equation} \text {Heyting Algebra}\Longrightarrow \text {Internal Logic} \Longrightarrow \text {Topos}, \tag{8770}\end{equation}
\begin{equation} \boxed {\text {Topos}=\bigl (\text {finite limits},\ \text {CCC},\ \Omega \bigr ).} \tag{8771}\end{equation}
Step 6: Boolean versus Heyting (classical versus intuitionistic)

The logic is classical or intuitionistic according to the law of double negation:

\begin{equation} \text {Boolean Algebra}\Longleftrightarrow \neg \neg a=a, \qquad \text {Heyting Algebra}\Longleftrightarrow a\leq \neg \neg a. \tag{8772}\end{equation}
Boolean algebras satisfy double-negation elimination (\(\neg \neg a=a\)); Heyting algebras only the introduction \(a\leq \neg \neg a\). Correspondingly:
\begin{equation} \mathbf {Set}\Longrightarrow \Omega =\mathbb {F}_2 \quad (\text {Boolean}), \qquad \mathbf {Topos}\Longrightarrow \Omega \text { Heyting} \quad (\text {intuitionistic}). \tag{8773}\end{equation}
Result

The functorial dictionary translating Heyting operations into categorical constructions:

\begin{equation} \wedge \mapsto \times , \qquad \to \mapsto (-)^{(-)}, \qquad 1\mapsto \text {terminal}, \tag{8774}\end{equation}
with the central adjunction
\begin{equation} (-\times a)\dashv (a\to -), \qquad \mathrm {Hom}(x,\,b^{\,a})\cong \mathrm {Hom}(x\times a,\,b). \tag{8775}\end{equation}
The complete climb:
\begin{equation} \boxed { \text {Heyting} \;\simeq \;\text {CCC Poset} \;\hookrightarrow \;\text {CCC} \;\hookrightarrow \;(\text {CCC}+\Omega +\mathrm {Lim}) =\text {Topos}. } \tag{8776}\end{equation}
The truth-value object grows from the Boolean \(\mathbb {F}_2\) to a general Heyting algebra:
\begin{equation} \Omega _{\mathbf {Set}}=\{0,1\}=\mathbb {F}_2, \qquad \Omega _{\mathcal {E}}=\text {Heyting algebra}, \qquad \boxed {\mathbb {F}_2\;\subset \;\Omega \;\subset \;\text {Topos}.} \tag{8777}\end{equation}
\begin{equation} \boxed {\text {Heyting Algebra}\to \text {Category}\to \text {CCC}\to \text {Topos}} \tag{8778}\end{equation}
The two-element Boolean algebra \(\mathbb {F}_2=\{0,1\}\)—the truth values of the partition \(O\sqcup U\)—is the simplest subobject classifier. Generalising the truth-value object from \(\mathbb {F}_2\) to an arbitrary Heyting algebra \(\Omega \) replaces classical logic (\(\neg \neg a=a\)) with intuitionistic logic (\(a\leq \neg \neg a\)) and the category \(\mathbf {Set}\) with a general topos. The climb Heyting \(\to \) category \(\to \) CCC \(\to \) topos is the categorical realisation of the same partition logic: \(\wedge \) is product, \(\to \) is exponential via the adjunction \((-\times a)\dashv (a\to -)\), and \(\Omega \) classifies the subobjects exactly as \(\chi _A:X\to \mathbb {F}_2\) classified subsets. The Boolean algebra of the two-element partition is the special case of the Heyting algebra of a general topos; the internal logic of a topos is the generalisation of classical logic to intuitionistic logic.