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.SupportStalkModule |
| 2 | |
| 3 | /-! # Support Section Germ -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.SupportSectionGerm.Constructions |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Restricting a regular section to the actual reduced support commutes |
| 10 | with the actual support stalk map and its map to the function field. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 13 | |
| 14 | open OAI.AlgebraicGeometry.CycleClass.Thom.SupportStalkModule.Constructions |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable (X : Scheme) |
| 20 | |
| 21 | theorem germ_eqToHom (U : X.Opens) (x y : X) (h : x = y) (hx : x ∈ U) (hy : y ∈ U) : |
| 22 | X.presheaf.germ U x hx ≫ eqToHom (congrArg (fun z => X.presheaf.stalk z) h) = |
| 23 | X.presheaf.germ U y hy := by |
| 24 | subst y |
| 25 | simp only [eqToHom_refl, Category.comp_id] |
| 26 | |
| 27 | variable (W : IrreducibleCloseds X) (x : X) (hx : x ∈ (W : Set X)) |
| 28 | (U : X.Opens) (hU : x ∈ U) |
| 29 | |
| 30 | include hU in |
| 31 | theorem supportPreimage_mem_open : IntersectionGeometry.supportPreimage W x hx ∈ (Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U := |
| 32 | (congrArg (fun y : X => y ∈ U) (IntersectionGeometry.supportPreimage_spec W x hx)).mpr hU |
| 33 | |
| 34 | theorem supportStalkMap_germ : |
| 35 | X.presheaf.germ U x hU ≫ SupportStalkModule.Constructions.supportStalkMap X W x hx = |
| 36 | (Geometric.GenericPoint.reducedSupportι W).app U ≫ |
| 37 | (Geometric.GenericPoint.reducedSupportScheme W).presheaf.germ ((Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U) (IntersectionGeometry.supportPreimage W x hx) |
| 38 | (supportPreimage_mem_open X W x hx U hU) := by |
| 39 | rw [SupportStalkModule.Constructions.supportStalkMap, ← Category.assoc] |
| 40 | exact (congrArg (fun k => k ≫ (Geometric.GenericPoint.reducedSupportι W).stalkMap (IntersectionGeometry.supportPreimage W x hx)) |
| 41 | (germ_eqToHom X U x ((Geometric.GenericPoint.reducedSupportι W) (IntersectionGeometry.supportPreimage W x hx)) |
| 42 | (IntersectionGeometry.supportPreimage_spec W x hx).symm hU (supportPreimage_mem_open X W x hx U hU))).trans |
| 43 | ((Geometric.GenericPoint.reducedSupportι W).germ_stalkMap U (IntersectionGeometry.supportPreimage W x hx) _) |
| 44 | |
| 45 | variable [Nonempty ((Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U)] |
| 46 | |
| 47 | theorem restrictedFunction_eq_supportStalk_germ (s : Γ(X, U)) : |
| 48 | (Geometric.GenericPoint.reducedSupportScheme W).germToFunctionField ((Geometric.GenericPoint.reducedSupportι W) ⁻¹ᵁ U) |
| 49 | ((Geometric.GenericPoint.reducedSupportι W).app U s) = |
| 50 | algebraMap ((Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (IntersectionGeometry.supportPreimage W x hx)) |
| 51 | (Geometric.GenericPoint.reducedSupportScheme W).functionField (SupportStalkModule.Constructions.supportStalkMap X W x hx (X.presheaf.germ U x hU s)) := by |
| 52 | have h := ConcreteCategory.congr_hom (supportStalkMap_germ X W x hx U hU) s |
| 53 | rw [← (Geometric.GenericPoint.reducedSupportScheme W).algebraMap_germ_eq_germToFunctionField |
| 54 | (supportPreimage_mem_open X W x hx U hU) ((Geometric.GenericPoint.reducedSupportι W).app U s)] |
| 55 | exact congrArg (algebraMap ((Geometric.GenericPoint.reducedSupportScheme W).presheaf.stalk (IntersectionGeometry.supportPreimage W x hx)) |
| 56 | (Geometric.GenericPoint.reducedSupportScheme W).functionField) h.symm |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.CycleClass.Thom.SupportSectionGerm.Constructions |