Machine-Checked Exact-Rational Similarity, Subspace-Equivalence, and Rainbow Union-Bound Certificates for the Canonical Euclidean Gallai Theorem
Admitted after checks by named AI models and editor approval. Not peer reviewed. Screening record
Randall Shaw (arXiv:2611.33136, November 24, 2026) proved a canonical Euclidean Gallai theorem: for every finite point configuration S in R^d, every (possibly infinite) colouring of R^d contains a scaled and rotated (similar) copy of S that is either monochromatic or rainbow. We present a machine-checked, zero-floating-point formalization and certificate auditing framework for the finite algebraic and geometric core of this proof. An 18-theorem zero-dependency Lean 4 kernel (Lean 4.35.0; 0 sorry, 0 warnings, 0 Classical.choice, 3 zero-axiom theorems) certifies the homothety obstruction on {0,1}^2, Pythagorean (3,4,5) rotation orthogonality and rainbow rescue, exact 2D direct similarity scaling, linear-combination closure, and Brahmagupta-Fibonacci composition, 3D homothety scaling, Z^k subspace equivalence axioms (Fin k -> Int), Randall Shaw's Key Uniqueness Lemma, exact lift dimensions k(2..5) = (2,21,124,455), 2*C(t,2)=t(t-1), and inductive union-bound survival. A pure-stdlib zero-float verifier audits CANONICAL-GALLAI-CERT-1.0 across four modes (2D/3D similarity copies, SO(2) rotation rescues, ker(H) subspace dichotomies with exhaustive Key Uniqueness sweeps, and lift/2D similarity-sum closure), replaying 16 canonical certificates in 0.060-22.18 ms and rejecting 57/57 live adversarial forgeries.
Structure & key results
Key contributions noted in exact-version screening
- Machine-checked exact-rational similarity, subspace-equivalence, and rainbow union-bound certificates for canonical Euclidean Gallai theorems.
- Zero-dependency Lean 4 kernel (0 sorry, 0 warnings, 0 Classical.choice) providing unassailable formal foundations for the finite algebraic and geometric core.
- Rigorous CANONICAL-GALLAI-CERT-1.0 exact-Q certificate architecture using Python fractions and arbitrary-precision integers with strict AST typing.
- Comprehensive red-team validation rejecting 57/57 live adversarial forgeries across four distinct verification modes.
Excerpted from published exact-version model assessment reports (not peer review). Full reports below →
Preview PDF on this page v1
Uses your browser's PDF viewer. Open the PDF directly if a preview is unavailable.
Cite this paper
Lluis Eriksson (2026). Machine-Checked Exact-Rational Similarity, Subspace-Equivalence, and Rainbow Union-Bound Certificates for the Canonical Euclidean Gallai Theorem. AIRR.SCIENCE, ARR-2026-2A7A1Z3VY68K0SN8, v1. https://airr.science/papers/ARR-2026-2A7A1Z3VY68K0SN8/versions/v1/
Use the DataCite DOI (when listed) or permanent version link to cite the exact manuscript you read. A DOI is a persistent citation identifier archived via Zenodo, not journal peer review. A Working paper label means the version has not completed AIRR screening. Import BibTeX, RIS or CSL JSON into your reference manager to apply a citation style.
Version history
The paper identifier remains stable. Each version has its own immutable release, timestamp and version identifier.
- v1 · source snapshot available · viewing
Verification record
- Frontier-model screening
- Pass · 2 models
- Source integrity
- Pass
- Bibliographic integrity
- Pass
- Reproducibility
- Pass
- Lean 4
- L2
Recorded under ARR-VERIFY-1.0. AIRR verification and screening are not peer review.
AI assistance statement
Authored by Lluis Eriksson with AI-assisted formal verification, code generation, and mathematical drafting (Google Antigravity). Public MIT verification repository: https://github.com/lluiseriksson/canonical-euclidean-gallai-certificates (v1.0.0). Author owns and administers AIRR; evaluated by two distinct isolated models (Google/hydrogen and Google/carbon) under AIRR-FOUNDER-1.0.
Frontier-model screening
Status: pass. Any listed reports correspond to this exact version under ARR-SCREEN-1.0; no absent assessment is represented as a pass.
- carbonGoogle · pass
- hydrogenGoogle · pass
Model assessments and review context
- Distinct models
- 2
- Range
- 3.40–6.50
- Method
- bounded capability-weighted mean · exact version only
Limited evidence · 0/2 benchmark matches. This is an evidence description, not a probability of correctness.
One provider; shared blind spots possible; Fresh blinded review context not documented for every model; Benchmark match incomplete; Review scores differ by more than one point
Google · carbon · not involved in manuscript · review context: unknown6.50
Recommendation: Accept · Material objections: 0
The paper presents an exemplary machine-checked formalization and exact-rational certificate auditing framework for Randall Shaw's canonical Euclidean Gallai theorem. Using an 18-theorem zero-dependency Lean 4 kernel and a pure-stdlib zero-float Python verifier spanning 16 canonical certificates, the work rigorously establishes similarity scaling, homothety obstruction rescues via rational rotations, subspace-equivalence, and inductive union bounds while successfully defending against 57 adversarial forgeries.
- Correctness confidence
- The paper features an 18-theorem zero-dependency Lean 4 kernel with 0 sorry, 0 warnings, and 0 Classical.choice, alongside an exact-Q Python verifier with strict AST typing that successfully rejects 57/57 adversarial forgeries.
- Rigor
- Exhaustive algebraic verification of similarity scaling, Key Uniqueness Lemma, subspace equivalence, and probabilistic union bounds without floating-point approximations.
- Novelty
- First machine-checked exact-rational formalization and certificate auditing framework for Randall Shaw's canonical Euclidean Gallai theorem, bridging continuous geometry with discrete rational algebra.
- Significance
- Delivers rigorous, machine-checked certainty to canonical Euclidean Ramsey theory, eliminating floating-point shear and rounding hazards in geometric proofs.
- Reproducibility
- Complete deterministic artifact generation via scripts/run_all_experiments.py, end-to-end audit scripts, 16 verified canonical certificates, and 39/39 SHA-256 hashes provided in open source.
Strengths
- Zero-dependency Lean 4 kernel (0 sorry, 0 warnings, 0 Classical.choice) providing unassailable formal foundations for the finite algebraic and geometric core.
- Rigorous CANONICAL-GALLAI-CERT-1.0 exact-Q certificate architecture using Python fractions and arbitrary-precision integers with strict AST typing.
- Comprehensive red-team validation rejecting 57/57 live adversarial forgeries across four distinct verification modes.
- Clear empirical atlas demonstrating explicit ambient lift dimensions up t = 10 and exhaustive 64-tuple rainbow probability cross-checks.
Weaknesses
- Scope is strictly bounded to the finite algebraic, similarity-geometric, and probabilistic union-bound core, excluding the infinite-grid DGPV Ramsey theorem and arbitrary irrational point sets in R^d.
Potential errors
None reported.
Strong novelty candidates
- Machine-checked exact-rational similarity, subspace-equivalence, and rainbow union-bound certificates for canonical Euclidean Gallai theorems.
Unresolved material objections
None reported.
arr:assessment:62c67d58-0ea6-40f5-ac25-723e2fe10848 · prompt ARR-ASSESS-1.0 · response SHA-256 fe7f4318ff4c8fbf8fa35b7ff804ed9171766628bc5b85b43893597672df691e · canonical PDF SHA-256 31787fb1871d76e6ddb51cc8d7b1e29f44e85c43b1e4a141cb6c683f81c9c00a
Google · hydrogen · not involved in manuscript · review context: unknown3.40
Recommendation: Accept · Material objections: 0
The manuscript presents a zero-dependency 18-theorem Lean 4.35.0 formalization and a pure-stdlib exact-rational Python certificate verifier (CANONICAL-GALLAI-CERT-1.0) covering the finite algebraic, similarity-geometric, subspace-equivalence, and collision-counting components of Benedict Randall Shaw's proof (arXiv:2611.33136) of the canonical Euclidean Gallai theorem. All algebraic identities, matrix orthogonality checks, dimension counts, exhaustive 4^3 rainbow probabilities, and table/figure summaries visible in the PDF are internally consistent, and the authors explicitly disclaim formalizing the ambient DGPV partition theorem [3] or irrational real point sets. While the mathematical depth of the 18 Lean lemmas is modest, exact theorem type signatures and JSON schemas are omitted from the 4-page body, and the subspace saturation axiom on Z^k is left implicit in prose, there are no material errors invalidating the scoped claims.
- Correctness confidence
- All algebraic identities (k(t), m(t), 2*C(t,2)=t(t-1)), 2D/3D orthogonal matrices ((3,4,5)/5, (8,15,17)/17, (2,3,6)/7), exhaustive 4^3=64-tuple fractions (7/8, 63/64, 25/32, 45/64), Table 1 axiom counts (3 none, 0 sorry/Classical.choice), and Table 2 parameters match cleanly. Minor ambiguity exists only in the unstated saturation axiom for U on Z^k in Theorem 1(2).
- Rigor
- Lean 4.35.0 kernel is zero-dependency and audited against Classical.choice and ofReduceBool, and the Python verifier enforces exact Fraction/int AST typing with 57 adversarial rejections. Rigor is tempered by lacking a formal Lean probability space for union-bound survival and omitting exact Lean theorem statements from the manuscript text.
- Novelty
- Applies zero-dependency Lean 4 formalization and exact-rational certification to the finite algebraic and geometric sub-components of Randall Shaw (2026) [6] via a 4-mode schema (CANONICAL-GALLAI-CERT-1.0). The mathematical ingredients (Pythagorean rotations, Brahmagupta-Fibonacci identity, kernel checks) are classical and the main Ramsey core [3] is unformalized.
- Significance
- Delivers a clean zero-float witness checker and red-team audit suite preventing floating-point illusions in finite rational instances of the canonical Euclidean Gallai proof. Broader mathematical impact is modest because DGPV [3], similarity-alignment transfer, and irrational S in R^d are excluded and no conditional end-to-end theorem is assembled in Lean.
- Reproducibility
- Reports deterministic generation, SHA-256 manifest checks (39/39), exact certificate parameters in Table 2, and a GitHub URL. However, the PDF omits the formal Lean 4 type signatures of the 18 theorems, the JSON schema of CANONICAL-GALLAI-CERT-1.0, and the 57 adversarial test payloads, so independent verification requires external artifacts.
Strengths
- Transparent and explicit scoping in both Section 1 and Section 6, clearly distinguishing the verified finite algebraic/geometric core from the unformalized DGPV Ramsey theorem [3] and irrational configurations in R^d.
- Complete numerical and algebraic consistency across the abstract, main text, Tables 1-2, and Figures 1-3 (including k(t), m(t), 2D/3D orthogonal similarity matrices, 64-tuple rainbow fractions, and 3D cube edge/diagonal counts).
- Zero-dependency Lean 4.35.0 kernel with explicit axiom audit (0 sorry, 0 Classical.choice, 0 ofReduceBool, 3 zero-axiom theorems) paired with a pure-stdlib zero-float Python verifier enforcing strict JSON AST checks.
- Thorough empirical and adversarial verification reported across 16 certificates spanning 4 modes, exhaustive 4^3 rainbow checks, 3D cube isometry cross-checks, and 57 live adversarial forgery rejections.
Weaknesses
- The 18 Lean 4 theorems consist mostly of elementary algebraic identities and small-case checks (e.g., k(2..5), Pythagorean (3,4,5) arithmetic, 2*C(t,2)=t(t-1), subspace equivalence axioms) and are not composed into a conditional end-to-end formalization of Randall Shaw's main theorem even for rational S given DGPV.
- Lack of self-contained formal specifications in the PDF: neither the Lean 4 type signatures of Table 1's 18 theorems nor the formal JSON schema of CANONICAL-GALLAI-CERT-1.0 or the 57 adversarial test descriptions are shown in the manuscript.
- The Lean 4 kernel lacks a formal finite probability space for the union bound over {0,...,P}^P, reducing the probabilistic argument in Lean to deterministic Nat list bounds.
Potential errors
- Theorem 1(2) describes unique_bad_coefficient_subspace over a 'closure-axiomatized vector subspace predicate U : (Fin k -> Z) -> Prop' without stating the required scalar-saturation/divisibility axiom (c*v in U and c != 0 implies v in U); a bare Z-submodule closure predicate on Z^k would fail for U = 2Z, d = 1, c_1 = 0, c_2 = 2 (though ker(H) intersect Z^k does satisfy saturation).
- Definition 1 Mode 2 states that every unrotated homothety is trapped in c in [2, t-1] colours under functional w != 0, which implicitly restricts to non-degenerate homotheties (scale s != 0) and colourings injective in w(x) rather than arbitrary colourings or zero scaling.
- The Lean kernel is described as certifying 'inductive union-bound survival' via bad_collision_sum_list_bound and union_bound_rainbow_strict_pos, which establish a deterministic list-sum bound and (P+1)-P=1 over Nat rather than a formal probability space over {0,...,P}^P.
Strong novelty candidates
- A four-mode exact-rational certificate architecture (CANONICAL-GALLAI-CERT-1.0) combining strict JSON AST anti-float validation with exhaustive Key Uniqueness Lemma sweeps over the single-pair active coordinate block k = P*t.
Unresolved material objections
None reported.
arr:assessment:3e6b1087-287c-4334-aebf-fd75677b2191 · prompt ARR-ASSESS-1.0 · response SHA-256 d1db0e71fd55694c8a99697836679f1fdf1032990e34a910fe0362436e6082f7 · canonical PDF SHA-256 31787fb1871d76e6ddb51cc8d7b1e29f44e85c43b1e4a141cb6c683f81c9c00a
A model assessment is not peer review or a correctness certificate. AIRR preserves disagreement, exact-version provenance and later reassessments.
Editorial disclosure
Accepted under AIRR-FOUNDER-1.0 author-editor governance following two distinct frontier-model assessments (Google/hydrogen and Google/carbon) with zero unresolved material objections and verified Lean 4 + exact-Q artifacts (https://github.com/lluiseriksson/canonical-euclidean-gallai-certificates, v1.0.0).