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.UnipotentCosetIntegral |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.HeightFibers |
| 3 | |
| 4 | /-! # Unipotent Integrable -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnipotentIntegrable.Iwasawa |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! Integrability of the individual coset indicators in each successive |
| 13 | unipotent coordinate, including cosets outside the chosen height fibre. -/ |
| 14 | |
| 15 | open scoped Classical |
| 16 | open _root_.MeasureTheory |
| 17 | |
| 18 | variable (q : ℕ) [Fact q.Prime] [MeasurableSpace ℚ_[q]] [BorelSpace ℚ_[q]] |
| 19 | (μ : Measure ℚ_[q]) [μ.IsAddLeftInvariant] |
| 20 | (hO : MeasurableSet (Unipotent.Iwasawa.padicIntegralSet q)) (hvol : μ (Unipotent.Iwasawa.padicIntegralSet q) = 1) |
| 21 | |
| 22 | include hO hvol in |
| 23 | theorem padic_integrable_translated_indicator (c : ℚ_[q]) (r : ℂ) : |
| 24 | Integrable (fun x => if x - c ∈ Unipotent.Iwasawa.padicIntegralSet q then r else 0) μ := by |
| 25 | let S := (fun x : ℚ_[q] => x - c) ⁻¹' Unipotent.Iwasawa.padicIntegralSet q |
| 26 | have hS : MeasurableSet S := hO.preimage (measurable_id.sub_const c) |
| 27 | have hm : μ S = 1 := by |
| 28 | dsimp [S] |
| 29 | rw [show (fun x : ℚ_[q] => x - c) = (fun x => -c + x) by funext x; ring] |
| 30 | rw [measure_preimage_add, hvol] |
| 31 | have hi : IntegrableOn (fun _ : ℚ_[q] => r) S μ := integrableOn_const (by rw [hm]; simp) |
| 32 | exact (hi.integrable_indicator hS).congr (Filter.Eventually.of_forall (fun _ => rfl)) |
| 33 | |
| 34 | def gl3UnipotentKernelIntegrable (ell : Fin 3 → ℤ) |
| 35 | (f : RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : Prop := |
| 36 | (∀ a c : ℚ_[q], Integrable (fun b => |
| 37 | f (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c))) μ) ∧ |
| 38 | (∀ a : ℚ_[q], Integrable (fun c => ∫ b, |
| 39 | f (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ) μ) ∧ |
| 40 | Integrable (fun a => ∫ c, ∫ b, |
| 41 | f (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ ∂μ) μ |
| 42 | |
| 43 | include hO hvol in |
| 44 | theorem gl3Unipotent_single_integrable (ell : Fin 3 → ℤ) |
| 45 | (c : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) (r : ℂ) : |
| 46 | gl3UnipotentKernelIntegrable q μ ell (Finsupp.single c r) := by |
| 47 | by_cases hc : (Iwasawa.gl3Decomposition q).height c = ell |
| 48 | · obtain ⟨x, y, z, rfl⟩ := (HeightFibers.Iwasawa.gl3_height_fiber q ell c).mp hc |
| 49 | have hinner (a d : ℚ_[q]) : |
| 50 | (∫ b, Finsupp.single (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent x y z) : |
| 51 | RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) r |
| 52 | (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b d)) ∂μ) = |
| 53 | if a - x ∈ Unipotent.Iwasawa.padicIntegralSet q ∧ d - z ∈ Unipotent.Iwasawa.padicIntegralSet q then r else 0 := by |
| 54 | simpa only [Finsupp.single_apply] using |
| 55 | UnipotentCosetIntegral.Iwasawa.gl3Unipotent_coset_inner_integral q μ hO hvol (HeightFibers.Iwasawa.gl3Torus q ell) x y z a d r |
| 56 | have hmiddle (a : ℚ_[q]) : |
| 57 | (∫ d, ∫ b, Finsupp.single (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent x y z) : |
| 58 | RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) r |
| 59 | (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b d)) ∂μ ∂μ) = |
| 60 | if a - x ∈ Unipotent.Iwasawa.padicIntegralSet q then r else 0 := by |
| 61 | simpa only [Finsupp.single_apply] using |
| 62 | UnipotentCosetIntegral.Iwasawa.gl3Unipotent_coset_middle_integral q μ hO hvol (HeightFibers.Iwasawa.gl3Torus q ell) x y z a r |
| 63 | refine ⟨?_, ?_, ?_⟩ |
| 64 | · intro a d |
| 65 | simp only [Finsupp.single_apply, Unipotent.Iwasawa.gl3Unipotent_coset_iff] |
| 66 | have he (b : ℚ_[q]) : b - y - x * (d - z) = b - (y + x * (d - z)) := by ring |
| 67 | simp_rw [he] |
| 68 | by_cases ha : a - x ∈ Unipotent.Iwasawa.padicIntegralSet q <;> by_cases hd : d - z ∈ Unipotent.Iwasawa.padicIntegralSet q |
| 69 | · simpa only [ha, hd, true_and, and_true] using |
| 70 | padic_integrable_translated_indicator q μ hO hvol (y + x * (d - z)) r |
| 71 | · simp [ha, hd] |
| 72 | · simp [ha, hd] |
| 73 | · simp [ha, hd] |
| 74 | · intro a |
| 75 | simp_rw [hinner] |
| 76 | by_cases ha : a - x ∈ Unipotent.Iwasawa.padicIntegralSet q |
| 77 | · simpa only [ha, true_and] using padic_integrable_translated_indicator q μ hO hvol z r |
| 78 | · simp [ha] |
| 79 | · simp_rw [hmiddle] |
| 80 | exact padic_integrable_translated_indicator q μ hO hvol x r |
| 81 | · have hzero (a b d : ℚ_[q]) : Finsupp.single c r |
| 82 | (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b d)) = 0 := by |
| 83 | apply Finsupp.single_eq_of_ne |
| 84 | intro he |
| 85 | apply hc |
| 86 | rw [← he] |
| 87 | exact HeightFibers.Iwasawa.gl3Torus_unipotent_height q ell a b d |
| 88 | constructor |
| 89 | · intro a d; simp_rw [hzero]; exact integrable_zero _ _ _ |
| 90 | · constructor |
| 91 | · intro a; simp_rw [hzero, integral_zero]; exact integrable_zero _ _ _ |
| 92 | · simp_rw [hzero, integral_zero]; exact integrable_zero _ _ _ |
| 93 | |
| 94 | end |
| 95 | |
| 96 | /-! The actual finite Iwasawa kernel pushforward equals the iterated |
| 97 | unipotent integral. Every exchange with addition uses proved integrability. -/ |
| 98 | |
| 99 | open scoped Classical |
| 100 | open _root_.MeasureTheory |
| 101 | |
| 102 | variable (q : ℕ) [Fact q.Prime] [MeasurableSpace ℚ_[q]] [BorelSpace ℚ_[q]] |
| 103 | (μ : Measure ℚ_[q]) [μ.IsAddLeftInvariant] |
| 104 | (hO : MeasurableSet (Unipotent.Iwasawa.padicIntegralSet q)) (hvol : μ (Unipotent.Iwasawa.padicIntegralSet q) = 1) |
| 105 | |
| 106 | def gl3UnipotentKernelIntegral (ell : Fin 3 → ℤ) |
| 107 | (f : RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : ℂ := |
| 108 | ∫ a, ∫ c, ∫ b, f (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ ∂μ ∂μ |
| 109 | |
| 110 | omit [BorelSpace ℚ_[q]] [μ.IsAddLeftInvariant] in |
| 111 | theorem gl3UnipotentKernel_add (ell : Fin 3 → ℤ) |
| 112 | (f g : RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) |
| 113 | (hf : gl3UnipotentKernelIntegrable q μ ell f) (hg : gl3UnipotentKernelIntegrable q μ ell g) : |
| 114 | gl3UnipotentKernelIntegrable q μ ell (f + g) ∧ |
| 115 | gl3UnipotentKernelIntegral q μ ell (f + g) = |
| 116 | gl3UnipotentKernelIntegral q μ ell f + gl3UnipotentKernelIntegral q μ ell g := by |
| 117 | have hinner (a c : ℚ_[q]) : |
| 118 | (∫ b, (f + g) (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ) = |
| 119 | (∫ b, f (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ) + |
| 120 | (∫ b, g (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ) := |
| 121 | integral_add (hf.1 a c) (hg.1 a c) |
| 122 | have hmiddle (a : ℚ_[q]) : |
| 123 | (∫ c, ∫ b, (f + g) (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ ∂μ) = |
| 124 | (∫ c, ∫ b, f (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ ∂μ) + |
| 125 | (∫ c, ∫ b, g (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b c)) ∂μ ∂μ) := by |
| 126 | simp_rw [hinner] |
| 127 | exact integral_add (hf.2.1 a) (hg.2.1 a) |
| 128 | constructor |
| 129 | · refine ⟨fun a c => (hf.1 a c).add (hg.1 a c), ?_, ?_⟩ |
| 130 | · intro a |
| 131 | simp_rw [hinner] |
| 132 | exact (hf.2.1 a).add (hg.2.1 a) |
| 133 | · simp_rw [hmiddle] |
| 134 | exact hf.2.2.add hg.2.2 |
| 135 | · unfold gl3UnipotentKernelIntegral |
| 136 | simp_rw [hmiddle] |
| 137 | exact integral_add hf.2.2 hg.2.2 |
| 138 | |
| 139 | include hO hvol in |
| 140 | theorem gl3UnipotentKernel_single (ell : Fin 3 → ℤ) |
| 141 | (c : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) (r : ℂ) : |
| 142 | gl3UnipotentKernelIntegral q μ ell (Finsupp.single c r) = |
| 143 | Finsupp.single ((Iwasawa.gl3Decomposition q).height c) r ell := by |
| 144 | by_cases hc : (Iwasawa.gl3Decomposition q).height c = ell |
| 145 | · rw [Finsupp.single_apply, ite_eq_left hc] |
| 146 | obtain ⟨x, y, z, rfl⟩ := (HeightFibers.Iwasawa.gl3_height_fiber q ell c).mp hc |
| 147 | unfold gl3UnipotentKernelIntegral |
| 148 | simpa only [Finsupp.single_apply] using |
| 149 | UnipotentCosetIntegral.Iwasawa.gl3Unipotent_coset_integral q μ hO hvol (HeightFibers.Iwasawa.gl3Torus q ell) x y z r |
| 150 | · rw [Finsupp.single_apply, ite_eq_right hc] |
| 151 | have hzero (a b d : ℚ_[q]) : Finsupp.single c r |
| 152 | (QuotientGroup.mk (HeightFibers.Iwasawa.gl3Torus q ell * Unipotent.Iwasawa.gl3Unipotent a b d)) = 0 := by |
| 153 | apply Finsupp.single_eq_of_ne |
| 154 | intro he |
| 155 | apply hc |
| 156 | rw [← he] |
| 157 | exact HeightFibers.Iwasawa.gl3Torus_unipotent_height q ell a b d |
| 158 | simp only [gl3UnipotentKernelIntegral, hzero, integral_zero] |
| 159 | |
| 160 | include hO hvol in |
| 161 | theorem gl3UnipotentKernel_pushforward (ell : Fin 3 → ℤ) |
| 162 | (f : RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.CosetModule (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 163 | gl3UnipotentKernelIntegrable q μ ell f ∧ |
| 164 | gl3UnipotentKernelIntegral q μ ell f = Finsupp.mapDomain (Iwasawa.gl3Decomposition q).height f ell := by |
| 165 | induction f using Finsupp.induction_linear with |
| 166 | | zero => |
| 167 | simp [gl3UnipotentKernelIntegrable, gl3UnipotentKernelIntegral] |
| 168 | | add f g hf hg => |
| 169 | obtain ⟨hI, hsum⟩ := gl3UnipotentKernel_add q μ ell f g hf.1 hg.1 |
| 170 | refine ⟨hI, ?_⟩ |
| 171 | rw [hsum, hf.2, hg.2, Finsupp.mapDomain_add, Finsupp.add_apply] |
| 172 | | single c r => |
| 173 | exact ⟨gl3Unipotent_single_integrable q μ hO hvol ell c r, |
| 174 | by rw [Finsupp.mapDomain_single]; exact gl3UnipotentKernel_single q μ hO hvol ell c r⟩ |
| 175 | |
| 176 | include hO hvol in |
| 177 | theorem gl3_constantTerm_unipotent (ell : Fin 3 → ℤ) |
| 178 | (T : RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.algebra (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q)) : |
| 179 | ((Iwasawa.gl3Decomposition q).constantTerm T).coeff ell = |
| 180 | gl3UnipotentKernelIntegral q μ ell (RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) T) := by |
| 181 | change ((Iwasawa.gl3Decomposition q).pushforward (RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.kernel (RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) T)).coeff ell = _ |
| 182 | rw [RepresentationTheory.Satake.GL3TorusIwasawa.Iwasawa.Decomposition.pushforward_coeff] |
| 183 | exact (gl3UnipotentKernel_pushforward q μ hO hvol ell _).2.symm |
| 184 | |
| 185 | end |
| 186 | |
| 187 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnipotentIntegrable.Iwasawa |