Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The reflection circle meets the rational plane in exactly four points

Proved
Diaz.four_nodes

by carlok · Sep 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

diaz-modulus-leannumber-theory

Let K⊆CK \subseteq \mathbb{C}K⊆C be a subfield and u∈Cu \in \mathbb{C}u∈C with ρ:=uuˉ∈K\rho := u\bar u \in Kρ:=uuˉ∈K and (u+uˉ)2∉K(u + \bar u)^{2} \notin K(u+uˉ)2∈/K. Let a,b∈Qa, b \in \mathbb{Q}a,b∈Q and put v=au+buˉv = a u + b \bar uv=au+buˉ. If vvv lies on the same circle as uuu, that is if

v vˉ=u uˉ,v\,\bar v = u\,\bar u,vvˉ=uuˉ,

then (a,b)(a,b)(a,b) is one of (1,0)(1,0)(1,0), (−1,0)(-1,0)(−1,0), (0,1)(0,1)(0,1), (0,−1)(0,-1)(0,−1) — in other words v∈{ u, −u, uˉ, −uˉ }v \in \{\, u,\ -u,\ \bar u,\ -\bar u \,\}v∈{u, −u, uˉ, −uˉ}.

Why. Expanding, vvˉ=(a−b)2ρ+ab (u+uˉ)2v\bar v = (a-b)^{2}\rho + ab\,(u+\bar u)^{2}vvˉ=(a−b)2ρ+ab(u+uˉ)2. If ab≠0ab \neq 0ab=0 the hypothesis lets one solve for (u+uˉ)2(u+\bar u)^{2}(u+uˉ)2 as an element of KKK, contradicting (u+uˉ)2∉K(u+\bar u)^{2} \notin K(u+uˉ)2∈/K; so ab=0ab = 0ab=0. With the cross term gone, the equation reduces to (a−b)2ρ=ρ(a-b)^{2}\rho = \rho(a−b)2ρ=ρ with ρ≠0\rho \neq 0ρ=0, hence (a−b)2=1(a-b)^{2} = 1(a−b)2=1, and the four sign cases are exactly the four listed points.

Role. The last of the accompanying note's algebraic statements. The reflection circle through a candidate carries exactly four rational-plane points — the "four nodes" — and the proof is a computation plus a single transcendence input, needing no analysis. That is why it is formalised while the other obstructions of that section of the note are not. The transcendence input (u+uˉ)2∉K(u+\bar u)^{2} \notin K(u+uˉ)2∈/K is discharged for an actual candidate in Diaz.four_nodes_candidate.

Preamble
import Mathlib

open ComplexConjugate
variable {K : Subfield ℂ} {u : ℂ}
Formal statement
theorem Diaz.four_nodes (hρ : u * conj u ∈ K) (hre : (u + conj u) ^ 2 ∉ K)
    {a b : ℚ} (h : ((a : ℂ) * u + (b : ℂ) * conj u)
      * conj ((a : ℂ) * u + (b : ℂ) * conj u) = u * conj u) :
    (a = 1 ∧ b = 0) ∨ (a = -1 ∧ b = 0)
      ∨ (a = 0 ∧ b = 1) ∨ (a = 0 ∧ b = -1) := by sorry
Source
https://github.com/carlok/diaz-modulus-lean/blob/801802b8ac052dff50baf17ac4a7ceac3e994ca9/Diaz/Nodes.lean#L105-L158

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me