Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.PhaseAction |
| 2 | |
| 3 | /-! # Coset Phase -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.CosetPhase.CM |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A neighborhood condition for an arbitrary translate of a lattice |
| 10 | test. The translating vector need not be integral. -/ |
| 11 | |
| 12 | open scoped Classical _root_.Matrix |
| 13 | open OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.PhaseAction.TestTransport |
| 14 | |
| 15 | variable {I : Type*} [Fintype I] [DecidableEq I] |
| 16 | {MpR MpF MpA : Type*} [Group MpR] [Group MpF] [Group MpA] |
| 17 | (D : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData I MpR MpF MpA) |
| 18 | |
| 19 | theorem translate (r : ℚ) (hr : r ≠ 0) (p q a : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) |
| 20 | (hp : p ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r⁻¹ (inv_ne_zero hr)) |
| 21 | (hqa : q - a ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr) |
| 22 | (hphase : (∑ i, p i * (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) q) i) ∈ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele) |
| 23 | (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 24 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.heisenberg D.finiteCharacter p q (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x = |
| 25 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest r hr a).val x := by |
| 26 | have hshift : (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - q) = |
| 27 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - a) := by |
| 28 | convert RepresentationTheory.Hecke.RadialDilation.FiniteHeisenberg.Realization.latticeTestFunction_translation r hr (q - a) hqa (x - a) using 1 |
| 29 | abel_nf |
| 30 | change D.finiteCharacter _ * (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - q) = |
| 31 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - a) |
| 32 | rw [← hshift] |
| 33 | by_cases hx : x - q ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr |
| 34 | · have he : (∑ i, p i * (x i - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * q i)) = |
| 35 | (∑ i, p i * (x - q) i) + ∑ i, p i * (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) q) i := by |
| 36 | rw [← Finset.sum_add_distrib] |
| 37 | apply Finset.sum_congr rfl |
| 38 | intro i _ |
| 39 | dsimp only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale, Pi.sub_apply] |
| 40 | have hh : (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2)) + algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) = 1 := by |
| 41 | rw [← map_add] |
| 42 | norm_num |
| 43 | linear_combination -(p i * q i) * hh |
| 44 | rw [he, D.finiteCharacter.map_add_eq_mul, |
| 45 | (RepresentationTheory.Hecke.RadialDilation.FiniteHeisenberg.Realization.finite_lattice_annihilator D r hr (x - q)).mp hx p hp, |
| 46 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteCharacter_integral D _ hphase, one_mul, one_mul] |
| 47 | · change _ * RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator r hr (x - q) = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator r hr (x - q) |
| 48 | rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_notMem r hr hx, mul_zero] |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.CosetPhase.CM |