283 One System: Logic, ZFC, Categories, and Type Theory Unified

Thesis. Logic, set theory, category theory, and type theory are not four theories to be compared but four readings of one axiomatic base. The base has three primitives — a subordination relation \(\mathsf {Sub}\), a binary combination \(\mathsf {Cmb}\), and a unary complement \(\neg \) — over first-order logic with equality. It contains no membership symbol, no comprehension scheme, and no set-theoretic apparatus of any kind. Truth, membership, composition, and typing are readings of the same relations; strict grading is defined, and its irreflexivity blocks five paradoxes uniformly. Each framework is the base plus a module. Because the base is common, a derivation performed in one reading transfers to the others by explicit translation (Section 283.2): set theory to category theory and back, set theory to type theory and back.

Step 1: What each framework takes as primitive



Framework primitives


logic \(\mathsf {Tr}(\varphi )\); \(\neg ,\wedge ,\vee \)
ZFC \(\in \), \(=\)
categories \(\mathsf {Cmp}(f,g,h)\), \(\mathrm {id}_A\)
type theory \(a:A\); \(\Pi \), \(\Sigma \)


In each case the basic assertion has the form “\(x\) stands to \(y\) in some way”:




Framework assertion carried by



logic \(\varphi \) is true \(\mathsf {Sub}(\varphi ,\top )\)
ZFC \(x\) belongs to \(y\) \(\mathsf {Jdg}\)
categories \(f\) runs \(a\to b\) \(\mathsf {Src},\mathsf {Tgt}\)
type theory \(a\) inhabits \(A\) \(\mathsf {Jdg}\)



\begin{equation} \boxed {\text {three of the four converge on a grading relation}.} \tag{17829}\end{equation}

Step 2: The primitives

The signature of the base is

\begin{equation} \Sigma _{\mathrm {base}} =\bigl (\ \mathsf {Sub}(\cdot ,\cdot ),\quad \mathsf {Cmb}(\cdot ,\cdot ,\cdot ),\quad \neg (\cdot ),\quad \bot ,\ \top ,\quad \{c_i\}_{i\in I}\ \bigr ), \tag{17830}\end{equation}
where the \(c_i\) are atomic constants, read as
\begin{equation} \mathsf {Sub}(x,y) \quad \text {``$x$ is subordinate to $y$''}, \tag{17831}\end{equation}
\begin{equation} \mathsf {Cmb}(x,y,z) \quad \text {``$z$ is formed from $x$ and $y$''}, \tag{17832}\end{equation}
\begin{equation} \neg x \quad \text {``the complement of $x$''}, \tag{17833}\end{equation}
with equality \(=\) taken from first-order logic.

Set-freedom of the base. Three points, together, are what the claim amounts to.

1.
\(\Sigma _{\mathrm {base}}\) contains no membership symbol and no sort of sets. Membership is not primitive anywhere in this section; it is introduced in module Z as an abbreviation of base formulas, and in no other module.
2.
There is no comprehension, separation, replacement, or power scheme. Objects are not collected; they are generated, by the grammar of Step 3.
3.
Quantifiers in (U0)–(U5) range over the terms of that grammar. The base is used proof-theoretically: a derivation is a finite syntactic object, and the term algebra is defined inductively, so nothing in the formulation presupposes a set-theoretic universe to quantify over.

Accordingly, modules L, C, and T are set-free outright, and module Z is the single place where a membership relation is defined — which is the sense in which the system contains set theory rather than resting on it.

Strict grading.

\begin{equation} \boxed {\mathsf {Jdg}(x,y):\equiv \mathsf {Sub}(x,y)\wedge x\neq y .} \label {eq:jdg} \tag{17834}\end{equation}
\(\mathsf {Sub}\) is reflexive by (U0); \(\mathsf {Jdg}\) is irreflexive by Proposition 283.1. Conflating the two makes the axioms inconsistent, and keeping them apart is what lets one relation serve as membership, as typing, and as the object order of a category simultaneously.

One combination suffices. Writing \(x*y\) for the unique \(z\) with \(\mathsf {Cmb}(x,y,z)\) where such a \(z\) exists (licensed by (U3)), the dual is defined by De Morgan:

\begin{equation} \boxed {x\sqcap y:\equiv \neg (\neg x*\neg y).} \label {eq:meet} \tag{17835}\end{equation}
Hence there is no second primitive \(\mathsf {Cmb}_\wedge \), and the pair \(\mathsf {Cmb}(x,\neg x,\top )\), \(\mathsf {Cmb}(x,\neg x,\bot )\) is never asserted of one relation: the meet condition \(x\sqcap \neg x=\bot \) is a theorem (Proposition 283.4). Single-valuedness (U3) is therefore never applied to two distinct values of the same pair, and the collapse \(\top =\bot \) does not arise.

Step 3: The base axioms

\begin{align} \textbf {(U0)}\quad & \mathsf {Sub}(x,x) &&\text {reflexivity} \tag{17836}\\ \textbf {(U1)}\quad & \mathsf {Sub}(x,y)\wedge \mathsf {Sub}(y,z) \Rightarrow \mathsf {Sub}(x,z) &&\text {transitivity} \tag{17837}\\ \textbf {(U2)}\quad & \mathsf {Sub}(x,y)\wedge \mathsf {Sub}(y,x) \Rightarrow x=y &&\text {antisymmetry} \tag{17838}\\ \textbf {(U3)}\quad & \mathsf {Cmb}(x,y,z)\wedge \mathsf {Cmb}(x,y,z') \Rightarrow z=z' &&\text {single-valuedness} \tag{17839}\\ \textbf {(U5)}\quad & \mathsf {Cmb}(x,y,z) \Rightarrow \mathsf {Sub}(x,z)\wedge \mathsf {Sub}(y,z) &&\text {coherence} \tag{17840}\end{align}

and, stated separately because the quantifiers matter,

\begin{multline} \textbf {(U4)}\quad \forall x,y,z,w\ \Bigl [\ \exists u\bigl (\mathsf {Cmb}(x,y,u)\wedge \mathsf {Cmb}(u,z,w)\bigr ) \\ \longleftrightarrow \ \exists v\bigl (\mathsf {Cmb}(y,z,v)\wedge \mathsf {Cmb}(x,v,w)\bigr ) \ \Bigr ] \qquad \text {associativity.} \tag{17841}\end{multline}
The witnesses \(u,v\) are internal to each side and must be bound; leaving them free would make the biconditional an open formula with different free variables on its two sides.

Terms.

\begin{equation} t::=c_i\ \mid \ \bot \ \mid \ \top \ \mid \ \neg t\ \mid \ t*t , \tag{17842}\end{equation}
freely generated. Every object of every reading is such a term.

Idempotence and totality are not base axioms. \(\mathsf {Cmb}(x,x,x)\) and \(\forall x,y\,\exists z\,\mathsf {Cmb}(x,y,z)\) are deliberately excluded. Composition is neither idempotent nor total, so a base containing either would be inconsistent with module C and the frameworks could not share it. They reappear as a theorem in module L and as axioms in module Z.

Why (U5) concludes \(\mathsf {Sub}\). With \(\mathsf {Jdg}\) in the conclusion, the instance \(\mathsf {Cmb}(x,x,x)\) available in L and Z would force \(\mathsf {Jdg}(x,x)\), contradicting Proposition 283.1.

Proposition 283.1 (Irreflexivity). \(\neg \mathsf {Jdg}(x,x)\).

Proof. Immediate from (17834): \(\mathsf {Jdg}(x,x)\) would require \(x\neq x\). □

Proposition 283.2 (Transitivity of strict grading). \(\mathsf {Jdg}(x,y)\wedge \mathsf {Jdg}(y,z)\Rightarrow \mathsf {Jdg}(x,z)\).

Proof. \(\mathsf {Sub}(x,z)\) by (U1). If \(x=z\) then \(\mathsf {Sub}(x,y)\) and \(\mathsf {Sub}(y,x)\), so \(x=y\) by (U2), contradicting \(x\neq y\). □

Derived identity.

\begin{equation} \mathsf {Eq}(x,y):\equiv \mathsf {Cmb}(x,y,x)\wedge \mathsf {Cmb}(x,y,y), \tag{17843}\end{equation}
which by (U3) forces \(x=y\). The underlying \(=\) is logical, so no circularity arises.

Step 4: The four readings

Logic.

\begin{equation} \varphi \vee \psi :\equiv \varphi *\psi , \qquad \varphi \wedge \psi :\equiv \varphi \sqcap \psi , \tag{17844}\end{equation}
\begin{equation} \mathsf {Tr}(\varphi ):\equiv \mathsf {Sub}(\varphi ,\top ), \qquad \varphi \vdash \psi :\equiv \mathsf {Tr}(\neg \varphi *\psi ). \tag{17845}\end{equation}
Entailment uses \(\mathsf {Tr}\): defining it with \(\mathsf {Jdg}\) would make \(\varphi \vdash \varphi \) require \(\mathsf {Jdg}(\varphi ,\varphi )\).

Set theory.

\begin{equation} x\in y:\equiv \mathsf {Jdg}(x,y), \qquad x\subseteq y:\equiv \mathsf {Cmb}(x,y,y). \label {eq:member} \tag{17846}\end{equation}
Membership is strict subordination; inclusion is combination absorbing on the right. Under module Z the two are linked by (Z3), and the ordinary non-transitive membership of ZFC is recovered as the generator \(\in _0\) of (17846) — see (Z5)–(Z6).

Categories. Objects and arrows are separate sorts:

\begin{equation} f:a\to b:\equiv \mathsf {Src}(f,a)\wedge \mathsf {Tgt}(f,b), \qquad h=g\circ f:\equiv \mathsf {Cmb}(f,g,h). \tag{17847}\end{equation}
Using \(\mathsf {Jdg}\) for arrows would block identities, since \(\mathrm {id}_a:a\to a\) would give \(\mathsf {Jdg}(a,a)\).

Type theory.

\begin{equation} a:A:\equiv \mathsf {Jdg}(a,A), \qquad \Sigma _{x:A}B:\equiv A*B . \tag{17848}\end{equation}
\begin{equation} \boxed {x\in y\ \text {and}\ x:y\ \text {are the same formula}.} \label {eq:memtype} \tag{17849}\end{equation}
Equation (17849) is not a slogan but a consequence of the two definitions: both abbreviate \(\mathsf {Jdg}(x,y)\). It is the single strongest unification the base delivers, and Section 283.2 turns it into a translation.

Step 5: Field modules

Module L (classical logic) — set-free.

\begin{align} \textbf {(L0)}\quad & \forall x,y\ \exists z\ \mathsf {Cmb}(x,y,z) &&\text {totality} \tag{17850}\\ \textbf {(L1)}\quad & \mathsf {Cmb}(x,y,z)\Rightarrow \mathsf {Cmb}(y,x,z) &&\text {commutativity} \tag{17851}\\ \textbf {(L2)}\quad & \neg (\neg x*y)*\neg (\neg x*\neg y)=x &&\text {Huntington} \tag{17852}\end{align}
By (L0) and (U3), \(\mathsf {Cmb}\) is a total binary function, which licenses the equational notation.

Proposition 283.3 (Boolean consequences). In the base with (L0)–(L2): \(\neg \neg x=x\); \(x*x=x\); absorption; distributivity; and \(x*\neg x\) is constant. Write \(\top :\equiv x*\neg x\) and \(\bot :\equiv \neg \top \).

Since \(*\) is join, it is \(\top \) — not \(\bot \) — that equals \(x*\neg x\), consistently with excluded middle

\begin{equation} \mathsf {Cmb}(x,\neg x,\top ). \label {eq:lem} \tag{17853}\end{equation}

Proposition 283.4 (Meet condition). \(x\sqcap \neg x=\bot \).

Proof. \(x\sqcap \neg x=\neg (\neg x*\neg \neg x)=\neg (\neg x*x)=\neg \top =\bot \), by (17835), Proposition 283.3, (L1), and (17853). □

Proposition 283.5 (Uniqueness of complement). If \(x*y=\top \) and \(x\sqcap y=\bot \) then \(y=\neg x\).

Proof. With \(y'=\neg x\), absorption and distributivity give \(y=y\sqcap \top =y\sqcap (x*y')=(y\sqcap x)*(y\sqcap y')=y\sqcap y'\), and symmetrically \(y'=y'\sqcap y\); commutativity of \(\sqcap \) gives \(y=y'\). □

Existence of the complement is syntactic (\(\neg \) is a function symbol, so \(\neg x\) is a term), and uniqueness is Proposition 283.5. No \(\exists !\) axiom is needed. Note the proof uses distributivity, so (17853) with \(\neg \neg x=x\) alone would not suffice; (L2) is not eliminable.

Module Z (set theory) — the only module using sets.

\begin{align} \textbf {(Z0)}\quad & \mathsf {Sub}(\bot ,x)\wedge \mathsf {Sub}(x,\top ) &&\text {bounds} \tag{17854}\\ \textbf {(Z1)}\quad & \text {(L0) and (L1)} &&\text {total, commutative} \tag{17855}\\ \textbf {(Z2)}\quad & \mathsf {Cmb}(x,x,x) &&\text {idempotence} \tag{17856}\\ \textbf {(Z3)}\quad & \mathsf {Sub}(x,y)\leftrightarrow \mathsf {Cmb}(x,y,y) &&\text {alignment} \tag{17857}\\ \textbf {(Z4)}\quad & \forall z\,\bigl (z\in _0 x\leftrightarrow z\in _0 y\bigr )\Rightarrow x=y &&\text {extensionality} \tag{17858}\\ \textbf {(Z5)}\quad & x\in _0 y\Rightarrow \mathsf {Jdg}(x,y) &&\text {generator} \tag{17859}\\ \textbf {(Z6)}\quad & \mathsf {Jdg}\ \text {is the least transitive relation containing}\ \in _0 &&\text {closure} \tag{17860}\end{align}
(Z1)–(Z3) make \((*,\sqsubseteq )\) a join-semilattice with \(x\sqsubseteq y\Leftrightarrow x*y=y\), and identify \(\mathsf {Sub}\) with that order; the direction \(\mathsf {Cmb}(x,y,y)\Rightarrow \mathsf {Sub}(x,y)\) is already (U5), so (Z3) adds only its converse. (Z5)–(Z6) are what make the module contain ZFC rather than approximate it: \(\in _0\) is ordinary membership, \(\mathsf {Jdg}\) is its transitive closure, and both live in the same base.

Proposition 283.6 (Join is least upper bound). \(\mathsf {Sub}(x,w)\wedge \mathsf {Sub}(y,w)\Rightarrow \mathsf {Sub}(x*y,w)\).

Proof. By (Z3), \(\mathsf {Cmb}(x,w,w)\) and \(\mathsf {Cmb}(y,w,w)\). Instantiate (U4) at \(z:=w\), \(w:=w\): the right side holds with witness \(v=w\), so the left gives some \(u\) with \(\mathsf {Cmb}(x,y,u)\) and \(\mathsf {Cmb}(u,w,w)\). By (U3), \(u=x*y\), hence \(\mathsf {Cmb}(x*y,w,w)\), i.e. \(\mathsf {Sub}(x*y,w)\) by (Z3). □

No least-upper-bound axiom is needed; it is a consequence of associativity and single-valuedness. This proposition is what makes \(*\) a coproduct under the translation of Section 283.2.

Proposition 283.7 (Inclusion is transitive). \(\mathsf {Cmb}(x,y,y)\wedge \mathsf {Cmb}(y,z,z)\Rightarrow \mathsf {Cmb}(x,z,z)\).

Proof. As above: (U4) at \(w=z\) with witness \(v=z\) on the right yields \(u\) with \(\mathsf {Cmb}(x,y,u)\), \(\mathsf {Cmb}(u,z,z)\); (U3) gives \(u=y\)’s join value, and \(\mathsf {Cmb}(x,y,y)\) forces \(u=y\), so \(\mathsf {Cmb}(x,z,z)\). □

Proposition 283.8 (Foundation, all lengths). There is no chain \(x_1\in _0 x_2\in _0\dots \in _0 x_n\in _0 x_1\).

Proof. By (Z5)–(Z6) the chain gives \(\mathsf {Jdg}(x_1,x_1)\), contradicting Proposition 283.1. □

The graded reading strengthens the paradox block: irreflexivity of \(\mathsf {Jdg}\) excludes membership cycles of every length, not only \(x\in _0 x\).

Module C (categories) — set-free.

\begin{align} \textbf {(C1)}\quad & \mathsf {Src},\mathsf {Tgt} \ \text {single-valued} &&\text {typing of arrows} \tag{17861}\\ \textbf {(C2)}\quad & \mathsf {Cmb}(f,g,h)\leftrightarrow \exists b\,\bigl (\mathsf {Tgt}(f,b)\wedge \mathsf {Src}(g,b)\bigr ) &&\text {composability} \tag{17862}\\ \textbf {(C3)}\quad & \forall a\,\exists \,\mathrm {id}_a: \mathsf {Cmb}(f,\mathrm {id},f)\wedge \mathsf {Cmb}(\mathrm {id},g,g) &&\text {units} \tag{17863}\end{align}
\(\mathsf {Cmb}\) is partial and non-commutative here; associativity is (U4) verbatim. No collection of objects or of arrows is postulated — the sorts are sorts of the language, not sets.

Module T (type theory) — set-free.

\begin{align} \textbf {(T1)}\quad & \mathsf {Jdg}(a,A)\wedge \mathsf {Jdg}(b,B) \Rightarrow \mathsf {Jdg}\bigl ((a,b),A*B\bigr ) &&\Sigma \text {-intro} \tag{17864}\\ \textbf {(T2)}\quad & \mathsf {Jdg}(A,U)\wedge \mathsf {Jdg}(B,U) \Rightarrow \mathsf {Jdg}(\Pi _A B,U) &&\Pi \text {-formation} \tag{17865}\\ \textbf {(T3)}\quad & \mathsf {Jdg}(U_n,U_{n+1}) &&\text {stratification} \tag{17866}\end{align}





Module extra axioms yields uses sets?




L (L0)–(L2) classical logic no
Z (Z0)–(Z6) set theory, with \(\in _0\) as ZFC membership yes
C (C1)–(C3) category theory no
T (T1)–(T3) type theory no




\begin{equation} \boxed {\text {one base; sets occur in exactly one module}.} \tag{17867}\end{equation}

283.1 Step 6: Recovering each framework

The three laws of logic.

\begin{align} & \mathsf {Eq}(x,x)\ \text {from Prop.~283.3} && \text {identity} \tag{17868}\\ & \neg \mathsf {Jdg}(x,x)\ \text {is Prop.~283.1} && \text {non-contradiction} \tag{17869}\\ & \mathsf {Cmb}(x,\neg x,\top )\ \text {is (17853)} && \text {excluded middle} \tag{17870}\end{align}

Foundation. \(x\in _0 x\Rightarrow \mathsf {Jdg}(x,x)\Rightarrow x\neq x\Rightarrow \bot \), and Proposition 283.8 for cycles.

Category associativity. Axiom (U4) verbatim; identities from (C3).

Paradoxes.

\begin{align} \text {Russell:}\quad & x\in _0 x\Rightarrow \mathsf {Jdg}(x,x) \Rightarrow \bot \tag{17871}\\ \text {Girard:}\quad & U:U\Rightarrow \mathsf {Jdg}(U,U) \Rightarrow \bot \tag{17872}\\ \text {Burali-Forti:}\quad & \Omega <\Omega \Rightarrow \mathsf {Jdg}(\Omega ,\Omega )\Rightarrow \bot \tag{17873}\\ \text {Liar:}\quad & \mathsf {Tr}(L)\leftrightarrow \neg \mathsf {Tr}(L) \Rightarrow \mathsf {Jdg}(L,L)\Rightarrow \bot \tag{17874}\\ \text {Curry:}\quad & C\equiv (C\to \bot )\Rightarrow \mathsf {Jdg}(C,C)\Rightarrow \bot \tag{17875}\end{align}
\begin{equation} \boxed {\text {one proposition blocks all five}.} \tag{17876}\end{equation}
Russell and Girard are here literally the same derivation, because \(\in _0\) and \(:\) both reduce to \(\mathsf {Jdg}\) by (17849) and (Z5).

283.2 Step 7: Translations between the readings

The readings share a base, so each pair is connected by an interpretation of one signature in the other. All four translations below are definitional: no new axiom is introduced, and each is verified against the target module’s axioms.

\(\mathfrak {K}:\mathrm {Z}\to \mathrm {C}\) (sets to categories). Given module Z, define a C-structure:

\begin{align} \text {objects} &= \text {the terms}; \tag{17877}\\ \text {arrows} &: \iota _{a,b}\ \text {for each pair with}\ \mathsf {Sub}(a,b),\quad \mathsf {Src}(\iota _{a,b},a),\ \mathsf {Tgt}(\iota _{a,b},b); \tag{17878}\\ \text {composition} &: \mathsf {Cmb}(\iota _{a,b},\iota _{b,c},\iota _{a,c});\qquad \mathrm {id}_a:=\iota _{a,a}. \tag{17879}\end{align}

Proposition 283.9. \(\mathfrak {K}(\mathrm {Z})\) satisfies (C1)–(C3) and (U4).

Proof. (C3): \(\mathrm {id}_a\) exists by (U0), and the unit laws hold because composition is determined by endpoints. (C2): composability of \(\iota _{a,b}\) and \(\iota _{b,c}\) is exactly the matching of \(b\), and \(\iota _{a,c}\) exists by (U1). Associativity: both sides of (U4) name \(\iota _{a,d}\), and \(\mathrm {Hom}(a,d)\) has at most one element by construction, so (U3) is satisfied. □

Proposition 283.10 (Structure transported). In \(\mathfrak {K}(\mathrm {Z})\): \(\bot \) is initial, \(\top \) is terminal, and \(x*y\) is the coproduct of \(x\) and \(y\).

Proof. Initial and terminal are (Z0). For the coproduct, (U5) supplies the injections \(\iota _{x,x*y}\), \(\iota _{y,x*y}\); given any \(w\) with arrows from \(x\) and \(y\), i.e. \(\mathsf {Sub}(x,w)\) and \(\mathsf {Sub}(y,w)\), Proposition 283.6 gives \(\mathsf {Sub}(x*y,w)\), hence a mediating arrow, unique by thinness. □

So the set-theoretic join and the categorical coproduct are the same axiom (U4) read twice.

\(\mathfrak {P}:\mathrm {C}\to \text {base}\) (categories to subordination).

\begin{equation} \mathsf {Sub}^{\mathfrak {P}}(a,b):\equiv \exists f\,\bigl (\mathsf {Src}(f,a)\wedge \mathsf {Tgt}(f,b)\bigr ). \tag{17880}\end{equation}

Proposition 283.11. \(\mathfrak {P}(\mathrm {C})\) satisfies (U0) and (U1); it satisfies (U2) precisely when the category is skeletal and thin, and in general satisfies (U2) after quotienting by \(a\simeq b:\equiv \mathsf {Sub}^{\mathfrak {P}}(a,b)\wedge \mathsf {Sub}^{\mathfrak {P}}(b,a)\).

Proof. (U0) from identities, (U1) from composition. The quotient is by construction antisymmetric. □

Proposition 283.12 (Round trip). \(\mathfrak {P}\bigl (\mathfrak {K}(\mathrm {Z})\bigr )=\mathrm {Z}\) on the subordination relation.

Proof. \(\mathfrak {K}\) posts an arrow \(a\to b\) exactly when \(\mathsf {Sub}(a,b)\), and \(\mathfrak {P}\) reads \(\mathsf {Sub}\) back off the existence of an arrow. □

\(\mathfrak {T}:\mathrm {Z}\leftrightarrow \mathrm {T}\) (sets and types). This translation is the identity on the base. By (17849), \(x\in y\) and \(x:y\) abbreviate the same atomic formula, so the dictionary is




base set reading type reading



\(\mathsf {Jdg}(a,A)\) \(a\in A\) \(a:A\)
\(\mathsf {Cmb}(A,B,B)\) \(A\subseteq B\) \(A\) a subtype of \(B\)
\(A*B\) union \(\Sigma \)-type
\(\mathsf {Jdg}(A,U)\) \(A\) in a rank \(A\) in a universe
Prop. 283.1 Foundation no \(U:U\)



Nothing is coded or simulated: a Z-derivation is a T-derivation on the nose, provided its steps use only axioms present in both modules. Steps using (Z4) or (Z5) must be discharged, and steps using (T2) must be discharged in the other direction; the shared fragment is (U0)–(U5) together with (Z1)–(Z3), which is where the transfers of Step 8 take place.

\(\mathfrak {C}:\mathrm {C}\to \mathrm {T}\) (categories and types). Under \(\mathfrak {P}\) followed by \(\mathfrak {T}\), an arrow \(f:a\to b\) yields \(\mathsf {Sub}(a,b)\), and (T2) supplies the type \(\Pi _a b\) of which \(f\) is a term. Composition \(\mathsf {Cmb}(f,g,h)\) is composition of terms; the unit laws (C3) are the \(\beta \eta \)-laws for \(\mathrm {id}\). What \(\mathfrak {P}\) discards is which arrow, so \(\mathfrak {C}\) is faithful on the thin fragment and forgetful beyond it — the one lossy step in the diagram

\begin{equation} \mathrm {Z}\ \xrightarrow {\ \mathfrak {K}\ }\ \mathrm {C} \ \xrightarrow {\ \mathfrak {P}\ }\ \text {base} \ \xrightarrow {\ \mathfrak {T}\ }\ \mathrm {T}, \qquad \mathfrak {P}\circ \mathfrak {K}=\mathrm {id}. \tag{17881}\end{equation}

Step 8: Cross-framework derivations

Each of the following is a single derivation whose premises and conclusion sit in different frameworks.

(i) Type theory from set theory.

\begin{equation} \mathsf {Jdg}(a,A)\wedge \mathsf {Cmb}(A,B,B) \;\Longrightarrow \;\mathsf {Jdg}(a,B), \tag{17882}\end{equation}
by (U5) and Proposition 283.2: reading the premises as \(a\in A\) and \(A\subseteq B\) gives \(a\in B\); reading them as \(a:A\) and \(A\) a subtype of \(B\) gives \(a:B\). One derivation, two theorems.

(ii) Categories from set theory. \(x\in _0 y\) gives \(\mathsf {Jdg}(x,y)\) by (Z5), hence \(\mathsf {Sub}(x,y)\), hence the arrow \(\iota _{x,y}:x\to y\) in \(\mathfrak {K}(\mathrm {Z})\), monic because \(\mathfrak {K}(\mathrm {Z})\) is thin. Membership becomes an inclusion arrow.

(iii) Set theory from categories. An arrow \(f:a\to b\) gives \(\mathsf {Sub}^{\mathfrak {P}}(a,b)\); with (Z3), \(\mathsf {Cmb}(a,b,b)\), i.e. \(a\subseteq b\). Composition of arrows becomes transitivity of inclusion, and Proposition 283.10 sends coproducts back to unions.

(iv) Foundation as a categorical statement. In \(\mathfrak {K}(\mathrm {Z})\) every endomorphism is an identity: an arrow \(a\to a\) is \(\iota _{a,a}\) by thinness, and a nontrivial one would give \(\mathsf {Jdg}(a,a)\). Foundation, the absence of \(U:U\), and the absence of nontrivial endomorphisms are three readings of Proposition 283.1.

(v) Universes across all three. \(\mathsf {Jdg}(U_n,U_{n+1})\) with Proposition 283.2 yields the cumulative hierarchy in Z, the universe hierarchy in T, and a chain of non-invertible arrows in C. The stratification axiom (T3) is the same statement as the rank function in Z.

\begin{equation} \boxed {\text {a derivation in one reading is a derivation in all}.} \tag{17883}\end{equation}

Step 9: The unified table







Notion logic set theory categories type theory unified






basic relation \(\mathsf {Tr}\) \(\in \) src/tgt \(:\) \(\mathsf {Sub}\), \(\mathsf {Jdg}\)
combination \(\vee \) \(\cup \) \(\circ \) \(\Sigma \) \(\mathsf {Cmb}\)
dual \(\wedge \) \(\cap \) — — \(\sqcap \) (defined)
negation \(\neg \) complement — — \(\neg \)
identity \(\leftrightarrow \) \(=\) \(\cong \) \(\mathrm {Id}\) \(=\) (logical)
universal \(\top \) \(V\) terminal \(U\) \(\top \)
empty \(\bot \) \(\emptyset \) initial \(\mathbf {0}\) \(\bot \)
paradox block non-contra. Foundation no endo universes Prop. 283.1






\begin{equation} \boxed { \begin {array}{ll} \text {primitives:} & \mathsf {Sub}(x,y),\ \mathsf {Cmb}(x,y,z),\ \neg x,\ \bot ,\ \top ,\ =\\ \text {defined:} & \mathsf {Jdg},\ \mathsf {Eq},\ \sqcap ,\ \in ,\ {:},\ \circ ,\ \wedge ,\ \subseteq \\ \text {axioms:} & \text {(U0)--(U5)}\\ \text {terms:} & t::=c_i\mid \bot \mid \top \mid \neg t\mid t*t\\ \text {modules:} & \text {L, Z, C, T}\\ \text {translations:} & \mathfrak {K},\ \mathfrak {P},\ \mathfrak {T},\ \mathfrak {C} \end {array}} \tag{17884}\end{equation}

Step 10: Where the apparent differences come from




Framework reading module



logic \(\mathsf {Sub}\) read as truth L
set theory \(\mathsf {Jdg}\) read as membership Z
categories \(\mathsf {Cmb}\) read as composition C
type theory \(\mathsf {Jdg}\) read as typing T



Modules Z and C impose opposite conditions on \(\mathsf {Cmb}\) — Z makes it total and commutative, C partial and non-commutative — so the frameworks are not notational variants; they are distinct extensions of a shared base, related not by identity but by the translations of Section 283.2.

\begin{equation} \boxed {\text {differences are modular, not foundational}.} \tag{17885}\end{equation}

Closure

Three primitives and six axioms carry the shared content of the four frameworks: subordination, combination, complement, over logical equality. The base names no sets. Its objects are terms of a grammar, its quantifiers range over those terms, and membership appears in exactly one module — where it is not weakened but included, with ZFC’s \(\in \) recovered as the generator \(\in _0\) of the grading relation. Complement is a function symbol, so its existence and uniqueness are syntactic; the dual \(\sqcap \) is defined by De Morgan, so one \(\mathsf {Cmb}\) suffices and \(x\sqcap \neg x=\bot \) is derived rather than assumed. Grading is strict by definition, and its irreflexivity blocks Russell, Girard, Burali-Forti, the Liar, and Curry uniformly — five paradoxes, one proposition. What distinguishes the frameworks is the module: logic adds totality, commutativity, and Huntington’s axiom; set theory adds idempotence, alignment, extensionality, and a generator; category theory denies totality and commutativity and adds units; type theory adds dependent constructors and a stratification. What unites them is not merely the base but the translations it supports: \(\mathfrak {K}\) carries sets to categories with unions going to coproducts, \(\mathfrak {P}\) carries categories back with composition going to transitivity, and \(\mathfrak {T}\) is the identity, because membership and typing were never two relations to begin with.