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.HeckeCycles.Constructed.AdelicCharacter |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.FiniteMeasure |
| 3 | import OAI.RepresentationTheory.Theta.CosetTests |
| 4 | |
| 5 | /-! # Finite Fourier -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.FiniteFourier.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Fourier transforms of lattice cosets for the constructed character |
| 12 | and Haar measure. These computations specialize the elementary PoissonAutomorphy |
| 13 | lattice arguments directly, without assuming a WeilData record. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open _root_.MeasureTheory OAI.RepresentationTheory.Theta.CosetTests.PoissonAutomorphyConstruction |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.FiniteMeasure.CM |
| 18 | |
| 19 | variable {ι : Type*} [Fintype ι] |
| 20 | |
| 21 | theorem pairing_integral {x y : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf} |
| 22 | (hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors) (hy : y ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors) : |
| 23 | AdelicCharacter.CM.Finite.character (-(∑ i, x i * y i)) = 1 := by |
| 24 | apply AdelicCharacter.CM.Finite.character_integral |
| 25 | exact RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.neg_mem (RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.sum_mem (fun i _ => RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.mul_mem |
| 26 | (hx i) (hy i))) |
| 27 | |
| 28 | theorem finiteCharacter_pairing_dual_lattice (q : ℚ) (hq : q ≠ 0) |
| 29 | {x y : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf} (hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q⁻¹ (inv_ne_zero hq)) |
| 30 | (hy : y ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q hq) : AdelicCharacter.CM.Finite.character (-(∑ i, x i * y i)) = 1 := by |
| 31 | obtain ⟨u, hu, rfl⟩ := hx |
| 32 | obtain ⟨v, hv, rfl⟩ := hy |
| 33 | change AdelicCharacter.CM.Finite.character (-(∑ i, RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale q⁻¹ u i * RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale q v i)) = 1 |
| 34 | have heq (i : ι) : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale q⁻¹ u i * RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale q v i = u i * v i := by |
| 35 | dsimp [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale] |
| 36 | calc |
| 37 | _ = (algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q⁻¹ * algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q) * (u i * v i) := by ring |
| 38 | _ = _ := by rw [← map_mul, inv_mul_cancel₀ hq, map_one, one_mul] |
| 39 | simp only [heq] |
| 40 | exact pairing_integral hu hv |
| 41 | |
| 42 | theorem latticeIndicator_fourier_of_mem (q : ℚ) (hq : q ≠ 0) {x : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf} |
| 43 | (hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q⁻¹ (inv_ne_zero hq)) : |
| 44 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier AdelicCharacter.CM.Finite.character (FiniteMeasure.CM.measure ι) (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq) x = |
| 45 | ((FiniteMeasure.CM.measure ι).real (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (ι := ι) q hq : Set (ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : ℂ) := by |
| 46 | have heq : (fun y => RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq y * AdelicCharacter.CM.Finite.character (-(∑ i, x i * y i))) = |
| 47 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq := by |
| 48 | funext y |
| 49 | by_cases hy : y ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q hq |
| 50 | · rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_mem q hq hy, finiteCharacter_pairing_dual_lattice q hq hx hy, one_mul] |
| 51 | · rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_notMem q hq hy, zero_mul] |
| 52 | rw [RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier, heq] |
| 53 | change (∫ y, (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (ι := ι) q hq : Set (ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)).indicator |
| 54 | (fun _ => (1 : ℂ)) y ∂(FiniteMeasure.CM.measure ι)) = _ |
| 55 | rw [integral_indicator (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_measurableSet q hq)] |
| 56 | simp |
| 57 | |
| 58 | theorem latticeIndicator_fourier_of_notMem (q : ℚ) (hq : q ≠ 0) {x : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf} |
| 59 | (hx : x ∉ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q⁻¹ (inv_ne_zero hq)) : |
| 60 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier AdelicCharacter.CM.Finite.character (FiniteMeasure.CM.measure ι) (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq) x = 0 := by |
| 61 | have hx' : RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale q x ∉ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.integralVectors := by |
| 62 | simpa only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice_mem_iff, inv_inv] using hx |
| 63 | obtain ⟨i, hi⟩ : ∃ i, algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q * x i ∉ RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele := not_forall.mp hx' |
| 64 | let v : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf := Pi.single i 1 |
| 65 | let u := RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale q v |
| 66 | have hu : u ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q hq := by |
| 67 | refine ⟨v, ?_, rfl⟩ |
| 68 | intro j |
| 69 | by_cases hj : j = i <;> simp [v, hj, RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.one_mem, RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.zero_mem] |
| 70 | have hpair : (∑ j, x j * u j) = algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q * x i := by |
| 71 | calc |
| 72 | _ = algebraMap ℚ RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf q * (∑ j, x j * v j) := by |
| 73 | simp only [u, RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteScale, Finset.mul_sum] |
| 74 | apply Finset.sum_congr rfl |
| 75 | intro j _ |
| 76 | ring |
| 77 | _ = _ := by rw [show (∑ j, x j * v j) = x i from dotProduct_single_one x i] |
| 78 | have hphase : AdelicCharacter.CM.Finite.character (-(∑ j, x j * u j)) ≠ 1 := by |
| 79 | rw [hpair] |
| 80 | intro h |
| 81 | exact hi (RepresentationTheory.Theta.AdelicSupport.PoissonAutomorphyConstruction.integralAdele.neg_mem_iff.mp ((AdelicCharacter.CM.Finite.character_eq_one_iff _).mp h)) |
| 82 | let F := fun y : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf => RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq y * AdelicCharacter.CM.Finite.character (-(∑ j, x j * y j)) |
| 83 | have hshift (y : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : F (u + y) = AdelicCharacter.CM.Finite.character (-(∑ j, x j * u j)) * F y := by |
| 84 | dsimp [F] |
| 85 | rw [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_add q hq hu] |
| 86 | simp only [mul_add, Finset.sum_add_distrib, neg_add, AddChar.map_add_eq_mul] |
| 87 | ring |
| 88 | have h := integral_add_left_eq_self (μ := FiniteMeasure.CM.measure ι) F u |
| 89 | simp_rw [hshift, integral_const_mul] at h |
| 90 | change AdelicCharacter.CM.Finite.character (-(∑ j, x j * u j)) * |
| 91 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier AdelicCharacter.CM.Finite.character (FiniteMeasure.CM.measure ι) (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq) x = |
| 92 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier AdelicCharacter.CM.Finite.character (FiniteMeasure.CM.measure ι) (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq) x at h |
| 93 | by_contra hn |
| 94 | exact hphase ((mul_eq_right₀ hn).mp h) |
| 95 | |
| 96 | theorem latticeIndicator_fourier (q : ℚ) (hq : q ≠ 0) (x : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 97 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier AdelicCharacter.CM.Finite.character (FiniteMeasure.CM.measure ι) (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq) x = |
| 98 | ((FiniteMeasure.CM.measure ι).real (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (ι := ι) q hq : Set (ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : ℂ) * |
| 99 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q⁻¹ (inv_ne_zero hq) x := by |
| 100 | by_cases hx : x ∈ RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice q⁻¹ (inv_ne_zero hq) |
| 101 | · rw [latticeIndicator_fourier_of_mem q hq hx, |
| 102 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_mem q⁻¹ (inv_ne_zero hq) hx, mul_one] |
| 103 | · rw [latticeIndicator_fourier_of_notMem q hq hx, |
| 104 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator_of_notMem q⁻¹ (inv_ne_zero hq) hx, mul_zero] |
| 105 | |
| 106 | theorem latticeCosetIndicator_fourier (q : ℚ) (hq : q ≠ 0) (a x : ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf) : |
| 107 | RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.fourier AdelicCharacter.CM.Finite.character (FiniteMeasure.CM.measure ι) (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator q hq a) x = |
| 108 | AdelicCharacter.CM.Finite.character (-(∑ i, x i * a i)) * |
| 109 | (((FiniteMeasure.CM.measure ι).real (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.finiteLattice (ι := ι) q hq : Set (ι → RepresentationTheory.Theta.PoissonAutomorphyNormalizationData.AQf)) : ℂ) * |
| 110 | RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q⁻¹ (inv_ne_zero hq) x) := by |
| 111 | rw [← latticeIndicator_fourier q hq x] |
| 112 | change (∫ y, RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator q hq a y * AdelicCharacter.CM.Finite.character (-(∑ i, x i * y i)) |
| 113 | ∂(FiniteMeasure.CM.measure ι)) = _ |
| 114 | rw [← integral_add_right_eq_self (μ := FiniteMeasure.CM.measure ι) |
| 115 | (fun y => RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator q hq a y * AdelicCharacter.CM.Finite.character (-(∑ i, x i * y i))) a] |
| 116 | calc |
| 117 | _ = ∫ y, AdelicCharacter.CM.Finite.character (-(∑ i, x i * a i)) * |
| 118 | (RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeIndicator q hq y * AdelicCharacter.CM.Finite.character (-(∑ i, x i * y i))) ∂(FiniteMeasure.CM.measure ι) := by |
| 119 | apply integral_congr_ae |
| 120 | exact Filter.Eventually.of_forall fun y => by |
| 121 | dsimp only [RepresentationTheory.Theta.PoissonAutomorphyFiniteFourier.Construction.latticeCosetIndicator] |
| 122 | rw [add_sub_cancel_right] |
| 123 | simp only [Pi.add_apply, mul_add, Finset.sum_add_distrib, neg_add, AddChar.map_add_eq_mul] |
| 124 | ring |
| 125 | _ = _ := integral_const_mul _ _ |
| 126 | |
| 127 | end |
| 128 | |
| 129 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Constructed.FiniteFourier.CM |