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.OpenPullback.UnitInjectivity |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.UnitCompositeInjectivity |
| 3 | |
| 4 | /-! # Open Pullback Section Injectivity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.OpenPullbackSectionInjectivity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A morphism that is an isomorphism over a nonempty open of an integral target pulls back line-bundle global sections injectively. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem lineBundle_pullbackUnit_top_injective_of_common_open |
| 17 | {X Y : Scheme.{u}} [IsIntegral Y] (q : X ⟶ Y) (L : Line.Bundles.LineBundle Y) |
| 18 | (U : Y.Opens) [Nonempty U] [IsIso (q ∣_ U)] : |
| 19 | Function.Injective (((Scheme.Modules.pullbackPushforwardAdjunction q).unit.app L.sheaf).app ⊤) := by |
| 20 | let j : U.toScheme ⟶ X := inv (q ∣_ U) ≫ (q ⁻¹ᵁ U).ι |
| 21 | have hj : j ≫ q = U.ι := by |
| 22 | change (inv (q ∣_ U) ≫ (q ⁻¹ᵁ U).ι) ≫ q = U.ι |
| 23 | rw [Category.assoc, ← morphismRestrict_ι, IsIso.inv_hom_id_assoc] |
| 24 | apply Pullback.UnitCompositeInjectivity.pullbackUnit_top_injective_of_composite j q L.sheaf |
| 25 | exact (congrArg (fun f : U.toScheme ⟶ Y => |
| 26 | Function.Injective (((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app L.sheaf).app ⊤)) hj).mpr |
| 27 | (L.openPullbackUnit_top_injective U) |
| 28 | |
| 29 | end |
| 30 | |
| 31 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.OpenPullbackSectionInjectivity |