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.Isogenies.NeighborCounting.Evaluated.ParameterPoints |
| 2 | import Mathlib.CategoryTheory.Monoidal.Cartesian.Over |
| 3 | |
| 4 | /-! # Split Point Surjectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitPointSurjectivity.Lifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A surjective morphism between evaluated finite schemes is surjective |
| 11 | on rational labels. This derives the point-level component surjectivity |
| 12 | used to construct the generic linear section. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 15 | open _root_.CategoryTheory.MonoidalCategory |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {k : Type u} [Field k] {I J : Type u} |
| 20 | |
| 21 | def splitLabelPoint {X : Over (Spec (.of k))} |
| 22 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) (i : I) : (𝟙_ (Over (Spec (.of k)))) ⟶ X := |
| 23 | (show Over.mk (𝟙 (Spec (.of k))) ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I from |
| 24 | Over.homMk (Sigma.ι (fun _ : I ↦ Spec (.of k)) i) (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_ι_hom i)) ≫ e.hom |
| 25 | |
| 26 | theorem splitLabelPoint_covers {X : Over (Spec (.of k))} |
| 27 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) (x : X.left) : |
| 28 | ∃ i, (splitLabelPoint e i).left (IsLocalRing.closedPoint k) = x := by |
| 29 | obtain ⟨⟨i, t⟩, ht⟩ := (sigmaMk (fun _ : I ↦ Spec (.of k))).surjective (e.inv.left x) |
| 30 | refine ⟨i, ?_⟩ |
| 31 | have hpoint : IsLocalRing.closedPoint k = t := Subsingleton.elim _ _ |
| 32 | change e.hom.left (Sigma.ι (fun _ : I ↦ Spec (.of k)) i (IsLocalRing.closedPoint k)) = x |
| 33 | rw [hpoint, ← sigmaMk_mk, ht] |
| 34 | have he : e.inv.left ≫ e.hom.left = 𝟙 X.left := congrArg Over.Hom.left e.inv_hom_id |
| 35 | exact congrArg (fun f : X.left ⟶ X.left ↦ f x) he |
| 36 | |
| 37 | theorem splitSource_constantTarget_points_surjective {X : Over (Spec (.of k))} |
| 38 | (e : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) |
| 39 | (f : X ⟶ AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) J) [Surjective f.left] : |
| 40 | Function.Surjective (fun a : (𝟙_ (Over (Spec (.of k)))) ⟶ X ↦ a ≫ f) := by |
| 41 | intro b |
| 42 | obtain ⟨x, hx⟩ := f.left.surjective (b.left (IsLocalRing.closedPoint k)) |
| 43 | obtain ⟨i, hi⟩ := splitLabelPoint_covers e x |
| 44 | refine ⟨splitLabelPoint e i, ?_⟩ |
| 45 | apply (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemePointsEquiv (Spec (.of k)) J (𝟙_ (Over (Spec (.of k))))).injective |
| 46 | apply LocallyConstant.ext |
| 47 | intro t |
| 48 | have ht : t = IsLocalRing.closedPoint k := |
| 49 | @Subsingleton.elim (Spec (.of k)) inferInstance t _ |
| 50 | subst t |
| 51 | exact congrArg (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantSchemeIndex (Spec (.of k)) J) ((congrArg f.left hi).trans hx) |
| 52 | |
| 53 | theorem split_points_surjective {X Y : Over (Spec (.of k))} |
| 54 | (eX : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) I ≅ X) |
| 55 | (eY : AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme (Spec (.of k)) J ≅ Y) |
| 56 | (f : X ⟶ Y) [Surjective f.left] : |
| 57 | Function.Surjective (fun a : (𝟙_ (Over (Spec (.of k)))) ⟶ X ↦ a ≫ f) := by |
| 58 | have : IsIso eY.inv.left := (Over.forget _).map_isIso eY.inv |
| 59 | have : Surjective (f ≫ eY.inv).left := inferInstanceAs (Surjective (f.left ≫ eY.inv.left)) |
| 60 | intro b |
| 61 | obtain ⟨a, ha⟩ := splitSource_constantTarget_points_surjective eX (f ≫ eY.inv) (b ≫ eY.inv) |
| 62 | refine ⟨a, (cancel_mono eY.inv).mp ?_⟩ |
| 63 | exact (Category.assoc _ _ _).trans ha |
| 64 | |
| 65 | end |
| 66 | |
| 67 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.SplitPointSurjectivity.Lifts |