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.CycleClass.Thom.FromStalkOrder |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.NormalizedLocalField |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PrincipalSchemeOrder |
| 4 | |
| 5 | /-! # From Stalk Section Order -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.FromStalkSectionOrder.Constructions |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual section germ in a stalk gives the same rational function |
| 12 | and the same scheme orders as the original regular section. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.FromStalkOrder.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.GenericFieldComposition.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.Affine.PrincipalSchemeOrder.Constructions |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency false |
| 19 | set_option backward.isDefEq.respectTransparency.types false |
| 20 | |
| 21 | variable (X : Scheme) [IsIntegral X] (x : X) (B : X.Opens) [Nonempty B] (hxB : x ∈ B) (s : Γ(X, B)) |
| 22 | |
| 23 | local instance : Nonempty (⊤ : (Spec (X.presheaf.stalk x)).Opens) := |
| 24 | ⟨⟨genericPoint (Spec (X.presheaf.stalk x)), Opens.mem_top _⟩⟩ |
| 25 | |
| 26 | theorem stalkFieldMap_section : |
| 27 | FromStalkOrder.Constructions.stalkFieldMap X x (X.germToFunctionField B s) = |
| 28 | Affine.PrincipalSchemeOrder.Constructions.affineFunction (X.presheaf.stalk x) (X.presheaf.germ B x hxB s) := by |
| 29 | have h := GenericFieldComposition.Constructions.genericFieldMap_germ_appLE (X.fromSpecStalk x) (SupportStalkModule.Constructions.genericPoint_image X x) |
| 30 | B ⊤ (le_of_eq (NormalizedLocalField.Constructions.Normalization.fromSpecStalk_preimage X B ⟨x, hxB⟩).symm) |
| 31 | rw [NormalizedLocalField.Constructions.Normalization.fromSpecStalk_appLE X B ⟨x, hxB⟩] at h |
| 32 | exact ConcreteCategory.congr_hom h s |
| 33 | |
| 34 | variable [IsLocallyNoetherian X] |
| 35 | |
| 36 | theorem ord_stalkSection (y : Spec (X.presheaf.stalk x)) : |
| 37 | (Spec (X.presheaf.stalk x)).ord (Affine.PrincipalSchemeOrder.Constructions.affineFunction (X.presheaf.stalk x) (X.presheaf.germ B x hxB s)) y = |
| 38 | X.ord (X.germToFunctionField B s) (X.fromSpecStalk x y) := |
| 39 | (congrArg (fun g => (Spec (X.presheaf.stalk x)).ord g y) (stalkFieldMap_section X x B hxB s)).symm.trans |
| 40 | (FromStalkOrder.Constructions.ord_fromSpecStalk X x (X.germToFunctionField B s) y) |
| 41 | |
| 42 | end |
| 43 | |
| 44 | end OAI.AlgebraicGeometry.CycleClass.Thom.FromStalkSectionOrder.Constructions |