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.Unipotent |
| 2 | import OAI.RepresentationTheory.Hecke.CosetCalculusArithmeticMeasure |
| 3 | |
| 4 | /-! # Unipotent Coset Integral -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnipotentCosetIntegral.Iwasawa |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A single actual unipotent integral coset has volume one in the |
| 11 | iterated additive Haar integral, using the exact GL3 coset equations. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | open _root_.MeasureTheory |
| 15 | |
| 16 | variable (q : ℕ) [Fact q.Prime] |
| 17 | [MeasurableSpace ℚ_[q]] [BorelSpace ℚ_[q]] |
| 18 | (μ : Measure ℚ_[q]) [μ.IsAddLeftInvariant] |
| 19 | (hO : MeasurableSet (Unipotent.Iwasawa.padicIntegralSet q)) (hvol : μ (Unipotent.Iwasawa.padicIntegralSet q) = 1) |
| 20 | |
| 21 | include hO hvol in |
| 22 | theorem padic_integral_translated_indicator (c : ℚ_[q]) (r : ℂ) : |
| 23 | (∫ x, if x - c ∈ Unipotent.Iwasawa.padicIntegralSet q then r else 0 ∂μ) = r := by |
| 24 | have hm : μ ((fun x => x - c) ⁻¹' Unipotent.Iwasawa.padicIntegralSet q) = 1 := by |
| 25 | rw [show (fun x : ℚ_[q] => x - c) = (fun x => -c + x) by funext x; ring] |
| 26 | rw [measure_preimage_add, hvol] |
| 27 | have hh := RepresentationTheory.Hecke.CosetCalculusArithmeticMeasure.integral_if_mem μ ((fun x : ℚ_[q] => x - c) ⁻¹' Unipotent.Iwasawa.padicIntegralSet q) |
| 28 | (hO.preimage (measurable_id.sub_const c)) r |
| 29 | simpa [RepresentationTheory.Hecke.CosetCalculusArithmeticMeasure.complexVolume, measureReal_def, hm] using hh |
| 30 | |
| 31 | include hO hvol in |
| 32 | theorem gl3Unipotent_coset_inner_integral (t : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) |
| 33 | (x y z a c : ℚ_[q]) (r : ℂ) : |
| 34 | (∫ b, if (QuotientGroup.mk (t * Unipotent.Iwasawa.gl3Unipotent x y z) : |
| 35 | RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) = |
| 36 | QuotientGroup.mk (t * Unipotent.Iwasawa.gl3Unipotent a b c) then r else 0 ∂μ) = |
| 37 | if a - x ∈ Unipotent.Iwasawa.padicIntegralSet q ∧ c - z ∈ Unipotent.Iwasawa.padicIntegralSet q then r else 0 := by |
| 38 | simp_rw [Unipotent.Iwasawa.gl3Unipotent_coset_iff] |
| 39 | have he (b : ℚ_[q]) : b - y - x * (c - z) = b - (y + x * (c - z)) := by ring |
| 40 | simp_rw [he] |
| 41 | by_cases ha : a - x ∈ Unipotent.Iwasawa.padicIntegralSet q <;> by_cases hc : c - z ∈ Unipotent.Iwasawa.padicIntegralSet q |
| 42 | · simpa only [ha, hc, true_and, and_true, ite_true] using |
| 43 | padic_integral_translated_indicator q μ hO hvol (y + x * (c - z)) r |
| 44 | · simp [ha, hc] |
| 45 | · simp [ha, hc] |
| 46 | · simp [ha, hc] |
| 47 | |
| 48 | include hO hvol in |
| 49 | theorem gl3Unipotent_coset_middle_integral (t : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) |
| 50 | (x y z a : ℚ_[q]) (r : ℂ) : |
| 51 | (∫ c, ∫ b, if (QuotientGroup.mk (t * Unipotent.Iwasawa.gl3Unipotent x y z) : |
| 52 | RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) = |
| 53 | QuotientGroup.mk (t * Unipotent.Iwasawa.gl3Unipotent a b c) then r else 0 ∂μ ∂μ) = |
| 54 | if a - x ∈ Unipotent.Iwasawa.padicIntegralSet q then r else 0 := by |
| 55 | simp_rw [gl3Unipotent_coset_inner_integral q μ hO hvol] |
| 56 | by_cases ha : a - x ∈ Unipotent.Iwasawa.padicIntegralSet q |
| 57 | · simpa only [ha, true_and, ite_true] using padic_integral_translated_indicator q μ hO hvol z r |
| 58 | · simp [ha] |
| 59 | |
| 60 | include hO hvol in |
| 61 | theorem gl3Unipotent_coset_integral (t : RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q) (x y z : ℚ_[q]) (r : ℂ) : |
| 62 | (∫ a, ∫ c, ∫ b, if (QuotientGroup.mk (t * Unipotent.Iwasawa.gl3Unipotent x y z) : |
| 63 | RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.GL3 q ⧸ RepresentationTheory.Theta.Geometric.SphericalGU.Spherical.integralGL3 q) = |
| 64 | QuotientGroup.mk (t * Unipotent.Iwasawa.gl3Unipotent a b c) then r else 0 ∂μ ∂μ ∂μ) = r := by |
| 65 | simp_rw [gl3Unipotent_coset_middle_integral q μ hO hvol] |
| 66 | exact padic_integral_translated_indicator q μ hO hvol x r |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.HodgeConjecture.CMExtraction.UnipotentCosetIntegral.Iwasawa |