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.GlobalParameterSum |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterDominance |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterRestriction |
| 4 | |
| 5 | /-! # Global Weight Support -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalWeightSupport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Parameter weights are supported on their scalar fiber and |
| 12 | vanish on every component whose projective parameter is not dominant. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 18 | open scoped _root_.Polynomial |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalParameterSum.Weights |
| 21 | |
| 22 | theorem zero_of_isUnit (Z : Scheme) (x : Z) (r : Z.presheaf.stalk x) (hr : IsUnit r) |
| 23 | (C : IrreducibleCloseds Z) : GlobalParameterSum.Weights.weight Z x r C = 0 := by |
| 24 | unfold GlobalParameterSum.Weights.weight |
| 25 | split_ifs with hx hn |
| 26 | · rw [Ring.ord_of_isUnit (hr.map (Local.Principal.supportStalkMap Z C x hx).hom)] |
| 27 | rfl |
| 28 | · rfl |
| 29 | · rfl |
| 30 | |
| 31 | theorem outside_fiber (Z : Scheme) (t : Z ⟶ Spec (.of ℂ[X])) (x : Z) (a : ℂ) |
| 32 | (hx : t x ≠ Affine.ParameterFiber.point ℂ a) (C : IrreducibleCloseds Z) : |
| 33 | GlobalParameterSum.Weights.weight Z x (Affine.ParameterFiber.germ ℂ t x a) C = 0 := by |
| 34 | apply zero_of_isUnit |
| 35 | apply IsLocalRing.notMem_maximalIdeal.mp |
| 36 | exact fun h => hx ((Affine.ParameterFiber.germ_mem_maximalIdeal ℂ t x a).mp h) |
| 37 | |
| 38 | theorem nonhorizontal (Z : Scheme) (t : Z ⟶ Spec (.of ℂ[X])) (C : IrreducibleCloseds Z) |
| 39 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 40 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) ≠ genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 41 | (x : Z) (a : ℂ) : GlobalParameterSum.Weights.weight Z x (Affine.ParameterFiber.germ ℂ t x a) C = 0 := by |
| 42 | by_cases htx : t x = Affine.ParameterFiber.point ℂ a |
| 43 | · by_cases hx : x ∈ (C : Set Z) |
| 44 | · rw [GlobalParameterSum.Weights.weight, dite_eq_left hx] |
| 45 | by_cases hr : Local.Principal.supportStalkMap Z C x hx (Affine.ParameterFiber.germ ℂ t x a) ≠ 0 |
| 46 | · have hy : (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) = Affine.ParameterFiber.point ℂ a := by |
| 47 | change t (CycleClass.Geometric.GenericPoint.reducedSupportι C (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx)) = _ |
| 48 | rw [CycleClass.Thom.IntersectionGeometry.supportPreimage_spec] |
| 49 | exact htx |
| 50 | have hg : Affine.ParameterFiber.germ ℂ (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) a ≠ 0 := |
| 51 | (Affine.ParameterRestriction.support Z C t x hx a) ▸ hr |
| 52 | exact (hη (Affine.ParameterDominance.projective_generic |
| 53 | (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) a hy hg)).elim |
| 54 | · exact ite_eq_right hr |
| 55 | · rw [GlobalParameterSum.Weights.weight, dite_eq_right hx] |
| 56 | · exact outside_fiber Z t x a htx C |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalWeightSupport |