open-hadwiger-nelson-unit-distance
Exact 2-Adic Bipartiteness Dichotomy, Dimensional Chromatic Jumps & $K_4$-Free 5-Chromatic Obstructions for Unit-Distance Graphs over Real Quadratic Fields
Proves the complete exact if-and-only-if bipartiteness classification of Euclidean unit-distance graphs $G(\mathbb{Q}(\sqrt{D})^n, 1)$ for every squarefree $D \ge 1$ in BOTH 2D ($\chi = 2 \iff D \not\equiv 3 \pmod 4$) and 3D ($\chi = 2 \iff D \equiv 1 \pmod 8$), revealing a $2\text{D}\to 3\text{D}$ phase transition on $D\equiv 2,5,6\pmod 8$ via uniform explicit closed odd walks of lengths $D$, $(D+1)/2$, and $D+1$: establishes universal $2$-adic exactness $\chi(K^2)=\chi(K^3)=2, \chi(K^4)=4$ for every char-0 field $K \hookrightarrow \mathbb{Q}_2$ paired with sharp $2$-adic unit-sphere unboundedness at $n=5$, exact 2D triangle ($D=3$) & 3D tetrahedron ($D=2$) classifications, 5 full mod-24 triangle-free non-bipartite 3D congruence classes, and an explicit 18-vertex, 52-edge $K_4$-free 5-chromatic graph $H_{18} \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$ proving a giant $+3$ chromatic jump from 2D ($\chi=2$) to 3D ($\chi\ge 5, \omega=3$) via a pure 10-leaf deductive proof tree with zero native_decide (72 verified theorems, 3,291 lines, 15/15 clean axioms).
Contribution status
Claim-by-claim literature review not yet recorded. Lean verification, where shown, applies to the exact formal statements. External publication status is not recorded.
How results are classifiedProves the complete exact bipartiteness classification of Euclidean unit-distance graphs $G(\mathbb{Q}(\sqrt{D})^n,1)$ for all squarefree $D\ge 1$ in 2D ($\chi=2 \iff D\not\equiv 3\pmod 4$) and 3D ($\chi=2 \iff D\equiv 1\pmod 8$), universal $2$-adic exactness $\chi(K^2)=\chi(K^3)=2, \chi(K^4)=4$ for every char-0 $K\hookrightarrow\mathbb{Q}_2$ (with sharp unboundedness at $n=5$), exact 2D $K_3$ ($D=3$) & 3D $K_4$ ($D=2$) classifications, 5 mod-24 triangle-free non-bipartite 3D congruence classes, and an explicit 18-vertex, 52-edge $K_4$-free 5-chromatic graph $H_{18}\subset(\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$ proving a $+3$ chromatic jump from 2D ($\chi=2$) to 3D ($\chi\ge 5, \omega=3$) via a pure 10-leaf deductive proof tree.
native_decide).- D. R. Woodall (1973); M. Benda & M. Perles (1976/2000); D. Madore (2015): Chromatic numbers of $\mathbb{Q}^2,\mathbb{Q}^3,\mathbb{Q}^4$ and individual 2D quadratic fields ($D=2,3,7$) — generalized here to complete exact 2D & 3D iff dichotomies for all squarefree $D\ge 1$ and all char-0 $K\hookrightarrow\mathbb{Q}_2$.
- A. D. N. J. de Grey (2018); M. Heule (2018–2023); J. Parts (2020–2025); M. Matolcsi et al. (2023/2026): Multi-radical 5-chromatic planar unit-distance graphs — complemented here by an 18-vertex $K_4$-free 5-chromatic obstruction inside a single quadratic half-integer ring $(\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$ whose 2D slice is bipartite.
HadwigerNelsonQuadratic.lean, 72 verified theorems, 3,291 lines, 15/15 clean axioms) plus Python/Z3 verification script (verify_hadwiger_nelson.py) proving subfield_padic2_exact_2d_3d_4d, padic2_5d_unbounded_unit_sphere, quad2d_bipartite_iff, quad2d_triangle_iff, quad3d_bipartite_iff, quad_dimensional_phase_transition, quad3d_tetrahedron_iff, quad3d_triangle_free_nonbipartite, quad5_3d_wheel5_not_three_colorable, quad5_3d_18v_not_four_colorable, and quad5_giant_chromatic_jump.⊢ Mathematical Constructions & Proof Explorer
Select any definition, structure, or theorem on the left to inspect its formal statement, proof dependencies, and isolated Lean 4 code.
Mathematical Overview & Verification Notes
TL;DR: For every squarefree integer $D \ge 1$, the Euclidean unit-distance graph $G(\mathbb{Q}(\sqrt{D})^n, 1)$ is 2-colorable if and only if $D \not\equiv 3 \pmod 4$ in dimension $n = 2$ and if and only if $D \equiv 1 \pmod 8$ in dimension $n = 3$, with $\chi(G(K^2, 1)) = \chi(G(K^3, 1)) = 2$ and $\chi(G(K^4, 1)) = 4$ universally for every characteristic-zero field $K \hookrightarrow \mathbb{Q}_2$ (and $n = 4$ is the exact sharp threshold for $2$-adic boundedness of the unit sphere in $\mathbb{Q}_2^n$). Over the golden field $\mathbb{Q}(\sqrt{5})$, an explicit 18-vertex, 52-edge graph $H_{18} \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$ establishes a $K_4$-free dimensional chromatic jump from $\chi(G(\mathbb{Q}(\sqrt{5})^2, 1)) = 2$ to $\chi(G(\mathbb{Q}(\sqrt{5})^3, 1)) \ge 5$ (with $\omega(G(\mathbb{Q}(\sqrt{5})^3, 1)) = 3$), verified in Lean 4 via a pure 10-leaf deductive proof tree with zero native_decide.
1. Main Mathematical Results
For a commutative ring $R$ and dimension $n \ge 1$, let $G(R^n, 1)$ denote the Euclidean unit-distance graph on $R^n$, with vertices $R^n$ and edges between distinct $x, y \in R^n$ satisfying $\sum_{i=1}^n (x_i - y_i)^2 = 1$. For any $D \in \mathbb{N}$, let $\mathbb{Q}(\sqrt{D}) = \{a + b\sqrt{D} : a, b \in \mathbb{Q}\} \subset \mathbb{R}$.
- Universal $2$-Adic Exact Classification and Sharp Dimensional Threshold ($n = 4$):
- For every characteristic-zero field $K$ admitting a ring homomorphism $K \hookrightarrow \mathbb{Q}_2$ (in particular every algebraic number field of any degree having a degree-1 unramified prime above $2$, including $\mathbb{Q}$ and all $\mathbb{Q}(\sqrt{D})$ with $D \equiv 1 \pmod 8$):
$$\chi(G(K^2, 1)) = 2, \qquad \chi(G(K^3, 1)) = 2, \qquad \chi(G(K^4, 1)) = 4$$
(with $K_4 \subseteq G(K^4, 1)$, so $\omega = \chi_f = \chi = 4$ in 4D). - Sharpness at $n = 4$: Every unit vector in $\mathbb{Q}_2^2$ or $\mathbb{Q}_2^3$ lies in $\mathbb{Z}_2^n$, and every unit vector in $\mathbb{Q}_2^4$ lies in $\frac{1}{2}\mathbb{Z}_2^4$. In contrast, in $\mathbb{Q}_2^5$ the isotropic vector $(1, 1, 1, 2, \sqrt{-7}) \in \mathbb{Z}_2^5$ (via Hensel's lemma on $x^2 + 7 = 0$) produces unit vectors with arbitrarily large $2$-adic norm ($\forall M \in \mathbb{N},\ \exists v \in \mathbb{Q}_2^5,\ \|v\|^2 = 1 \land \|v_1\|_2 \ge 2^M$).
- For every characteristic-zero field $K$ admitting a ring homomorphism $K \hookrightarrow \mathbb{Q}_2$ (in particular every algebraic number field of any degree having a degree-1 unramified prime above $2$, including $\mathbb{Q}$ and all $\mathbb{Q}(\sqrt{D})$ with $D \equiv 1 \pmod 8$):
- Complete 2D Bipartiteness and Triangle Classification for All Real Quadratic Fields:
- For every squarefree $D \ge 1$:
$$\chi\bigl(G(\mathbb{Q}(\sqrt{D})^2, 1)\bigr) = 2 \iff D \not\equiv 3 \pmod 4.$$
- $D \equiv 1 \pmod 8$: $2$-colorable via Hensel embedding $\mathbb{Q}(\sqrt{D}) \hookrightarrow \mathbb{Q}_2$.
- $D \equiv 5 \pmod 8$: $2$-colorable via elementary $2$-local integrality in $\mathbb{Z}_{(2)}[\frac{1+\sqrt{D}}{2}]$ and parity invariant $(a_0 - b_0) + (a_1 - b_1) \equiv 1 \pmod 2$.
- $D \equiv 2 \pmod 4$: $2$-colorable via elementary mod-$8$ descent showing $a_i, 2b_i \in \mathbb{Z}_{(2)}$ and parity invariant $a_0 + a_1 + 2b_0 \equiv 1 \pmod 2$.
- $D \equiv 3 \pmod 4$: explicit closed unit-distance walk of odd length $D$ using $u_\pm = \left(\frac{1-D}{1+D}, \pm\frac{2\sqrt{D}}{1+D}\right)$ and $(1, 0)$.
- For every squarefree $D \ge 1$, $K_3 \subseteq G(\mathbb{Q}(\sqrt{D})^2, 1) \iff D = 3$. Hence every squarefree $D \equiv 3 \pmod 4$ with $D > 3$ yields a triangle-free, non-bipartite 2D unit-distance graph (generalizing Madore's $D = 7$ example to the entire infinite congruence class).
- For every squarefree $D \ge 1$:
- Complete 3D Bipartiteness Dichotomy, Dimensional Phase Transition, and Exact Clique Obstructions:
- For every squarefree $D \ge 1$:
$$\chi\bigl(G(\mathbb{Q}(\sqrt{D})^3, 1)\bigr) = 2 \iff D \equiv 1 \pmod 8.$$
- $D \equiv 1 \pmod 8$: $2$-colorable via $\mathbb{Q}(\sqrt{D}) \hookrightarrow \mathbb{Q}_2$.
- $D \equiv 3 \pmod 4$: inherited from the 2D odd walk of length $D$.
- $D \equiv 5 \pmod 8$: explicit 3D closed unit-distance walk of odd length $\frac{D+1}{2}$ using $P_\pm = \left(\frac{D-1}{D+3}, \pm\frac{2(1+\sqrt{D})}{D+3}, \pm\frac{2(1-\sqrt{D})}{D+3}\right)$ and $(-1, 0, 0)$.
- $D \equiv 2 \pmod 4$ ($D = 2s$, $s$ odd): explicit 3D closed unit-distance walk of odd length $D+1$ using $u_\pm = \left(\frac{s}{s+1}, \pm\frac{1}{s+1}, \pm\frac{\sqrt{D}}{s+1}\right)$ and $(-1, 0, 0)$.
- Dimensional Phase Transition ($2\text{D} \to 3\text{D}$): For all three residue classes $D \equiv 2, 5, 6 \pmod 8$ (half of all squarefree integers), $G(\mathbb{Q}(\sqrt{D})^2, 1)$ is bipartite ($\chi = 2$) while $G(\mathbb{Q}(\sqrt{D})^3, 1)$ is non-bipartite ($\chi \ge 3$).
- Exact 3D Tetrahedron Classification: For every squarefree $D \ge 1$, $K_4 \subseteq G(\mathbb{Q}(\sqrt{D})^3, 1) \iff D = 2$ (proved via the Gram determinant $(\det A)^2 = \frac{1}{2}$).
- Infinite 3D Triangle-Free Non-Bipartite Family: For every squarefree $D \ge 1$ with $D \equiv 1 \pmod 3$ and $D \not\equiv 1 \pmod 8$ (five full congruence classes mod 24: $D \equiv 7, 10, 13, 19, 22 \pmod{24}$), $G(\mathbb{Q}(\sqrt{D})^3, 1)$ is triangle-free ($\omega = 2$, via Householder reflection into $u^\perp$ and Hensel embedding $\mathbb{Q}(\sqrt{D}) \hookrightarrow \mathbb{Q}_3$ where $x^2 + y^2 = 3$ is insoluble) yet non-bipartite ($\chi \ge 3$).
- For every squarefree $D \ge 1$:
- Explicit $K_4$-Free Chromatic Obstructions in $\mathbb{Q}(\sqrt{5})^3$ (Giant Jump $2 \to \ge 5$):
- 6-vertex, 10-edge 5-wheel $W_5 \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$: $K_4$-free, $\omega = 3$, $\alpha = 2$, $\chi(W_5) = 4$, $\chi_f(W_5) = \frac{7}{2}$.
- 18-vertex, 52-edge graph $H_{18} \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$: $K_4$-free ($\omega = 3$), $\alpha(H_{18}) = 6$, $\chi(H_{18}) = 5$, proved non-4-colorable via $S_4$-symmetry normalization on the triangle $(v_0, v_1, v_8)$ and an explicit 10-leaf pure deductive proof tree in Lean 4.
- Giant Chromatic Jump (
quad5_giant_chromatic_jump):$$\chi\bigl(G(\mathbb{Q}(\sqrt{5})^2, 1)\bigr) = 2, \qquad \omega\bigl(G(\mathbb{Q}(\sqrt{5})^3, 1)\bigr) = 3, \qquad \chi\bigl(G(\mathbb{Q}(\sqrt{5})^3, 1)\bigr) \ge 5.$$
2. Prior-Art Comparison Table (Through November 2026)
| Work | Space / Domain | Key Result | Relationship to This Work |
|---|---|---|---|
| Woodall (1973) | $\mathbb{Q}^2$ | $\chi(\mathbb{Q}^2) = 2$ | Special case $D = 1$ of quad2d_bipartite_iff. |
| Benda & Perles (1976 / 2000) | $\mathbb{Q}^3, \mathbb{Q}^4$ | $\chi(\mathbb{Q}^3) = 2$, $\chi(\mathbb{Q}^4) = 4$ | Generalized here to all characteristic-zero fields $K \hookrightarrow \mathbb{Q}_2$ (subfield_padic2_exact_2d_3d_4d), plus sharp $2$-adic boundedness breakdown at $n = 5$ (padic2_5d_unbounded_unit_sphere). |
| Jungreis, Reid & Witte (1990) | $\mathbb{Q}^2$ | Forbidden distances in 2-colorings of $\mathbb{Q}^2$ | Complementary rational distance-graph study. |
| Cantwell (1996); Nechushtan (2002) | $\mathbb{R}^4, \mathbb{R}^3$ | $\chi(\mathbb{R}^4) \ge 7$, $\chi(\mathbb{R}^3) \ge 6$ | Over full $\mathbb{R}^n$; our $H_{18}$ realizes a $K_4$-free 5-chromatic graph inside a single quadratic half-integer ring $(\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$ whose 2D slice is bipartite. |
| Mann (2003); Cibulka (2008) | $\mathbb{Q}^5, \mathbb{Q}^6, \mathbb{Q}^7, \mathbb{Q}^8$ | $\chi(\mathbb{Q}^5) \ge 8$, $\chi(\mathbb{Q}^6) \ge 10$, $\chi(\mathbb{Q}^7) \ge 15$, $\chi(\mathbb{Q}^8) \ge 16\text{–}19$ | Higher-dimensional rational spaces ($n \ge 5$), past the exact $n = 4$ threshold established here for $\mathbb{Q}_2^n$. |
| Madore (2015, arXiv:1509.07023) | $\mathbb{Q}(\sqrt{d})^2$ (selected $d$) | $\chi(\mathbb{Q}(\sqrt{2})^2) = 2$, $\chi(\mathbb{Q}(\sqrt{3})^2) = 3$, $\chi(\mathbb{Q}(\sqrt{7})^2) = 3$ (triangle-free) | Handled individual 2D fields; we establish the complete exact if-and-only-if bipartiteness classification for all squarefree $D \ge 1$ in both 2D and 3D, the full 2D triangle and 3D tetrahedron classifications, the 2D$\to$3D phase transition on $D \equiv 2, 5, 6 \pmod 8$, and the $K_4$-free 5-chromatic obstruction in $\mathbb{Q}(\sqrt{5})^3$. |
| de Grey (2018); Heule (2018–2023); Exoo–Ismailescu (2020); Parts (2020–2025) | $\mathbb{R}^2, \mathbb{R}^4$ | $\chi(\mathbb{R}^2) \ge 5$ (down to 509v), $\chi(\mathbb{R}^4) \ge 9$, small triangle-free 4-chromatic graphs | Require multi-radical extensions (e.g. $\mathbb{Q}(\sqrt{3}, \sqrt{5}, \sqrt{11})$) in 2D; we focus on complete algebraic-number-field classifications and 3D quadratic obstructions. |
| Bellitto–Pêcher–Sédillot (2021); Matolcsi–Ruzsa–Varga–Zsámboki (2023/2026) | $\mathbb{R}^2$ | $\chi_f(\mathbb{R}^2) \ge 3.8991 \to \ge 4$ | Fractional chromatic number of $\mathbb{R}^2$; our $W_5 \subset \mathbb{Q}(\sqrt{5})^3$ gives $\chi_f \ge 7/2$ in 6 vertices, and $K_4 \subset K^4$ gives $\chi_f(K^4) = 4$ for all $K \hookrightarrow \mathbb{Q}_2$. |
| Cherkashin & Voronov (2022); Raigorodskii & Prosanov (2020–2026) | $S^2(r), S^{n-1}(r), \mathbb{R}^n$ | $\chi(S^2(r)) \ge 4$ for $r > 1/2$; high-dim sphere & Borsuk bounds | Real spheres and asymptotic/Borsuk bounds; our results classify algebraic-subfield unit-distance graphs over all $\mathbb{Q}(\sqrt{D})^n$ ($n \in \{2, 3, 4\}$). |
| This Work (2026) | $\mathbb{Q}_2^n$, $K^n$ ($K \hookrightarrow \mathbb{Q}_2$), $\mathbb{Q}(\sqrt{D})^2$, $\mathbb{Q}(\sqrt{D})^3$ | Complete iff bipartiteness dichotomy in 2D ($D \not\equiv 3 \pmod 4$) and 3D ($D \equiv 1 \pmod 8$); universal $\mathbb{Q}_2$-exactness for $n \le 4$ + sharpness at $n = 5$; exact $K_3$/$K_4$ classifications; 5 mod-24 triangle-free non-bipartite 3D classes; 18v $K_4$-free 5-chromatic $H_{18} \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$ | Machine-checked in Lean 4 (zero sorry, zero native_decide, standard axioms only). |
Novelty Receipt
A systematic literature check through November 2026 (covering Woodall 1973, Benda–Perles 1976/2000, Jungreis–Reid–Witte 1990, Mann 2003, Payne 2007, Cibulka 2008, Madore 2015 [arXiv:1509.07023], Radchenko 2018 [arXiv:1807.03726], de Grey 2018, Exoo–Ismailescu 2020, Bellitto–Pêcher–Sédillot 2021, Cherkashin–Voronov 2022, Jenrich 2020–2026, Parts 2020–2025, and Matolcsi–Ruzsa–Varga–Zsámboki 2023/2026) confirms that:
- Prior work on quadratic-field Hadwiger–Nelson graphs (Madore 2015 and subsequent 2D SAT tables) treated individual 2D fields ($D = 2, 3, 7$, etc.) and did not establish the complete uniform 3D bipartiteness dichotomy $\chi(G(\mathbb{Q}(\sqrt{D})^3, 1)) = 2 \iff D \equiv 1 \pmod 8$, the uniform explicit closed odd walks of lengths $D$ (2D, $D \equiv 3 \pmod 4$), $(D+1)/2$ (3D, $D \equiv 5 \pmod 8$), and $D+1$ (3D, $D \equiv 2 \pmod 4$), or the sharp $2$-adic dimensional threshold at $n = 4$ vs. $n = 5$ across all subfields $K \hookrightarrow \mathbb{Q}_2$.
- The explicit 18-vertex, 52-edge $K_4$-free 5-chromatic unit-distance graph $H_{18} \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$ exhibiting a provable $+3$ chromatic jump from 2D ($\chi = 2$) to 3D ($\chi \ge 5$) with $\omega = 3$, along with its 10-leaf pure deductive non-4-colorability certificate, is new and formally machine-verified here for the first time.
3. Explicit Coordinates of the 18-Vertex $K_4$-Free 5-Chromatic Graph $H_{18} \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$
Every vertex $v_i = \frac{1}{4}(a_i + b_i\sqrt{5})$ satisfies $a_{i,j} \equiv b_{i,j} \pmod 2$, hence lies in $(\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$:
| Vertex | $a = (a_0, a_1, a_2)$ | $b = (b_0, b_1, b_2)$ | Vertex | $a = (a_0, a_1, a_2)$ | $b = (b_0, b_1, b_2)$ |
|---|---|---|---|---|---|
| $v_0$ | $(-2, 1, -1)$ | $(0, 1, 1)$ | $v_9$ | $(0, 1, -1)$ | $(-2, 1, 1)$ |
| $v_1$ | $(-1, -1, -2)$ | $(-1, 1, 0)$ | $v_{10}$ | $(0, 1, 1)$ | $(0, 1, 1)$ |
| $v_2$ | $(-1, -1, 0)$ | $(-1, 1, 2)$ | $v_{11}$ | $(0, 2, 0)$ | $(0, 2, 0)$ |
| $v_3$ | $(-1, -1, 2)$ | $(-1, 1, 0)$ | $v_{12}$ | $(0, 4, 0)$ | $(0, 0, 0)$ |
| $v_4$ | $(-1, 3, -2)$ | $(-1, 1, 0)$ | $v_{13}$ | $(1, 0, -3)$ | $(-1, 2, 1)$ |
| $v_5$ | $(-1, 3, 0)$ | $(-1, 1, 2)$ | $v_{14}$ | $(1, 0, 1)$ | $(-1, 2, 1)$ |
| $v_6$ | $(-1, 3, 2)$ | $(-1, 1, 0)$ | $v_{15}$ | $(1, 2, -3)$ | $(-1, 0, 1)$ |
| $v_7$ | $(0, -2, 0)$ | $(0, 2, 0)$ | $v_{16}$ | $(1, 2, 1)$ | $(-1, 0, 1)$ |
| $v_8$ | $(0, 0, 0)$ | $(0, 0, 0)$ | $v_{17}$ | $(2, 1, -1)$ | $(0, 1, 1)$ |
Two vertices $(a, b), (c, d)$ are at exact Euclidean distance $1$ iff $\sum_{j=0}^2 (a_j - c_j)^2 + 5\sum_{j=0}^2 (b_j - d_j)^2 = 16$ and $\sum_{j=0}^2 (a_j - c_j)(b_j - d_j) = 0$. This yields 52 unit-distance edges, $\omega(H_{18}) = 3$ ($K_4$-free), $\alpha(H_{18}) = 6$, and $\chi(H_{18}) = 5$.
4. Python / Z3 Computational Verification
Run the standalone verification script verify_hadwiger_nelson.py:
python3 /Users/arthurcolle/math_rip/new-results/open-hadwiger-nelson-unit-distance/verify_hadwiger_nelson.py
Verified output summary:
- 2D parity invariants: 1,640 exact unit vectors tested across $D \in \{2, 6, 10, 14, 22, 26\}$ ($D \equiv 2 \pmod 4$) and $D \in \{5, 13, 21, 29\}$ ($D \equiv 5 \pmod 8$); 100% satisfy the proved $2$-local integrality and parity laws.
- Universal odd walks ($2 \le D \le 200$ squarefree): verified all 121 squarefree fields ($D \equiv 1 \pmod 8$: 17; $D \equiv 3 \pmod 4$: 42 2D walks of length $D$; $D \equiv 5 \pmod 8$: 21 3D walks of length $(D+1)/2$; $D \equiv 2 \pmod 4$: 41 3D walks of length $D+1$).
- Simplices: verified exact $K_4 \subset \mathbb{Q}^4$ and $K_4 \subset \mathbb{Q}(\sqrt{2})^3$.
- $W_5 \subset \mathbb{Q}(\sqrt{5})^3$: verified 6 vertices, 10 edges, $K_4$-free, $\omega = 3$, $\alpha = 2$, Z3 UNSAT for 3-coloring, SAT for 4-coloring, $\chi_f = 7/2$.
- $H_{18} \subset (\frac{1}{2}\mathcal{O}_{\mathbb{Q}(\sqrt{5})})^3$: verified 18 vertices, 52 edges, $K_4$-free, $\omega = 3$, $\alpha = 6$, Z3 UNSAT for 4-coloring, explicit 5-coloring witness
[4, 3, 3, 4, 1, 2, 3, 0, 2, 0, 0, 2, 0, 2, 1, 2, 1, 0].
5. Complete Line-Numbered Theorem Inventory
All formal proofs live in HadwigerNelsonQuadratic.lean (3,290 lines; compiles in 10.85 s with Lean 4 v4.33.0-rc2 + Mathlib4, zero errors, zero warnings).
| Line | Declaration | Mathematical Content |
|---|---|---|
| L58 | def unitDistGraph | Euclidean unit-distance graph G(Rⁿ, 1) over any commutative ring R |
| L66 | lemma unitDistGraph_adj_iff | Adjacency characterization ∑ (x i - y i)^2 = 1 over nontrivial rings |
| L78–L82 | def ContainsK3, ContainsK4 | Triangle and regular tetrahedron clique predicates |
| L87–L113 | colorable_of_ringHom_injective, colorable_of_fieldHom, colorable_of_le_dim | Functorial pullback of colorings along injective ring/field homomorphisms and dimension embeddings |
| L152 | theorem colorable_of_subgroup_coloring | General coset-coloring extension theorem from additive subgroups H ≤ Rⁿ |
| L183–L283 | not_two_colorable_of_odd_walk, not_two_colorable_of_pair_walk, not_three_colorable_of_K4 | Odd closed walk and $K_4$ chromatic obstructions |
| L302–L373 | def QuadSubfield, quadMk | Concrete subfield ℚ(√D) ⊂ ℝ and element constructor |
| L395–L423 | squarefree_not_isSquare, sqrt_irrational_of_not_isSquare, quad_rep_unique | Irrationality of $\sqrt{D}$ and uniqueness of a + b√D coordinates |
| L440–L626 | padic2_exists_sqrt_of_mod_eight_eq_one, padic3_exists_sqrt_of_mod_three_eq_one, quadSubfield_hom_padic2, quadSubfield_hom_padic3 | Hensel square roots and field embeddings ℚ(√D) ↪ ℚ₂ ($D \equiv 1 \pmod 8$) and ℚ(√D) ↪ ℚ₃ ($D \equiv 1 \pmod 3$) |
| L819–L879 | padic2_unit_vec_integral_3d, padic2_colorable_3d, padic2_colorable_2d | Headline: 2-adic integrality of unit vectors in ℚ₂³ and 2-colorability of G(ℚ₂², 1) and G(ℚ₂³, 1) |
| L884–L1067 | padic2_unit_vec_half_integral_4d, padic2_colorable_4d | Headline: Half-integrality in ℚ₂⁴ and 4-colorability of G(ℚ₂⁴, 1) |
| L1217–L1236 | charZero_4d_contains_K4, subfield_padic2_exact_2d_3d_4d | Headline: Exact chromatic numbers 2, 2, 4 for G(Kⁿ, 1) ($n = 2, 3, 4$) for every char-0 field K ↪ ℚ₂ |
| L1251 | theorem padic2_5d_unbounded_unit_sphere | Headline: Sharp threshold at $n = 4$: unbounded 2-adic norm on the unit sphere of ℚ₂⁵ |
| L1350–L1409 | IsTwoInt, twoIntMod2 & algebraic lemmas | Elementary 2-local integrality ℤ_{(2)} and mod-2 homomorphism on ℚ |
| L1541 | theorem quad2d_colorable_of_mod_eight_eq_five | G(ℚ(√D)², 1) is 2-colorable for all $D \equiv 5 \pmod 8$ |
| L1775 | theorem quad2d_colorable_of_mod_four_eq_two | G(ℚ(√D)², 1) is 2-colorable for all $D \equiv 2 \pmod 4$ |
| L2100 | theorem quad2d_not_two_colorable_of_mod_four_eq_three | Explicit length-$D$ closed odd walk in G(ℚ(√D)², 1) for all $D \equiv 3 \pmod 4$ |
| L2164 | theorem quad2d_bipartite_iff | Headline: Complete 2D bipartiteness dichotomy (Colorable 2 ↔ D % 4 ≠ 3) |
| L2241 | theorem quad2d_triangle_iff | Headline: Exact 2D triangle classification (ContainsK3 ↔ D = 3) |
| L2315 | theorem quad2d_triangle_free_nonbipartite | Headline: Infinite 2D triangle-free non-bipartite family ($D \equiv 3 \pmod 4, D > 3$) |
| L2327 | theorem quad3d_not_two_colorable_of_mod_eight_eq_five | Explicit 3D odd walk of length $(D+1)/2$ for all $D \equiv 5 \pmod 8$ |
| L2397 | theorem quad3d_not_two_colorable_of_mod_four_eq_two | Explicit 3D odd walk of length $D+1$ for all $D \equiv 2 \pmod 4$ |
| L2464 | theorem quad3d_bipartite_iff | Headline: Complete 3D bipartiteness dichotomy (Colorable 2 ↔ D % 8 = 1) |
| L2484 | theorem quad_dimensional_phase_transition | Headline: Exact 2D$\to$3D phase transition for $D \equiv 2, 5, 6 \pmod 8$ |
| L2493 | theorem quad3d_tetrahedron_iff | Headline: Exact 3D regular tetrahedron classification (ContainsK4 ↔ D = 2) |
| L2654–L2765 | quad3d_triangle_free_of_mod_three_eq_one, quad3d_triangle_free_nonbipartite | Headline: Infinite 3D triangle-free non-bipartite family ($D \equiv 1 \pmod 3, D \not\equiv 1 \pmod 8$) |
| L2824 | theorem quad5_3d_wheel5_not_three_colorable | Headline: 6-vertex, 10-edge $K_4$-free 5-wheel $W_5$ in $\mathbb{Q}(\sqrt{5})^3$ ($\chi \ge 4$) |
| L2916 | theorem quad5_3d_18v_not_four_colorable | Headline: 18-vertex, 52-edge $K_4$-free 5-chromatic graph $H_{18}$ in $\mathbb{Q}(\sqrt{5})^3$ ($\chi \ge 5$, 10-leaf proof tree) |
| L3263 | theorem quad5_giant_chromatic_jump | Headline: Combined theorem: $\chi(\mathbb{Q}(\sqrt{5})^2) = 2$, $\omega(\mathbb{Q}(\sqrt{5})^3) \le 3$, and $\chi(\mathbb{Q}(\sqrt{5})^3) \ge 5$ |
6. Verification Command & Verbatim #print axioms Output
Compilation command (executes in 10.851 s wall time, exit code 0, zero errors, zero warnings):
cd /Users/arthurcolle/math_rip/new-results/collatz-coalescence && \
lake env lean /Users/arthurcolle/math_rip/new-results/open-hadwiger-nelson-unit-distance/HadwigerNelsonQuadratic.lean
Verbatim #print axioms output:
'HadwigerNelsonQuadratic.padic2_colorable_2d' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.padic2_colorable_3d' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.padic2_colorable_4d' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.subfield_padic2_exact_2d_3d_4d' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.padic2_5d_unbounded_unit_sphere' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad2d_bipartite_iff' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad2d_triangle_iff' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad2d_triangle_free_nonbipartite' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad3d_bipartite_iff' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad_dimensional_phase_transition' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad3d_tetrahedron_iff' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad3d_triangle_free_nonbipartite' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad5_3d_wheel5_not_three_colorable' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad5_3d_18v_not_four_colorable' depends on axioms: [propext, Classical.choice, Quot.sound]
'HadwigerNelsonQuadratic.quad5_giant_chromatic_jump' depends on axioms: [propext, Classical.choice, Quot.sound]