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.BoundedScalar |
| 2 | |
| 3 | /-! # Heisenberg Lattice -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.HeisenbergLattice.TestTransport |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Concrete Heisenberg stabilizers of the finite lattice test. -/ |
| 10 | |
| 11 | open scoped Classical _root_.Matrix |
| 12 | |
| 13 | variable {I : Type*} [Fintype I] [DecidableEq I] |
| 14 | {MpR MpF MpA : Type*} [Group MpR] [Group MpF] [Group MpA] |
| 15 | (D : RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.WeilData I MpR MpF MpA) |
| 16 | |
| 17 | theorem finite_heisenberg_lattice_fixed (r : ℚ) (hr : r ≠ 0) |
| 18 | (p q : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hp : p ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r⁻¹ (inv_ne_zero hr)) |
| 19 | (hq : q ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr) |
| 20 | (hphase : D.finiteCharacter (-(∑ i, p i * (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) q) i)) = 1) |
| 21 | (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 22 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.heisenberg D.finiteCharacter p q (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x = |
| 23 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x := by |
| 24 | have he : (∑ i, p i * (x i - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * q i)) = |
| 25 | (∑ i, p i * x i) + (-(∑ i, p i * (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) q) i)) := by |
| 26 | simp only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale, mul_sub, Finset.sum_sub_distrib] |
| 27 | exact sub_eq_add_neg _ _ |
| 28 | change D.finiteCharacter _ * (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - q) = _ |
| 29 | rw [he, D.finiteCharacter.map_add_eq_mul, hphase, mul_one, |
| 30 | RepresentationTheory.Hecke.RadialDilation.FiniteHeisenberg.Realization.latticeTestFunction_translation r hr q hq] |
| 31 | by_cases hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr |
| 32 | · rw [(RepresentationTheory.Hecke.RadialDilation.FiniteHeisenberg.Realization.finite_lattice_annihilator D r hr x).mp hx p hp, one_mul] |
| 33 | · change _ * RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator r hr x = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator r hr x |
| 34 | rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_notMem r hr hx, mul_zero] |
| 35 | |
| 36 | theorem finite_heisenberg_lattice_fixed_half_translation (r : ℚ) (hr : r ≠ 0) |
| 37 | (p q : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hp : p ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r⁻¹ (inv_ne_zero hr)) |
| 38 | (hq : q ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr) |
| 39 | (hhalf : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) q ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr) (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 40 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.heisenberg D.finiteCharacter p q (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x = |
| 41 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x := |
| 42 | finite_heisenberg_lattice_fixed D r hr p q hp hq |
| 43 | (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteCharacter_pairing_dual_lattice D r hr hp hhalf) x |
| 44 | |
| 45 | theorem finite_heisenberg_lattice_fixed_half_modulation (r : ℚ) (hr : r ≠ 0) |
| 46 | (p q : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hp : p ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r⁻¹ (inv_ne_zero hr)) |
| 47 | (hq : q ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr) |
| 48 | (hhalf : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) p ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r⁻¹ (inv_ne_zero hr)) |
| 49 | (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 50 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.heisenberg D.finiteCharacter p q (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x = |
| 51 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x := by |
| 52 | apply finite_heisenberg_lattice_fixed D r hr p q hp hq _ x |
| 53 | convert RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteCharacter_pairing_dual_lattice D r hr hhalf hq using 1 |
| 54 | congr 2 |
| 55 | apply Finset.sum_congr rfl |
| 56 | intro i _ |
| 57 | dsimp only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale] |
| 58 | ring |
| 59 | |
| 60 | theorem finite_heisenberg_integral_coset (r : ℚ) (hr : r ≠ 0) |
| 61 | (hL : (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (ι := I) r hr : Set (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) ⊆ |
| 62 | (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors (ι := I) : Set (I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf))) |
| 63 | (p q a : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) (hp : p ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors) |
| 64 | (hhalf : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) p ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors) |
| 65 | (hq : q ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors) (hqa : q - a ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr) |
| 66 | (x : I → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 67 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.heisenberg D.finiteCharacter p q (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val x = |
| 68 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeCosetTest r hr a).val x := by |
| 69 | have hshift : (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - q) = |
| 70 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - a) := by |
| 71 | convert RepresentationTheory.Hecke.RadialDilation.FiniteHeisenberg.Realization.latticeTestFunction_translation r hr (q - a) hqa (x - a) using 1 |
| 72 | abel_nf |
| 73 | change D.finiteCharacter _ * (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - q) = |
| 74 | (RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction.latticeTestFunction r hr).val (x - a) |
| 75 | rw [← hshift] |
| 76 | by_cases hx : x - q ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice r hr |
| 77 | · have hxi : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors := by |
| 78 | have := RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors.add_mem (hL hx) hq |
| 79 | simpa only [sub_add_cancel] using this |
| 80 | have hphase : D.finiteCharacter |
| 81 | (∑ i, p i * (x i - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * q i)) = 1 := by |
| 82 | apply (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteCharacter_eq_one_iff D _).mpr |
| 83 | apply RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sum_mem |
| 84 | intro i _ |
| 85 | have he : p i * (x i - algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf (1 / 2) * q i) = |
| 86 | p i * x i - (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale (1 / 2) p) i * q i := by |
| 87 | dsimp only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale] |
| 88 | ring |
| 89 | rw [he] |
| 90 | exact RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sub_mem (RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.mul_mem (hp i) (hxi i)) |
| 91 | (RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.mul_mem (hhalf i) (hq i)) |
| 92 | rw [hphase, one_mul] |
| 93 | · change _ * RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator r hr (x - q) = RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator r hr (x - q) |
| 94 | rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_notMem r hr hx, mul_zero] |
| 95 | |
| 96 | end |
| 97 | |
| 98 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.Finite.HeisenbergLattice.TestTransport |