GEOMETOR Codes¶
A Comparative Study of Formal Languages, Visual Pseudocodes, Symbolic Architectures, Syntax, and Canon (“Opus”) Across Geometric Logic — and How They Inform GEOMETOR.
Every formalization of geometry makes a foundational wager about what a geometric entity is, how existence and degeneracy are certified, and how human intuition meets symbolic proof. Across two millennia—from Euclid of Alexandria’s lettered diagrams and Oliver Byrne’s 1847 four-color visual pseudocode to modern interactive theorem provers, neuro-symbolic Olympiad engines, Clifford multivector calculi, and complex projective Riemann-surface tracers—each language illuminates certain truths effortlessly while rendering other truths verbose, unexpressible, or silently broken.
geometor-codes sits at Layer 2 of the 33-repository GEOMETOR ecosystem. It conducts a source-level forensic audit of 11 formal, visual, and symbolic geometric architectures, decodes 60 unfamiliar syntactic symbols and combinators, compares 7 canonical Rosetta Stone constructions side-by-side, maps 69 canonical topics across 8 domains (759 audited coverage cells), and distills 11 concrete engineering blueprints for geometor.model, geometor.elements 2.0 (Principles of Geometry), geometor.wildberger, geometor.pappus, geometor.etc, geometor.divine, and geometor.seer.
One Figure, Eleven Languages — Euclid’s opening vesica piscis (A, B, circles AB and BA, equidistant poles F and E on line AB) viewed simultaneously through diagrammatic Formal System E, Tarski’s point-only ontology, mathlib4 affine torsor spaces, DD+AR clauses, 2D Conformal Geometric Algebra null-cone blades, \(\mathbb{CP}^2\) homogeneous matrices, Oliver Byrne’s chromatic value-token glyphs, and geometor.model’s exact \(\mathbb{Q}(\sqrt{3})\) DAG. Hover any :g: badge or diagram locus to illuminate its corresponding element.¶
Headline Forensic Discoveries¶
Unverified Trust Oracle & Six Missing Lemmas in LeanEuclid:
LeanEuclid(Murphy2024) faithfully separates constructive steps (euclid_apply) from diagrammatic topology, and its 7 rules inIntersections.leancorrespond 1-to-1 withgeometor.model.intersect’s selectors (side_of,between,beyond). Yet source inspection ofSystemE/Meta/Smt/Solver.lean:44-55reveals thateuclid_finishcloses goals viaprivate axiom SMT_VERIF (P : Prop) : Pwithout reconstructing proof terms in the Lean 4 kernel, whileBook/Prop47.lean:25-60isolates six topological square-orientation lemmas missed by Euclid in the Bride’s Chair proof.Metatheoretic Gold & Classical Gaps in GeoCoq: Across 481 Coq files and 4,671 kernel-checked lemmas (Boutry2019),
GeoCoqproves bidirectional equivalences between Tarski, Hilbert, and Euclid, 34 equivalent parallel postulates, neutral-geometry midpoint existence without circles, and an explicit proof ofFalsewhen non-collinearity is omitted from cut-and-paste area axioms—yet omits the Nine-Point CircleX(5), Steiner circle power, radical axes, circle inversion, pole–polar reciprocity, conics, and the golden ratio.Dimension-Polymorphic Elegance vs. Noncomputable Projective Gaps in Mathlib4:
Mathlib/Geometry/Euclidean/(Mathlib2020) generalizes the orthocenter (mongePoint), the \(3(n+1)\)-point Feuerbach sphere,Sphere.power,inversion, and 1-line La Hire pole–polar reciprocity to arbitrary dimension \(n\)—yet is pervasivelynoncomputable, lacks a constructiveEuclid I.1theorem, documents a 20-line cyclic-orderTODOinSphere/Ptolemy.lean:22-41, and contains zeroradicalAxis,crossRatio,Menelaus,Pappus, orDesargues.Log-Ratio Bug & Expressiveness Walls in AlphaGeometry / Newclid: Source audit of
alphageometry/ar.py:425-431, 570-574(Trinh2024) uncovers a live bug whereRatioTable.add_const_ratioencodes \(m \log|s_1| - n \log|s_2| = 0\) (\(|s_1|^m = |s_2|^n\) instead of \(|s_1|/|s_2| = m/n\)), alongside silent drops of unprefixed post-;clauses in 12defs.txtstanzas. Architecturally, pureDD+ARcannot state \(a^2 + b^2 = c^2\) or disjoint radical axes (fixed in C++Yuclid’s squared-length AR) and cannot prove Pappus or Desargues without auxiliary parallel lines (forcingNewclidto hardcodeR44_PAPPUS_THEOREMandR70_PROJECTIVE_HARMONIC_CONJUGATEas axioms).The Unfinished Area Method in JGEX: Shang-Ching Chou, Xiao-Shan Gao, and Jing-Zhong Zhang’s coordinate-free Area Method (ChouGaoZhang1994) proves Pythagoras in 0 steps (
P_BAC = 0by definition), Orthocenter in 0 steps (Jacobi identity), and Pappus/La Hire/Cross-Ratio with zero auxiliary points—yet inJava-Geometry-Expert’s Java codebase,Area.java(213 lines) is an unfinished port whose GUI tab is commented out inPanelProve.java:112-116(TODO: Implement the area method).Clifford Dual Traps in GAlgebra vs. Conformal Triumphs in Kingdon:
galgebracrashes withAttributeErroron.dual()for every degenerate Projective Geometric Algebra (\(I^2 = 0\)), omits the regressive join&, and overloads>>as a commutator rather than a sandwich product. By contrast,kingdoncompiles exact SymPy polynomial blades where 2D CGA circle power is-2*(kappa | P), radical axis iskappa1 - kappa2, circumcenter isC * ni * ~C, and circle inversion isC >> P.Live Symbolic Bugs in SymPy Geometry (`1.14.0`): Source inspection of
sympy/geometry/reveals (a) a double live bug in ``Triangle.excenters`` (polygon.py:2714-2726: missing numerator parentheses-a*x[0] + b*x[1] + c*x[2]/(-a+b+c)plus wrong side-vertex pairing) and (b) a 2-digit float zero-test bug in ``Point.affine_rank`` (point.py:331-335:abs(x.n(2)) < 1e-12) causing exact rational non-collinear points to falsely test collinear, alongsidesolve()bottlenecks and missingHyperbola,inversion,radical_axis,polar, andcross_ratio.Byrne’s Pointer-Free Visual Pseudocode & The Universal Golden Blind Spot: Across
LeanEuclid,GeoCoq,mathlib4Geometry,AlphaGeometry, andNewclid, the Golden Ratio (:math:`phi`) and Book XIII Platonic Solids have zero geometric coverage. Remarkably, Oliver Byrne’s 1847 Coloured Euclid (Byrne1847; revived interactively by Nicholas Rougeux, Rougeux2018) not only pioneered pointer-free visual pseudocode (Given / To Prove / Construction / Proof with inline chromatic value-tokens), it also formalized Book II gnomons, Book III circle power, Book IV pentagons, and Book VI golden-ratio cuts—directly inspiring GEOMETOR’s synthesis of exact symbolic identifiers with interactive visual tokens.