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.Scalar.RatioSectionProportionality |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraicallyClosedConstants |
| 3 | |
| 4 | /-! # Generating Ratios -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GeneratingRatios |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! If all ratios in a generating family are algebraic over an algebraically closed ground field, any nonzero denominator section is a global frame. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u v |
| 15 | |
| 16 | variable {K : Type u} [Field K] [IsAlgClosed K] {X : Scheme.{u}} [IsIntegral X] |
| 17 | variable (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) {ι : Type v} |
| 18 | variable (s : ι → (Line.Bundles.structureModule X ⟶ L.sheaf)) (hs : ∀ x : X, ∃ j, x ∈ Ample.LineBundles.sectionNonvanishing (s j)) |
| 19 | |
| 20 | include hs |
| 21 | |
| 22 | theorem generatingSections_frame_of_algebraicRatios (k : ι) [Nonempty (Ample.LineBundles.sectionNonvanishing (s k))] |
| 23 | (h : ∀ j, IsAlgebraic K (show Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) (Ample.LineBundles.sectionNonvanishing (s k)) from |
| 24 | Section.ComponentRatios.sectionComponentRatio (s k) (s j) (Ample.LineBundles.sectionNonvanishing (s k)) le_rfl)) : IsIso (s k) := by |
| 25 | let U := Ample.LineBundles.sectionNonvanishing (s k) |
| 26 | have : IsDomain (Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) U) := inferInstanceAs (IsDomain Γ(X, U)) |
| 27 | have ht (j : ι) : ∃ c : K, s j = Coefficient.ScalarSections.coefficientScalarSection p c (s k) := by |
| 28 | obtain ⟨c, hc⟩ := AlgebraicallyClosedConstants.algebraic_is_scalar |
| 29 | (show Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) U from Section.ComponentRatios.sectionComponentRatio (s k) (s j) U le_rfl) (h j) |
| 30 | exact ⟨c, Scalar.RatioSectionProportionality.section_eq_scalar_of_ratio p L (s k) (s j) U le_rfl c hc⟩ |
| 31 | apply (Section.Frames.isIso_iff_sectionNonvanishing_eq_top (s k)).mpr |
| 32 | apply le_antisymm le_top |
| 33 | intro x _ |
| 34 | obtain ⟨j, hj⟩ := hs x |
| 35 | obtain ⟨c, hc⟩ := ht j |
| 36 | exact Coefficient.ScalarSections.coefficientScalarSection_nonvanishing_le p L c (s k) ((congrArg (fun t => x ∈ Ample.LineBundles.sectionNonvanishing t) hc).mp hj) |
| 37 | |
| 38 | theorem generatingSections_exists_transcendentalRatio (k : ι) [Nonempty (Ample.LineBundles.sectionNonvanishing (s k))] |
| 39 | (hk : ¬ IsIso (s k)) : |
| 40 | ∃ j, Transcendental K (show Coefficient.AlgebraPresheaf.coefficientAlgebraSections (Coefficient.ModulePresheaf.schemeCoefficientMap p) (Ample.LineBundles.sectionNonvanishing (s k)) from |
| 41 | Section.ComponentRatios.sectionComponentRatio (s k) (s j) (Ample.LineBundles.sectionNonvanishing (s k)) le_rfl) := by |
| 42 | by_contra h |
| 43 | apply hk |
| 44 | apply generatingSections_frame_of_algebraicRatios p L s hs k |
| 45 | intro j |
| 46 | exact Classical.byContradiction (fun hj => h ⟨j, hj⟩) |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.GeneratingRatios |