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.AlgebraicGeometry.Morphisms.Proper |
| 3 | |
| 4 | /-! # Flat Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.FlatSections.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Completion: actual global sections under flat affine base change of a proper family -/ |
| 11 | |
| 12 | open _root_.CategoryTheory Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | /-- Flat affine base change computes actual proper global functions by a ring pushout. -/ |
| 21 | theorem proper_flat_affine_sections_isPushout {X Y Z : Scheme.{u}} |
| 22 | [IsAffine Y] [IsAffine Z] (f : X ⟶ Y) [IsProper f] (g : Z ⟶ Y) [Flat g] : |
| 23 | IsPushout f.appTop g.appTop (pullback.fst f g).appTop (pullback.snd f g).appTop := by |
| 24 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 25 | have : QuasiSeparatedSpace X := quasiSeparatedSpace_of_quasiSeparated f |
| 26 | have h := isIso_pushoutSection_of_isQuasiSeparated_of_flat_right |
| 27 | (IsPullback.of_hasPullback f g) (US := ⊤) (UT := ⊤) (UX := ⊤) (UY := ⊤) |
| 28 | (by simp) (by simp) (by simp) (isAffineOpen_top _) (isAffineOpen_top _) |
| 29 | isCompact_univ isQuasiSeparated_univ |
| 30 | have hs := (isIso_pushoutSection_iff |
| 31 | (IsPullback.of_hasPullback f g) (US := ⊤) (UT := ⊤) (UX := ⊤) (UY := ⊤) |
| 32 | (by simp) (by simp) (by simp)).mp h |
| 33 | simpa only [Scheme.Hom.appTop, Scheme.Hom.app_eq_appLE, TopologicalSpace.Opens.map_top] using hs |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.FlatSections.Construction |