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.FormalGeometry.Completion.FlatCompositionDescent |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 3 | |
| 4 | /-! # Scheme Flat Composition Descent -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.SchemeFlatCompositionDescent.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! # Completion: flatness descends through an actual surjective flat scheme map -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | /-- Stalkwise faithful flatness descends flatness from the actual composite. -/ |
| 20 | theorem scheme_flat_of_surjective_flat_composition {X N Y : Scheme.{u}} |
| 21 | (h : X ⟶ N) [Surjective h] [Flat h] (g : N ⟶ Y) [Flat (h ≫ g)] : Flat g := by |
| 22 | apply Flat.of_stalkMap |
| 23 | intro n |
| 24 | obtain ⟨x, rfl⟩ := h.surjective n |
| 25 | let a : Y.presheaf.stalk (g (h x)) →+* N.presheaf.stalk (h x) := (g.stalkMap (h x)).hom |
| 26 | let b : N.presheaf.stalk (h x) →+* X.presheaf.stalk x := (h.stalkMap x).hom |
| 27 | have hb : b.Flat := Flat.stalkMap h x |
| 28 | have hab : (b.comp a).Flat := by |
| 29 | simpa only [Scheme.Hom.stalkMap_comp, CommRingCat.hom_comp] using Flat.stalkMap (h ≫ g) x |
| 30 | algebraize [a, b, b.comp a] |
| 31 | have : Module.Flat (N.presheaf.stalk (h x)) (X.presheaf.stalk x) := hb |
| 32 | have : Module.Flat (Y.presheaf.stalk (g (h x))) (X.presheaf.stalk x) := hab |
| 33 | have : IsLocalHom (algebraMap (N.presheaf.stalk (h x)) (X.presheaf.stalk x)) := |
| 34 | inferInstanceAs (IsLocalHom b) |
| 35 | have : Module.FaithfullyFlat (N.presheaf.stalk (h x)) (X.presheaf.stalk x) := |
| 36 | Module.FaithfullyFlat.of_flat_of_isLocalHom |
| 37 | exact FlatCompositionDescent.Construction.flat_of_faithfullyFlat_composition (Y.presheaf.stalk (g (h x))) |
| 38 | (N.presheaf.stalk (h x)) (X.presheaf.stalk x) |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.SchemeFlatCompositionDescent.Construction |