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.GlobalNormSection |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SectionInvariantAffine |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.SectionAffine |
| 4 | |
| 5 | /-! # Norm Section Affine -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormSectionAffine.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Norm sections with affine source nonvanishing locus have affine |
| 12 | target nonvanishing locus in the actual finite-flat quotient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u v |
| 17 | |
| 18 | theorem finiteFlatNormSection_preimage_core {R X Y : Scheme.{u}} |
| 19 | (q : X ⟶ Y) [IsFinite q] [Flat q] [LocallyOfFinitePresentation q] |
| 20 | (s t : R ⟶ X) (hk : IsKernelPair q s t) [IsFinite s] |
| 21 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (d : ℕ) (hdegree : ∀ y : Y, q.finrank y = d) |
| 22 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) : |
| 23 | q ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (GlobalNormSection.Construction.finiteFlatNormSection q L d hdegree z) = |
| 24 | Quotients.FiniteDescent.Invariant.Construction.InvariantCore.core s t (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) := by |
| 25 | ext x |
| 26 | change q x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (GlobalNormSection.Construction.finiteFlatNormSection q L d hdegree z) ↔ |
| 27 | x ∈ Quotients.FiniteDescent.Invariant.Construction.InvariantCore.core s t (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) |
| 28 | rw [GlobalNormSection.Construction.finiteFlatNormSection_mem_nonvanishing, Quotients.FiniteDescent.Invariant.Construction.InvariantCore.mem_core] |
| 29 | simp_rw [SectionInvariantAffine.Construction.kernelPair_related_iff q s t hk x] |
| 30 | exact ⟨fun h y hy => h y hy.symm, fun h y hy => h y hy.symm⟩ |
| 31 | |
| 32 | theorem finiteFlatNormSection_isAffineOpen |
| 33 | {H S R X Y : Scheme.{u}} [IsAffine H] [IsAffine S] |
| 34 | (q : X ⟶ Y) [IsFinite q] [Flat q] [Surjective q] [LocallyOfFinitePresentation q] |
| 35 | (s t : R ⟶ X) (hk : IsKernelPair q s t) |
| 36 | (h : H ⟶ S) [IsFinite h] (a : X ⟶ S) (r : R ⟶ H) |
| 37 | (hs : IsPullback r s h a) {ι : Type v} [Fintype ι] |
| 38 | (b : letI := h.appTop.hom.toAlgebra; Module.Basis ι Γ(S, ⊤) Γ(H, ⊤)) |
| 39 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (d : ℕ) (hdegree : ∀ y : Y, q.finrank y = d) |
| 40 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) |
| 41 | (hz : IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z)) : |
| 42 | IsAffineOpen (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (GlobalNormSection.Construction.finiteFlatNormSection q L d hdegree z)) := by |
| 43 | have : IsFinite s := MorphismProperty.of_isPullback hs inferInstance |
| 44 | have : IsAffine (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z).toScheme := hz |
| 45 | obtain ⟨bD⟩ := Quotients.FiniteDescent.InvariantAffineHas.Construction.InvariantAffineBasis.exists_basis_restrict h a r s hs b (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z) |
| 46 | have hcore := SectionInvariantAffine.Construction.sectionInvariantCore_isAffineOpen q s t hk L z hz bD |
| 47 | apply SectionAffine.Construction.quotient_sectionNonvanishing_isAffineOpen q s t hk h a r hs b (L.tensorPower d) |
| 48 | (GlobalNormSection.Construction.finiteFlatNormSection q L d hdegree z) |
| 49 | rw [AbelianModuli.HilbertConstruction.LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange q (L.tensorPower d), |
| 50 | finiteFlatNormSection_preimage_core q s t hk L d hdegree z] |
| 51 | exact hcore |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormSectionAffine.Construction |