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.Nonvanishing |
| 2 | import Mathlib.AlgebraicGeometry.AffineScheme |
| 3 | |
| 4 | /-! # Affine Localization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineLocalization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | Regular functions on the nonvanishing open of a section in an affine global |
| 12 | frame have denominators given by powers of that section's coordinate. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X : Scheme.{u}} [IsAffine X] {L : X.Modules} |
| 20 | |
| 21 | /-- In a global line-bundle frame, the ring of the section's nonvanishing open |
| 22 | is the localization at its coordinate. -/ |
| 23 | theorem framed_nonvanishing_localization (e s : Line.Bundles.structureModule X ⟶ L) [IsIso e] : |
| 24 | letI := (Ample.LineBundles.sectionNonvanishing s).ι.appTop.hom.toAlgebra |
| 25 | IsLocalization.Away (Frame.Coordinates.frameCoordinate e s) Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤) := by |
| 26 | rw [Scalar.Nonvanishing.sectionNonvanishing_frameCoordinate e s] |
| 27 | exact Γ_restrict_isLocalization X (Frame.Coordinates.frameCoordinate e s) |
| 28 | |
| 29 | /-- A function on a section's nonvanishing open has a global numerator after |
| 30 | multiplication by a positive power of the denominator coordinate. -/ |
| 31 | theorem framed_nonvanishing_clear_denominator (e s : Line.Bundles.structureModule X ⟶ L) [IsIso e] |
| 32 | (r : Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤)) : |
| 33 | ∃ (n : ℕ) (_ : 0 < n) (b : Γ(X, ⊤)), |
| 34 | (Ample.LineBundles.sectionNonvanishing s).ι.appTop b = |
| 35 | ((Ample.LineBundles.sectionNonvanishing s).ι.appTop (Frame.Coordinates.frameCoordinate e s)) ^ n * r := by |
| 36 | let c := Frame.Coordinates.frameCoordinate e s |
| 37 | let a := (Ample.LineBundles.sectionNonvanishing s).ι.appTop.hom |
| 38 | let := a.toAlgebra |
| 39 | have : IsLocalization.Away c Γ((Ample.LineBundles.sectionNonvanishing s).toScheme, ⊤) := |
| 40 | framed_nonvanishing_localization e s |
| 41 | obtain ⟨⟨b, ⟨_, n, rfl⟩⟩, hb⟩ := IsLocalization.surj (Submonoid.powers c) r |
| 42 | have hb' : a b = a c ^ n * r := by |
| 43 | change r * a (c ^ n) = a b at hb |
| 44 | exact hb.symm.trans (by rw [map_pow, mul_comm]) |
| 45 | refine ⟨n + 1, Nat.zero_lt_succ n, c * b, ?_⟩ |
| 46 | change a (c * b) = a c ^ (n + 1) * r |
| 47 | rw [map_mul, hb', pow_succ'] |
| 48 | exact (mul_assoc _ _ _).symm |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Framed.AffineLocalization |