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.StalkRetraction |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.FormalSmoothRetract |
| 3 | |
| 4 | /-! # Stalk Retraction Scalars -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.StalkRetractionScalars.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual scheme retractions respect scalar constants in local rings. |
| 11 | Formal smoothness of the global-base stalk map therefore descends. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | open OAI.AlgebraicGeometry.CycleClass.Thom.StalkRetraction.Constructions OAI.AlgebraicGeometry.CycleClass.Thom.FormalSmoothRetract.Constructions |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | variable {X Y S : Scheme.{0}} |
| 21 | |
| 22 | def stalkBaseMap (f : X ⟶ S) (x : X) : Γ(S, ⊤) ⟶ X.presheaf.stalk x := |
| 23 | f.appTop ≫ X.presheaf.germ ⊤ x (by trivial) |
| 24 | |
| 25 | @[reassoc] |
| 26 | theorem stalkBaseMap_natural (i : Y ⟶ X) (f : X ⟶ S) (y : Y) : |
| 27 | stalkBaseMap f (i y) ≫ i.stalkMap y = stalkBaseMap (i ≫ f) y := by |
| 28 | unfold stalkBaseMap |
| 29 | rw [Category.assoc, i.germ_stalkMap ⊤ y (by trivial), Scheme.Hom.comp_appTop, Category.assoc] |
| 30 | rfl |
| 31 | |
| 32 | variable (i : X ⟶ Y) (r : Y ⟶ X) (h : i ≫ r = 𝟙 X) |
| 33 | (f : X ⟶ S) (g : Y ⟶ S) (hr : r ≫ f = g) (x : X) |
| 34 | |
| 35 | include hr in |
| 36 | @[reassoc] |
| 37 | theorem retractionStalkSection_base : |
| 38 | stalkBaseMap f x ≫ StalkRetraction.Constructions.retractionStalkSection i r h x = stalkBaseMap g (i x) := by |
| 39 | have ht : stalkBaseMap f x ≫ (StalkRetraction.Constructions.retractionStalkPointIso i r h x).inv = stalkBaseMap f (r (i x)) := by |
| 40 | simp only [stalkBaseMap, StalkRetraction.Constructions.retractionStalkPointIso, TopCat.Presheaf.stalkCongr_inv, Category.assoc, |
| 41 | TopCat.Presheaf.germ_stalkSpecializes] |
| 42 | unfold StalkRetraction.Constructions.retractionStalkSection |
| 43 | rw [← Category.assoc, ht, stalkBaseMap_natural, hr] |
| 44 | |
| 45 | include hr h in |
| 46 | theorem stalkBaseMap_formallySmooth_of_retract (hi : i ≫ g = f) |
| 47 | (hg : (stalkBaseMap g (i x)).hom.FormallySmooth) : (stalkBaseMap f x).hom.FormallySmooth := by |
| 48 | have hI := retractionStalkSection_base i r h f g hr x |
| 49 | have hR : stalkBaseMap g (i x) ≫ i.stalkMap x = stalkBaseMap f x := by |
| 50 | rw [stalkBaseMap_natural, hi] |
| 51 | have hIR := StalkRetraction.Constructions.retractionStalkSection_retract i r h x |
| 52 | exact FormalSmoothRetract.Constructions.ringHom_formallySmooth_of_retract (stalkBaseMap f x).hom (stalkBaseMap g (i x)).hom |
| 53 | (StalkRetraction.Constructions.retractionStalkSection i r h x).hom (i.stalkMap x).hom |
| 54 | (congrArg CommRingCat.Hom.hom hI) (congrArg CommRingCat.Hom.hom hR) |
| 55 | (congrArg CommRingCat.Hom.hom hIR) hg |
| 56 | |
| 57 | end |
| 58 | |
| 59 | end OAI.AlgebraicGeometry.CycleClass.Thom.StalkRetractionScalars.Constructions |