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.LocalNormRefinement |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.NormRankBasis |
| 3 | |
| 4 | /-! # Global Norm Section -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.GlobalNormSection.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The norm of a section of the pulled-back line is an actual global |
| 11 | section of the line power given by the finite-flat degree. Its |
| 12 | nonvanishing locus records nonvanishing on the entire fiber. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {X Y : Scheme.{u}} (q : X ⟶ Y) |
| 18 | [IsFinite q] [Flat q] [LocallyOfFinitePresentation q] |
| 19 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (d : ℕ) (hdegree : ∀ y : Y, q.finrank y = d) |
| 20 | (z : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X ⟶ (L.pullback q).sheaf) |
| 21 | |
| 22 | include hdegree in |
| 23 | theorem existsUnique_globalNormSection : |
| 24 | ∃! a : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ (L.tensorPower d).sheaf, |
| 25 | ∀ U : LocalNormSections.Construction.NormFrameOpen q L d, AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.openSet.ι a = LocalNormSections.Construction.localNormSection U z := by |
| 26 | exact OpenSectionGluing.Construction.existsUnique_section_of_basis_refinements |
| 27 | (fun U : LocalNormSections.Construction.NormFrameOpen q L d => U.openSet) |
| 28 | (NormFrameBasis.Construction.normFrameOpens_isBasis (NormRankBasis.Construction.normFrameOpens_cover_of_finrank q L d hdegree)) |
| 29 | (fun U => LocalNormSections.Construction.localNormSection U z) (fun V U h => LocalNormRefinement.Construction.localNormSection_refine q L d V U h z) |
| 30 | |
| 31 | def finiteFlatNormSection : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ (L.tensorPower d).sheaf := |
| 32 | (existsUnique_globalNormSection q L d hdegree z).choose |
| 33 | |
| 34 | theorem finiteFlatNormSection_restrict (U : LocalNormSections.Construction.NormFrameOpen q L d) : |
| 35 | AbelianModuli.HilbertConstruction.Ample.LineBundles.pullbackSection U.openSet.ι (finiteFlatNormSection q L d hdegree z) = LocalNormSections.Construction.localNormSection U z := |
| 36 | (existsUnique_globalNormSection q L d hdegree z).choose_spec.1 U |
| 37 | |
| 38 | theorem finiteFlatNormSection_mem_nonvanishing (y : Y) : |
| 39 | y ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (finiteFlatNormSection q L d hdegree z) ↔ |
| 40 | ∀ x : X, q x = y → x ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z := by |
| 41 | obtain ⟨U, hy⟩ := NormRankBasis.Construction.normFrameOpens_cover_of_finrank q L d hdegree y |
| 42 | have hD : U.openSet.ι ⁻¹ᵁ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (finiteFlatNormSection q L d hdegree z) = |
| 43 | AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (LocalNormSections.Construction.localNormSection U z) := |
| 44 | (AbelianModuli.HilbertConstruction.Section.Nonvanishing.sectionNonvanishing_pullback U.openSet.ι (finiteFlatNormSection q L d hdegree z)).symm.trans |
| 45 | (congrArg AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (finiteFlatNormSection_restrict q L d hdegree z U)) |
| 46 | exact (congrArg (fun V : U.openSet.toScheme.Opens => (⟨y, hy⟩ : U.openSet.toScheme) ∈ V) hD).to_iff.trans |
| 47 | (LocalNormSections.Construction.localNormSection_mem_nonvanishing U z ⟨y, hy⟩) |
| 48 | |
| 49 | theorem finiteFlatNormSection_nonvanishing : |
| 50 | (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (finiteFlatNormSection q L d hdegree z) : Set Y) = |
| 51 | (q '' (AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing z : Set X)ᶜ)ᶜ := by |
| 52 | ext y |
| 53 | change y ∈ AbelianModuli.HilbertConstruction.Ample.LineBundles.sectionNonvanishing (finiteFlatNormSection q L d hdegree z) ↔ _ |
| 54 | rw [finiteFlatNormSection_mem_nonvanishing] |
| 55 | simp only [Set.mem_compl_iff, Set.mem_image, not_exists, not_and] |
| 56 | exact ⟨fun h x hx hxy => hx (h x hxy), fun h x hxy => by |
| 57 | by_contra hx |
| 58 | exact h x hx hxy⟩ |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.GlobalNormSection.Construction |