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 Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 2 | import Mathlib.RingTheory.Flat.TorsionFree |
| 3 | |
| 4 | /-! # Regular Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.RegularRestriction.BundleCycles |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A regular section on an affine open stays regular on |
| 11 | every smaller affine open, by the genuine flat restriction map. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | |
| 15 | theorem affineRestriction_flat {X : Scheme.{0}} (U V : X.affineOpens) (h : V.1 ≤ U.1) : |
| 16 | (X.presheaf.map (homOfLE h).op).hom.Flat := by |
| 17 | have H := Scheme.Hom.flat_appLE (𝟙 X) U.2 V.2 h |
| 18 | exact H |
| 19 | |
| 20 | theorem affineRestriction_regular {X : Scheme.{0}} (U V : X.affineOpens) (h : V.1 ≤ U.1) |
| 21 | (t : Γ(X, U.1)) (ht : IsRegular t) : IsRegular (X.presheaf.map (homOfLE h).op t) := by |
| 22 | let φ := (X.presheaf.map (homOfLE h).op).hom |
| 23 | let : Algebra Γ(X, U.1) Γ(X, V.1) := φ.toAlgebra |
| 24 | let : Module.Flat Γ(X, U.1) Γ(X, V.1) := affineRestriction_flat U V h |
| 25 | have hl : IsLeftRegular (φ t) := Module.Flat.isSMulRegular_of_isRegular ht |
| 26 | exact ⟨hl, fun a b H => hl ((mul_comm _ _).trans (H.trans (mul_comm _ _)))⟩ |
| 27 | |
| 28 | end |
| 29 | |
| 30 | end OAI.AlgebraicGeometry.Divisors.LineBundles.Affine.RegularRestriction.BundleCycles |