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.IntersectionTheory.ProjectionFormula.Local.Principal |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Etale.StalkProperties |
| 3 | |
| 4 | /-! # Stalk -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Stalk |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The projection map on a reduced support's native stalk, including |
| 11 | the point identifications in ThomClass's local support module. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | namespace Projection |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 21 | |
| 22 | variable {X Y : Scheme} (f : X ⟶ Y) (B : IrreducibleCloseds X) |
| 23 | (x : X) (hx : x ∈ (B : Set X)) |
| 24 | |
| 25 | def map : Y.presheaf.stalk (f x) ⟶ |
| 26 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme B).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage B x hx) := |
| 27 | f.stalkMap x ≫ Local.Principal.supportStalkMap X B x hx |
| 28 | |
| 29 | theorem comp_congr {Z : Scheme} (i : Z ⟶ X) (z : Z) (h : i z = x) : |
| 30 | f.stalkMap x ≫ eqToHom (congrArg (fun t => X.presheaf.stalk t) h.symm) ≫ i.stalkMap z = |
| 31 | eqToHom (congrArg (fun t => Y.presheaf.stalk t) (congrArg f h).symm) ≫ (i ≫ f).stalkMap z := by |
| 32 | subst x |
| 33 | simp [Scheme.Hom.stalkMap_comp] |
| 34 | |
| 35 | theorem eq_native : map f B x hx = |
| 36 | eqToHom (congrArg (fun t => Y.presheaf.stalk t) |
| 37 | (congrArg f (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec B x hx)).symm) ≫ |
| 38 | (CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ f).stalkMap (CycleClass.Thom.IntersectionGeometry.supportPreimage B x hx) := |
| 39 | comp_congr f x (CycleClass.Geometric.GenericPoint.reducedSupportι B) (CycleClass.Thom.IntersectionGeometry.supportPreimage B x hx) (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec B x hx) |
| 40 | |
| 41 | theorem properties |
| 42 | (H : ((CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ f).stalkMap (CycleClass.Thom.IntersectionGeometry.supportPreimage B x hx)).hom.Flat ∧ |
| 43 | ((CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ f).stalkMap (CycleClass.Thom.IntersectionGeometry.supportPreimage B x hx)).hom.FormallyUnramified ∧ |
| 44 | ((CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ f).stalkMap (CycleClass.Thom.IntersectionGeometry.supportPreimage B x hx)).hom.EssFiniteType) : |
| 45 | (map f B x hx).hom.Flat ∧ (map f B x hx).hom.FormallyUnramified ∧ |
| 46 | (map f B x hx).hom.EssFiniteType := by |
| 47 | rw [eq_native] |
| 48 | exact ⟨(RingHom.Flat.respectsIso.cancel_left_isIso _ _).mpr H.1, |
| 49 | (RingHom.FormallyUnramified.respectsIso.cancel_left_isIso _ _).mpr H.2.1, |
| 50 | (RingHom.EssFiniteType.respectsIso.cancel_left_isIso _ _).mpr H.2.2⟩ |
| 51 | |
| 52 | theorem of_etale_open (U : (CycleClass.Geometric.GenericPoint.reducedSupportScheme B).Opens) |
| 53 | [Etale (U.ι ≫ (CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ f))] (hu : CycleClass.Thom.IntersectionGeometry.supportPreimage B x hx ∈ U) : |
| 54 | (map f B x hx).hom.Flat ∧ (map f B x hx).hom.FormallyUnramified ∧ |
| 55 | (map f B x hx).hom.EssFiniteType := |
| 56 | properties f B x hx (ProjectionFormula.Etale.StalkProperties.of_open (CycleClass.Geometric.GenericPoint.reducedSupportι B ≫ f) U _ hu) |
| 57 | |
| 58 | end Projection |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Support.Stalk |