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.Power.ProjectiveEmbeddings |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ProjectiveChart.Preimages |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.StandardProjectiveCharts |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.ClosedImmersion |
| 5 | |
| 6 | /-! # Affine Charts -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every section chart in an actual power projective embedding over an affine base is affine. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X S : Scheme.{u}} (p : X ⟶ S) [IsAffine S] {L : Line.Bundles.LineBundle X} |
| 19 | |
| 20 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.absolute_closedImmersion (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) : |
| 21 | IsClosedImmersion (SectionsProjectiveMorphism.sectionAbsoluteMorphism p E.sections E.covers) := by |
| 22 | let j := SectionsProjectiveMorphism.sectionProjectiveMorphism p E.sections E.covers |
| 23 | let q := Limits.pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) E.dimension).hom S.toSpecΓ |
| 24 | have hj : IsClosedImmersion j.left := E.closedImmersion |
| 25 | have : IsIso q := inferInstanceAs |
| 26 | (IsIso (Limits.pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) E.dimension).hom S.toSpecΓ)) |
| 27 | have h : j.left ≫ q = SectionsProjectiveMorphism.sectionAbsoluteMorphism p E.sections E.covers := Limits.pullback.lift_fst _ _ _ |
| 28 | have hq : IsClosedImmersion q := inferInstance |
| 29 | exact h ▸ @IsClosedImmersion.comp _ _ _ j.left q hj hq |
| 30 | |
| 31 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.sectionChart_isAffine (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) |
| 32 | (i : Fin (E.dimension + 1)) : IsAffineOpen (Ample.LineBundles.sectionNonvanishing (E.sections i)) := by |
| 33 | let f := SectionsProjectiveMorphism.sectionAbsoluteMorphism p E.sections E.covers |
| 34 | have hc : IsClosedImmersion f := E.absolute_closedImmersion p |
| 35 | have hf : IsAffineHom f := isAffineHom_of_isInducing f |
| 36 | hc.isClosedEmbedding.isInducing hc.isClosedEmbedding.isClosed_range |
| 37 | have h := @IsAffineOpen.preimage _ _ _ |
| 38 | (StandardProjectiveCharts.standardProjectiveChart_isAffine Γ(S, ⊤) E.dimension i) f hf |
| 39 | exact (ProjectiveChart.Preimages.sectionAbsoluteMorphism_preimage p E.sections E.covers i) ▸ h |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |