GeoCoq

L4 Axiom-checked · Archetype: synthetic-formal · upstream · dossier

Believe it because the Coq kernel checked it from Tarski’s (or Hilbert’s, or Euclid’s) axioms — and GeoCoq proves those axiom systems interpret one another and hold in ℝ².

Trust chain

GeoCoq trust chain

Ontology

Tarski: one sort of points with Bet (3-ary) and Cong (4-ary); Hilbert: points, lines, planes with incidence, order, congruence. (What exists?)

Language

Coq propositions inside an axiom-class context: forall A B C, isosceles A B C -> CongA A B C A C B. (How is a statement written?)

Assumptions

Axiom classes: Tarski neutral (8) + dimension + Euclid + continuity options; Hilbert classes; Beeson’s Euclid axioms. (What is taken as given?)

Engine

Ltac proofs; reflective deciders ColR / CongR (vm_compute); nsatz (Gröbner) in coordinate chapters. (How are new truths derived?)

Certificate

Coq proof term (.vo). (What evidence is left behind?)

Checker

Coq kernel (+ VM conversion for reflective steps). (What must be trusted?)

Semantics

Formal models: Tarski ⇐ ℝⁿ over any real closed field; independence counter-models. (What model makes it sound?)

At a glance

Logic / calculus:

Calculus of Inductive Constructions

Exact vs numeric:

Exact (synthetic)

Decision procedure:

Reflective Col/Cong deciders; nsatz

Role of the diagram:

None (diagram facts are proved)

Degeneracy handling:

Explicit (~Col, A <> B); degenerate-tolerant Bet

Trusted base (size):

~10-30k lines (kernel)

Trusts:

Coq kernel (~10-30k lines OCaml (estimate))

A statement in its own language

Lemma proposition_05 :
           forall A B C,
           isosceles A B C ->
           CongA A B C A C B.
        

Source: proposition_05.v#L8-L11

Findings

  • No Coq `Axiom`, `Parameter`, or `Admitted` in theories/: axiom systems are type-class fields, so every theorem is relative to its class.

  • Mutual interpretation Tarski ⇔ Hilbert ⇔ Euclid (Beeson axioms); Book I proofs in Elements/OriginalProofs.

  • 35 parallel-postulate variants proved equivalent in the Euclidean context; Thales’ theorem is one of them.

  • Models: Tarski’s axioms hold in coordinate spaces over any real closed field (Algebraic/POF_to_Tarski.v).

In the showcase

References