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.GeneratingRatios |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.PowerEmbedding.AffineCharts |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.AffineRangeConstants |
| 4 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Generated.PullbackSectionBound |
| 5 | |
| 6 | /-! # Nonconstant Map Section Ratios -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NonconstantMapSectionRatios |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Every nonconstant map from a proper integral scheme into a power-projectively embedded scheme has a transcendental ratio among the pulled-back embedding sections. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {K : Type u} [Field K] [IsAlgClosed K] {X Y : Scheme.{u}} [IsIntegral X] |
| 19 | variable (p : X ⟶ Spec (.of K)) [UniversallyClosed p] (q : Y ⟶ Spec (.of K)) |
| 20 | variable {L : Line.Bundles.LineBundle Y} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L q) |
| 21 | |
| 22 | theorem nonconstantMap_exists_transcendentalSectionRatio (f : X ⟶ Y) |
| 23 | (hf : ¬ ∃ a : Spec (.of K) ⟶ Y, p ≫ a = f) : |
| 24 | ∃ k j : Fin (E.dimension + 1), |
| 25 | Nonempty (Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f (E.sections k))) ∧ |
| 26 | Transcendental K (show Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) |
| 27 | (Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f (E.sections k))) from |
| 28 | Section.ComponentRatios.sectionComponentRatio (Ample.LineBundles.pullbackSection f (E.sections k)) (Ample.LineBundles.pullbackSection f (E.sections j)) |
| 29 | (Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f (E.sections k))) le_rfl) := by |
| 30 | let s := fun j => Ample.LineBundles.pullbackSection f (E.sections j) |
| 31 | have hs : ∀ x : X, ∃ j, x ∈ Ample.LineBundles.sectionNonvanishing (s j) := by |
| 32 | intro x |
| 33 | obtain ⟨j, hj⟩ := E.covers (f x) |
| 34 | refine ⟨j, ?_⟩ |
| 35 | change x ∈ Ample.LineBundles.sectionNonvanishing (Ample.LineBundles.pullbackSection f (E.sections j)) |
| 36 | rw [LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange f E.power] |
| 37 | exact hj |
| 38 | obtain ⟨k, hk⟩ := Generated.PullbackSectionBound.generatingSections_pullback_nonempty f E.power E.sections E.covers |
| 39 | have : Nonempty (Ample.LineBundles.sectionNonvanishing (s k)) := hk |
| 40 | have hnot : ¬ IsIso (s k) := by |
| 41 | intro h |
| 42 | have ht : f ⁻¹ᵁ Ample.LineBundles.sectionNonvanishing (E.sections k) = ⊤ := |
| 43 | (LineBundle.NonvanishingBaseChange.sectionNonvanishing_lineBundle_baseChange f E.power (E.sections k)).symm.trans |
| 44 | ((Section.Frames.isIso_iff_sectionNonvanishing_eq_top (s k)).mp h) |
| 45 | exact hf (Proper.AffineRangeConstants.properIntegral_map_constant_of_affine_range p f (Ample.LineBundles.sectionNonvanishing (E.sections k)) |
| 46 | (E.sectionChart_isAffine q k) ht) |
| 47 | obtain ⟨j, hj⟩ := @GeneratingRatios.generatingSections_exists_transcendentalRatio K _ _ X _ p |
| 48 | (E.power.pullback f) _ s hs k hk hnot |
| 49 | exact ⟨k, j, hk, hj⟩ |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.NonconstantMapSectionRatios |