§VI (68)–(69): hexagonal correction radius
OpenQAlgorithms.Papers.Independent.Intakenext100.P12.hexagonal_radiusLet . In the source's phase-label units let be generated by
Its symplectic dual is generated by , and its shortest nonzero vector has length . The equal-area square dual has shortest length . In physical displacement units multiply by ; the sharp disjoint-open-ball correction radius of the hexagonal code is . Relative to the square radius , the gain is .
The chosen dual basis need not pair as the identity with this particular displayed hexagonal basis.
import Definitions.Def_QAlgorithms_Papers_Independent_Intakenext100_P12
noncomputable section
open scoped BigOperators
open MeasureTheory Matrix ComplexConjugate
open QAlgorithms.Papers.Independent.Dependency50.P10 (Phase sigma)
namespace QAlgorithms.Papers.Independent.Intakenext100.P12
/-- Section VI (68)–(69), PDF p.9: the exact dual lattice and sharp correction-radius gain.
Physical radii include sqrt(2*pi); strict inequalities give unambiguous decoding. -/
theorem hexagonal_radius (n : ℕ) (hn : 0 < n) :
({u : ℝ × ℝ | ∀ z : ℤ × ℤ, ∃ k : ℤ,
u.1 * (hexVector n z).2 - u.2 * (hexVector n z).1 = k} =
Set.range (hexDualVector n)) ∧
(∀ z : ℤ × ℤ, z ≠ (0, 0) →
Real.sqrt (2 / (n * Real.sqrt 3)) ≤ planeNorm (hexDualVector n z)) ∧
planeNorm (hexDualVector n (1, 0)) = Real.sqrt (2 / (n * Real.sqrt 3)) ∧
(∀ z : ℤ × ℤ, z ≠ (0, 0) → (Real.sqrt n)⁻¹ ≤ planeNorm (squareDualVector n z)) ∧
planeNorm (squareDualVector n (1, 0)) = (Real.sqrt n)⁻¹ ∧
IsSharpRadius (Set.range (fun z =>
(Real.sqrt (2 * Real.pi) * (hexDualVector n z).1,
Real.sqrt (2 * Real.pi) * (hexDualVector n z).2)))
(Real.sqrt (Real.pi / (n * Real.sqrt 3))) ∧
Real.sqrt (2 * Real.pi) / 2 * Real.sqrt (2 / (n * Real.sqrt 3)) =
Real.sqrt (Real.pi / (n * Real.sqrt 3)) ∧
Real.sqrt (Real.pi / (n * Real.sqrt 3)) =
Real.sqrt (2 / Real.sqrt 3) * Real.sqrt (Real.pi / (2 * n)) := by sorry
end QAlgorithms.Papers.Independent.Intakenext100.P12
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , define, for ,
and write . The theorem asserts all of the following: the set of real pairs satisfying for every integer pair is exactly ; every nonzero integer pair satisfies , with equality at ; every nonzero integer pair satisfies , with equality at ; and, for
one has , every two distinct satisfy , and some distinct pair attains equality. It also asserts the exact identities
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.