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.AbelianScheme.IsogenyQuotient.InvariantAffine |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 3 | |
| 4 | /-! # Section Affine -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SectionAffine.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affineness of a descended section's nonvanishing locus is detected |
| 11 | on the actual finite-flat quotient with its finite-free kernel relation. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange |
| 16 | |
| 17 | universe u v |
| 18 | |
| 19 | theorem quotient_sectionNonvanishing_isAffineOpen |
| 20 | {H S R X Y : Scheme.{u}} [IsAffine H] [IsAffine S] |
| 21 | (q : X ⟶ Y) [Flat q] [Surjective q] [QuasiCompact q] |
| 22 | (s t : R ⟶ X) (hk : IsKernelPair q s t) |
| 23 | (h : H ⟶ S) [IsFinite h] (a : X ⟶ S) (r : R ⟶ H) |
| 24 | (hs : IsPullback r s h a) {ι : Type v} [Fintype ι] |
| 25 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) |
| 26 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ L.sheaf) |
| 27 | (hz : IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection q z))) : |
| 28 | IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) := by |
| 29 | let W := q ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z |
| 30 | have hW : IsAffineOpen W := |
| 31 | (congrArg IsAffineOpen (AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange q L z)).mp hz |
| 32 | have hinv : s ⁻¹ᵁ W = t ⁻¹ᵁ W := by |
| 33 | dsimp only [W] |
| 34 | rw [← Scheme.Hom.comp_preimage, ← Scheme.Hom.comp_preimage, hk.w] |
| 35 | have hdesc := InvariantAffine.Construction.invariantAffineOpen_descends q s t hk h a r hs b W hW hinv |
| 36 | exact (Quotients.FiniteDescent.InvariantOpensEq.Construction.InvariantOpens.descend_unique q hk W hinv |
| 37 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) rfl).symm ▸ hdesc |
| 38 | |
| 39 | end |
| 40 | |
| 41 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SectionAffine.Construction |