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 Mathlib.MeasureTheory.Function.Jacobian |
| 2 | import Mathlib.LinearAlgebra.Dimension.Free |
| 3 | import Mathlib.Analysis.Normed.Module.FiniteDimension |
| 4 | import Mathlib.Analysis.Calculus.FDeriv.Comp |
| 5 | import Mathlib.Analysis.Calculus.FDeriv.Linear |
| 6 | |
| 7 | /-! # Lower Dimensional Images -/ |
| 8 | |
| 9 | namespace OAI.RepresentationTheory.Theta.Geometric.LowerDimensionalImages |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A differentiable image from a strictly smaller dimensional space |
| 14 | has Haar measure zero, by extending along a linear retraction and applying |
| 15 | the proved equal-dimensional Jacobian theorem. -/ |
| 16 | |
| 17 | open Set _root_.Module _root_.MeasureTheory _root_.MeasureTheory.Measure |
| 18 | |
| 19 | theorem measure_image_eq_zero_of_finrank_lt |
| 20 | {V W : Type*} [NormedAddCommGroup V] [NormedSpace ℝ V] [FiniteDimensional ℝ V] |
| 21 | [NormedAddCommGroup W] [NormedSpace ℝ W] [FiniteDimensional ℝ W] |
| 22 | [MeasurableSpace W] [BorelSpace W] (μ : Measure W) [IsAddHaarMeasure μ] |
| 23 | {f : V → W} {U : Set V} (hU : IsOpen U) (hf : DifferentiableOn ℝ f U) |
| 24 | (hdim : finrank ℝ V < finrank ℝ W) : μ (f '' U) = 0 := by |
| 25 | obtain ⟨i, hi⟩ := (finrank_le_iff_exists_linearMap (R := ℝ) (M := V) (M' := W)).mp hdim.le |
| 26 | obtain ⟨q₀, hq₀⟩ := i.exists_leftInverse_of_injective (LinearMap.ker_eq_bot.mpr hi) |
| 27 | let q := q₀.toContinuousLinearMap |
| 28 | have hqi (v : V) : q (i v) = v := LinearMap.congr_fun hq₀ v |
| 29 | let F : W → W := fun w => f (q w) |
| 30 | let d : W → W →L[ℝ] W := fun w => (fderiv ℝ f (q w)).comp q |
| 31 | have hd (w : W) (hw : w ∈ q ⁻¹' U) : HasFDerivWithinAt F (d w) (q ⁻¹' U) w := |
| 32 | ((hf.differentiableAt (hU.mem_nhds hw)).hasFDerivAt.comp w q.hasFDerivAt).hasFDerivWithinAt |
| 33 | have hdet (w : W) (_hw : w ∈ q ⁻¹' U) : (d w).det = 0 := by |
| 34 | apply LinearMap.det_eq_zero_iff_ker_ne_bot.mpr |
| 35 | intro hk |
| 36 | have hdi : Function.Injective (d w) := LinearMap.ker_eq_bot.mp hk |
| 37 | have hq : Function.Injective q₀ := fun a b hab => hdi (congrArg (fderiv ℝ f (q w)) hab) |
| 38 | exact (not_le_of_gt hdim) (LinearMap.finrank_le_finrank_of_injective hq) |
| 39 | have hz := addHaar_image_eq_zero_of_det_fderivWithin_eq_zero μ hd hdet |
| 40 | apply measure_mono_null (t := F '' (q ⁻¹' U)) ?_ hz |
| 41 | rintro _ ⟨v, hv, rfl⟩ |
| 42 | refine ⟨i v, ?_, ?_⟩ |
| 43 | · change q (i v) ∈ U |
| 44 | rw [hqi] |
| 45 | exact hv |
| 46 | · change f (q (i v)) = f v |
| 47 | rw [hqi] |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.RepresentationTheory.Theta.Geometric.LowerDimensionalImages |