AFTD Auto-Formalizing Theoretical Domains

triangular_lattice_zero_mem

theoremverified

For every real number d, the origin 0 belongs to the triangular lattice with spacing d.

Statement

theorem triangular_lattice_zero_mem (d : ℝ) : (0 : ℂ) ∈ triangular_lattice d
Source
arXiv:2611.13535, Section 2
Verified
12 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 2
  • eisensteinOmegaThe primitive cube root of unity ω = (-1 + √(-3))/2 in the complex numbers.
  • triangular_latticeThe triangular lattice with spacing d in the complex plane is the set of points of the form d * (a + b * eisensteinOmega) for integers a…

Read back from the Lean

For every real number $d$, the complex number $0$ is an element of triangular_lattice d.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

The proof, explained

By definition, a complex number z belongs to the triangular lattice with spacing d if z = d * (a + b * ω) for some integers a, b ∈ ℤ, where ω is the Eisenstein integer root. Choosing the witnesses a = 0 and b = 0, the linear combination evaluates to 0, showing that 0 belongs to the lattice.

  1. The origin 0 belongs to the triangular lattice with spacing d. automation

    By definition of the triangular lattice, a complex number z belongs to the lattice if there exist integers a and b such that z = d * (a + b * ω). Choosing a = 0 and b = 0, the right-hand side d * (0 + 0 * ω) simplifies to 0 by standard ring arithmetic.

    line 3

      exact ⟨0, 0, by simp⟩

Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.

Lean source view module on GitHub

/-- The origin is an element of the triangular lattice for any spacing parameter d. -/theorem triangular_lattice_zero_mem (d : ℝ) : (0 : ℂ) ∈ triangular_lattice d := by  exact ⟨0, 0, by simp⟩
See it in the graphDiscuss this resultChallenge it