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.
| 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}\) |
The signature of the base is
Set-freedom of the base. Three points, together, are what the claim amounts to.
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.
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:
and, stated separately because the quantifiers matter,
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.
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\). □
Categories. Objects and arrows are separate sorts:
Module L (classical logic) — set-free.
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
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.
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.
Module T (type theory) — set-free.
| 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 |
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).
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:
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).
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
Each of the following is a single derivation whose premises and conclusion sit in different frameworks.
(i) Type theory from set theory.
(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.
| 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 |
| 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.
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.