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.

Truth Ladder

Level

Name

Claim certified

Systems

L0

Plausible

looks true numerically

CindyJS

L1

Instance

true for this exact figure

SymPy, geometor.model

L2

Generic

true off a degenerate set (NDG)

JGEX, kingdon, galgebra

L3

Rule-closed

derivable from an assumed rule list

LeanEuclid, AlphaGeometry, Newclid

L4

Axiom-checked

kernel-checked from geometric axioms

GeoCoq

L5

Foundational

geometry derived; no geometric axioms

mathlib4

H

Human

checked by readers from postulates

Euclid

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.

Trusted components

Component

Kind

Size

Trusted by

Note

Human readers

human

2,300 years

Euclid

Proofs are checked by people; tacit diagram reasoning (order, continuity) is accepted without statement.

Lean 4 kernel

kernel

~8k lines C++ (estimate)

LeanEuclid, mathlib4

Type-checks dependent type theory terms; independent re-checkers exist (lean4lean, nanoda, lean4checker).

SMT_VERIF oracle

solver

z3/cvc5 + hand-written E theory

LeanEuclid

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)

GeoCoq

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

AlphaGeometry

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)

Newclid

Restructured AG loop; AR tables via sympy.solve; optional Yuclid C++ solver.

Numeric diagram

float

tol 1e-12 (AG) · rel 1e-3 (Newclid)

AlphaGeometry, Newclid

ncoll / npara / nperp / sameside premises are decided numerically on a random float diagram, not deduced.

JGEX gprover

engine

~38k lines Java

JGEX

GDD, full-angle, area, Wu characteristic sets, Gröbner bases over BigInteger polynomials.

SymPy simplification

cas

core heuristics + mpmath

Newclid, SymPy, geometor.model, kingdon, galgebra

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

geometor.model

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

kingdon, galgebra

Clifford products expanded over SymPy; equality via expand/simplify (galgebra mv.py:479) or structural comparison (kingdon).

IEEE-754 floats

float

eps 1e-10

CindyJS

All computation in double precision; CindyJS’s prover keeps conjectures that survive 3 random perturbations.