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.AbelianModuli.HilbertConstruction.Ample.ProjectivePresentation |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Polarization.BaseChange |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.BaseChangeCoherence |
| 5 | |
| 6 | /-! # Polarized Projectivity -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.PolarizedProjectivity |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual polarization supplies a projective embedding over any |
| 13 | algebraically closed field, before choosing a complex embedding. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {k : Type} [Field k] [IsAlgClosed k] {g N : ℕ} {δ : Fin g → ℕ} |
| 18 | (A : HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N (Spec (.of k))) |
| 19 | |
| 20 | theorem geometricPolarization_has_ample_line_bundle : |
| 21 | ∃ L : HilbertConstruction.Line.Bundles.LineBundle A.abelian.scheme.left, L.IsAmple := by |
| 22 | obtain ⟨L, hL, _⟩ := A.polarization.positive k (𝟙 (Spec (.of k))) |
| 23 | let f := A.abelian.pullbackIdIso.inv.left |
| 24 | let : IsIso f := inferInstanceAs |
| 25 | (IsIso (((Over.forget (Spec (.of k))).mapIso A.abelian.pullbackIdIso).inv)) |
| 26 | exact ⟨L.pullback f, hL.pullback_of_isIso f⟩ |
| 27 | |
| 28 | def geometricPolarizedProjectivePresentation : HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation A.abelian.scheme := by |
| 29 | let L := Classical.choose (geometricPolarization_has_ample_line_bundle A) |
| 30 | have hL : L.IsAmple := Classical.choose_spec (geometricPolarization_has_ample_line_bundle A) |
| 31 | exact hL.projectivePresentation A.abelian.scheme.hom |
| 32 | |
| 33 | def geometricPolarizedProjectiveEmbedding : |
| 34 | A.abelian.scheme ⟶ HilbertConstruction.Projective.ProjectivePresentations.affineProjectiveSpace k (geometricPolarizedProjectivePresentation A).dimension := |
| 35 | (geometricPolarizedProjectivePresentation A).embedding ≫ |
| 36 | (HilbertConstruction.Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of k) (geometricPolarizedProjectivePresentation A).dimension).hom |
| 37 | |
| 38 | instance geometricPolarizedProjectiveEmbedding_closed : |
| 39 | IsClosedImmersion (geometricPolarizedProjectiveEmbedding A).left := by |
| 40 | have : IsIso (HilbertConstruction.Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of k) |
| 41 | (geometricPolarizedProjectivePresentation A).dimension).hom.left := |
| 42 | ((Over.forget (Spec (.of k))).mapIso |
| 43 | (HilbertConstruction.Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of k) (geometricPolarizedProjectivePresentation A).dimension)).isIso_hom |
| 44 | exact inferInstanceAs (IsClosedImmersion |
| 45 | ((geometricPolarizedProjectivePresentation A).embedding.left ≫ |
| 46 | (HilbertConstruction.Projective.SpaceBaseChange.projectiveSpaceOverSpecIso (.of k) (geometricPolarizedProjectivePresentation A).dimension).hom.left)) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.PolarizedProjectivity |