Truth Foundations¶
Every geometric system answers one question differently: why should I believe this is true? CODES compares systems by their truth foundation — what exists, what is assumed, how truths are derived, what evidence remains, and what must be trusted.
Two lenses organize the comparison: the Truth Ladder ranks the strength of the claim a system certifies, and the Trust Stack decomposes how it certifies it. The interactive Atlas on the home page shows both at once.
Truth Ladder¶
Rungs rank claims, not quality: a CAS witness (L1) and a kernel-checked proof (L4) answer different questions. Dashed blue edges are lifts — routes by which a system’s claims could climb. Click a system to open its card.
Level |
Name |
Claim certified |
Systems |
|---|---|---|---|
L0 |
Plausible |
looks true numerically |
|
L1 |
Instance |
true for this exact figure |
|
L2 |
Generic |
true off a degenerate set (NDG) |
|
L3 |
Rule-closed |
derivable from an assumed rule list |
|
L4 |
Axiom-checked |
kernel-checked from geometric axioms |
|
L5 |
Foundational |
geometry derived; no geometric axioms |
|
H |
Human |
checked by readers from postulates |
The Trust Stack¶
Every system is described by the same seven layers. The checker layer is the trusted core.
Layer |
Question |
|---|---|
Ontology |
What exists? |
Language |
How is a statement written? |
Assumptions |
What is taken as given? |
Engine |
How are new truths derived? |
Certificate |
What evidence is left behind? |
Checker |
What must be trusted? |
Semantics |
What model makes it sound? |
Who Trusts What¶
Systems on the left, the components they must trust on the right. Shared hubs — the Lean kernel, SymPy, the numeric diagram — show where trust concentrates.
Component |
Kind |
Size |
Trusted by |
Note |
|---|---|---|---|---|
Human readers |
human |
2,300 years |
Proofs are checked by people; tacit diagram reasoning (order, continuity) is accepted without statement. |
|
Lean 4 kernel |
kernel |
~8k lines C++ (estimate) |
Type-checks dependent type theory terms; independent re-checkers exist (lean4lean, nanoda, lean4checker). |
|
SMT_VERIF oracle |
solver |
z3/cvc5 + hand-written E theory |
LeanEuclid SystemE/Meta/Smt/Solver.lean:44-54 — `axiom SMT_VERIF (P : Prop) : P` admits any goal the solver reports unsat; no proof reconstruction. |
|
Coq kernel |
kernel |
~10-30k lines OCaml (estimate) |
Checks CIC proof terms; GeoCoq’s reflective tactics (ColR, CongR) also trust the VM conversion check. |
|
AG DD+AR engine |
engine |
~9.7k lines Python |
Forward chaining over 43 rules plus Gaussian elimination over exact Fractions; premise selection uses float linprog. |
|
Newclid DDARN |
engine |
~15.4k lines Python (+~15k C++ Yuclid) |
Restructured AG loop; AR tables via sympy.solve; optional Yuclid C++ solver. |
|
Numeric diagram |
float |
tol 1e-12 (AG) · rel 1e-3 (Newclid) |
ncoll / npara / nperp / sameside premises are decided numerically on a random float diagram, not deduced. |
|
JGEX gprover |
engine |
~38k lines Java |
GDD, full-angle, area, Wu characteristic sets, Gröbner bases over BigInteger polynomials. |
|
SymPy simplification |
cas |
core heuristics + mpmath |
simplify / expand / equals heuristics; sympy.geometry’s affine_rank uses a 2-digit numeric zero test (point.py:333). |
|
model zero_test |
cas |
~3.5k lines + SymPy |
Tiered oracle (algebra.py:160-253): exact expansion, field arithmetic, minimal_polynomial — plus a numeric acceptance branch |evalf(80)| < 1e-65 for large expressions. |
|
GA product engines |
cas |
kingdon ~5.2k · galgebra ~9.5k lines |
Clifford products expanded over SymPy; equality via expand/simplify (galgebra mv.py:479) or structural comparison (kingdon). |
|
IEEE-754 floats |
float |
eps 1e-10 |
All computation in double precision; CindyJS’s prover keeps conjectures that survive 3 random perturbations. |