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.AffinePullback |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Isomorphisms |
| 3 | |
| 4 | /-! # Ample Affine Factor -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A relatively ample line bundle becomes ample after an affine test scheme whose map factors through one affine open of the base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem Line.Bundles.LineBundle.IsRelativelyAmple.isAmple_after_affine_open_factor |
| 17 | {S X T P : Scheme.{u}} [IsAffine T] {f : X ⟶ S} |
| 18 | {L : Line.Bundles.LineBundle X} (hL : L.IsRelativelyAmple f) |
| 19 | (U : S.Opens) (hU : IsAffineOpen U) (c : T ⟶ U.toScheme) |
| 20 | {a : P ⟶ X} {b : P ⟶ T} (H : IsPullback a b f (c ≫ U.ι)) : |
| 21 | (L.pullback a).IsAmple := by |
| 22 | let W := f ⁻¹ᵁ U |
| 23 | let B := (isPullback_morphismRestrict f U).flip |
| 24 | have hw : a ≫ f = (b ≫ c) ≫ U.ι := H.w.trans (Category.assoc b c U.ι).symm |
| 25 | let v : P ⟶ W.toScheme := B.lift a (b ≫ c) hw |
| 26 | have hv : v ≫ W.ι = a := B.lift_fst _ _ _ |
| 27 | have hq : v ≫ (f ∣_ U) = b ≫ c := B.lift_snd _ _ _ |
| 28 | have Houter : IsPullback b (v ≫ W.ι) (c ≫ U.ι) f := |
| 29 | (congrArg (fun z => IsPullback b z (c ≫ U.ι) f) hv).mpr H.flip |
| 30 | have Hv : IsPullback b v c (f ∣_ U) := Houter.of_bot hq.symm B.flip |
| 31 | have : IsAffine U.toScheme := hU |
| 32 | have : IsAffineHom v := MorphismProperty.of_isPullback Hv (inferInstance : IsAffineHom c) |
| 33 | exact ((hL U hU).pullback_of_isAffineHom v).of_iso |
| 34 | ((Scheme.Modules.pullbackComp v W.ι).app L.sheaf ≪≫ |
| 35 | (Scheme.Modules.pullbackCongr hv).app L.sheaf) |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |