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.PullbackFiniteDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.RelativeProjective.TwistingBundle |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 4 | |
| 5 | /-! # Morphism Ample Descent -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.MorphismAmpleDescent |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A generating section morphism is finite if its line bundle becomes ample after a surjective base change. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S X Y : Scheme.{u}} (f : X ⟶ S) [IsProper f] (g : Y ⟶ S) [Surjective g] |
| 18 | variable (L : Line.Bundles.LineBundle X) {n : ℕ} (s : Fin (n + 1) → (Line.Bundles.structureModule X ⟶ L.sheaf)) |
| 19 | variable (hs : ∀ x : X, ∃ i, x ∈ Ample.LineBundles.sectionNonvanishing (s i)) |
| 20 | variable (hL : (L.pullback (pullback.fst f g)).IsAmple) |
| 21 | |
| 22 | include hL |
| 23 | |
| 24 | theorem sectionProjectiveMorphism_isFinite_of_ample_surjective_baseChange : |
| 25 | IsFinite (SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs).left := by |
| 26 | let q := SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs |
| 27 | have : IsProper (q.left ≫ (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom) := q.w.symm ▸ inferInstanceAs (IsProper f) |
| 28 | have : IsProper q.left := IsProper.of_comp q.left (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom |
| 29 | have : Surjective (pullback.fst (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom g) := |
| 30 | MorphismProperty.of_isPullback (IsPullback.of_hasPullback (Projective.ProjectivePresentations.projectiveSpaceOver S n).hom g).flip |
| 31 | (inferInstance : Surjective g) |
| 32 | apply Ample.PullbackFiniteDescent.proper_isFinite_of_ample_pullback_after_surjective_baseChange |
| 33 | (Projective.PresentationBaseChange.overPullback_map_isPullback q g) (RelativeProjective.TwistingBundle.relativeProjectiveTwistingBundle S n) |
| 34 | exact hL.of_iso ((Scheme.Modules.pullback (pullback.fst f g)).mapIso |
| 35 | (RelativeProjective.TwistingBundle.sectionProjectiveTwistingBundleIso f s hs).symm) |
| 36 | |
| 37 | theorem sectionAbsoluteMorphism_isFinite_of_ample_surjective_baseChange [IsAffine S] : |
| 38 | IsFinite (SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs) := by |
| 39 | let q := SectionsProjectiveMorphism.sectionProjectiveMorphism f s hs |
| 40 | let p := pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ |
| 41 | have hq : IsFinite q.left := sectionProjectiveMorphism_isFinite_of_ample_surjective_baseChange f g L s hs hL |
| 42 | have : IsIso p := inferInstanceAs |
| 43 | (IsIso (pullback.fst (Projective.ProjectivePresentations.affineProjectiveSpace Γ(S, ⊤) n).hom S.toSpecΓ)) |
| 44 | have hp : IsFinite p := inferInstance |
| 45 | have h : IsFinite (q.left ≫ p) := MorphismProperty.comp_mem (@IsFinite) _ _ hq hp |
| 46 | have he : q.left ≫ p = SectionsProjectiveMorphism.sectionAbsoluteMorphism f s hs := pullback.lift_fst _ _ _ |
| 47 | exact he ▸ h |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Section.MorphismAmpleDescent |