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.Affine.ParameterComparison |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.GeometricOrder |
| 3 | |
| 4 | /-! # Parameter Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual affine parameter germ restricts along reduced |
| 11 | supports by the native support stalk map. -/ |
| 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 | open scoped _root_.Polynomial |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal |
| 20 | |
| 21 | theorem comp {Y Z : Scheme} (i : Y ⟶ Z) (t : Z ⟶ Spec (.of ℂ[X])) (y : Y) (a : ℂ) : |
| 22 | ParameterFiber.germ ℂ (i ≫ t) y a = |
| 23 | i.stalkMap y (ParameterFiber.germ ℂ t (i y) a) := by |
| 24 | unfold ParameterFiber.germ |
| 25 | rw [Scheme.Hom.stalkMap_comp] |
| 26 | rfl |
| 27 | |
| 28 | theorem point {Z : Scheme} (t : Z ⟶ Spec (.of ℂ[X])) |
| 29 | (x y : Z) (hxy : x = y) (a : ℂ) : |
| 30 | eqToHom (congrArg (fun z => Z.presheaf.stalk z) hxy) |
| 31 | (ParameterFiber.germ ℂ t x a) = ParameterFiber.germ ℂ t y a := by |
| 32 | subst y |
| 33 | rfl |
| 34 | |
| 35 | theorem support (Z : Scheme) (W : IrreducibleCloseds Z) (t : Z ⟶ Spec (.of ℂ[X])) |
| 36 | (x : Z) (hx : x ∈ (W : Set Z)) (a : ℂ) : |
| 37 | Local.Principal.supportStalkMap Z W x hx (ParameterFiber.germ ℂ t x a) = |
| 38 | ParameterFiber.germ ℂ (CycleClass.Geometric.GenericPoint.reducedSupportι W ≫ t) (CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx) a := by |
| 39 | rw [comp, Local.Principal.supportStalkMap] |
| 40 | change (CycleClass.Geometric.GenericPoint.reducedSupportι W).stalkMap (CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx) |
| 41 | (eqToHom (congrArg (fun z => Z.presheaf.stalk z) (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).symm) |
| 42 | (ParameterFiber.germ ℂ t x a)) = _ |
| 43 | rw [point t x ((CycleClass.Geometric.GenericPoint.reducedSupportι W) (CycleClass.Thom.IntersectionGeometry.supportPreimage W x hx)) |
| 44 | (CycleClass.Thom.IntersectionGeometry.supportPreimage_spec W x hx).symm a] |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterRestriction |