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.Relative.AmpleAffineFactor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Ample.AffineOpenCover |
| 3 | |
| 4 | /-! # Ample Affine Test -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A relatively ample bundle on a proper scheme becomes ample after every affine scheme test of the base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem Line.Bundles.LineBundle.IsRelativelyAmple.isAmple_after_affine_cartesian |
| 17 | {S X T P : Scheme.{u}} [IsAffine T] {f : X ⟶ S} [IsProper f] |
| 18 | {L : Line.Bundles.LineBundle X} (hL : L.IsRelativelyAmple f) |
| 19 | {a : P ⟶ X} {b : P ⟶ T} {g : T ⟶ S} (H : IsPullback a b f g) : |
| 20 | (L.pullback a).IsAmple := by |
| 21 | have hnb (t : T) : ∃ (U : S.Opens) (V : T.Opens), |
| 22 | t ∈ V ∧ IsAffineOpen U ∧ IsAffineOpen V ∧ V ≤ g ⁻¹ᵁ U := by |
| 23 | obtain ⟨_, ⟨U : S.Opens, hU, rfl⟩, htU, _⟩ := |
| 24 | S.isBasis_affineOpens.exists_subset_of_mem_open (Set.mem_univ (g t)) isOpen_univ |
| 25 | obtain ⟨_, ⟨V : T.Opens, hV, rfl⟩, htV, hVU⟩ := |
| 26 | T.isBasis_affineOpens.exists_subset_of_mem_open (show t ∈ g ⁻¹ᵁ U from htU) (g ⁻¹ᵁ U).isOpen |
| 27 | exact ⟨U, V, htV, hU, hV, hVU⟩ |
| 28 | choose U V ht hU hV hVU using hnb |
| 29 | have hcover : iSup V = ⊤ := by |
| 30 | apply top_unique |
| 31 | intro t _ |
| 32 | exact TopologicalSpace.Opens.mem_iSup.mpr ⟨t, ht t⟩ |
| 33 | let C := T.openCoverOfIsOpenCover V hcover |
| 34 | have (i : C.I₀) : IsAffine (C.X i) := hV i |
| 35 | have : IsProper b := MorphismProperty.of_isPullback H (inferInstance : IsProper f) |
| 36 | apply (L.pullback a).isAmple_of_affine_open_cover b C |
| 37 | intro i |
| 38 | let d := pullback.fst b (V i).ι |
| 39 | let q := pullback.snd b (V i).ι |
| 40 | let c := g.resLE (U i) (V i) (hVU i) |
| 41 | have H₀ : IsPullback (d ≫ a) q f ((V i).ι ≫ g) := |
| 42 | ((IsPullback.of_hasPullback b (V i).ι).flip.paste_vert H.flip).flip |
| 43 | have H' : IsPullback (d ≫ a) q f (c ≫ (U i).ι) := |
| 44 | (congrArg (fun r => IsPullback (d ≫ a) q f r) (g.resLE_comp_ι (hVU i))).mpr H₀ |
| 45 | have : IsAffine (V i).toScheme := hV i |
| 46 | exact (hL.isAmple_after_affine_open_factor (U i) (hU i) c H').of_iso |
| 47 | ((Scheme.Modules.pullbackComp d a).app L.sheaf).symm |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |