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.SmoothStalkDomains |
| 2 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.SchemeDomainComponents |
| 3 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.DisjointNoetherianComponents |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Proper.FiberComponents |
| 5 | |
| 6 | /-! # Smooth Integral Components -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothIntegralComponents.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | # Completion: integral connected components of smooth Noetherian schemes |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | /-- Domain stalks make each connected component of a Noetherian scheme integral. -/ |
| 24 | theorem noetherian_domain_stalk_component_isIntegral (X : Scheme.{u}) [IsNoetherian X] |
| 25 | [∀ x : X, IsDomain (X.presheaf.stalk x)] (x : X) : |
| 26 | IsIntegral (Proper.FiberComponents.Construction.noetherianComponentOpen X x).toScheme := by |
| 27 | have : IsReduced X := isReduced_of_isReduced_stalk X |
| 28 | have : IrreducibleSpace (Proper.FiberComponents.Construction.noetherianComponentOpen X x).toScheme := |
| 29 | isIrreducible_iff_irreducibleSpace.mp |
| 30 | (DisjointNoetherianComponents.Construction.disjoint_noetherian_connectedComponent_isIrreducible X |
| 31 | (fun y => SchemeDomainComponents.Construction.scheme_components_eq_of_domain_stalk X y) x) |
| 32 | exact isIntegral_of_irreducibleSpace_of_isReduced _ |
| 33 | |
| 34 | /-- The actual connected component of a smooth Noetherian scheme over a field is integral. -/ |
| 35 | theorem smooth_noetherian_component_isIntegral (K : Type u) [Field K] |
| 36 | {X : Scheme.{u}} [IsNoetherian X] (f : X ⟶ Spec (CommRingCat.of K)) [Smooth f] (x : X) : |
| 37 | IsIntegral (Proper.FiberComponents.Construction.noetherianComponentOpen X x).toScheme := by |
| 38 | have (y : X) : IsDomain (X.presheaf.stalk y) := SmoothStalkDomains.Construction.smooth_field_stalk_isDomain K f y |
| 39 | exact noetherian_domain_stalk_component_isIntegral X x |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.SmoothIntegralComponents.Construction |