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.EveryStalkOrder |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalParameterSum |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterComparison |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ParameterRestriction |
| 5 | |
| 6 | /-! # Global Weight Divisor Order -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalWeightDivisorOrder |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Global support weights are exactly the native geometric |
| 13 | divisor orders of the actual rational parameter on each horizontal |
| 14 | family component. The equality includes every scheme point. -/ |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 20 | open scoped _root_.Polynomial |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Local.Principal OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalParameterSum.Weights |
| 23 | |
| 24 | theorem nonneg (Z : Scheme) (x : Z) (r : Z.presheaf.stalk x) (C : IrreducibleCloseds Z) : |
| 25 | 0 ≤ GlobalParameterSum.Weights.weight Z x r C := by |
| 26 | unfold GlobalParameterSum.Weights.weight |
| 27 | split_ifs <;> positivity |
| 28 | |
| 29 | theorem order (Z : Scheme) [IsLocallyNoetherian Z] (x : Z) (r : Z.presheaf.stalk x) |
| 30 | (C : IrreducibleCloseds Z) (hx : x ∈ (C : Set Z)) : |
| 31 | GlobalParameterSum.Weights.weight Z x r C = |
| 32 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme C).ord |
| 33 | (algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme C).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx)) |
| 34 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField (Local.Principal.supportStalkMap Z C x hx r)) |
| 35 | (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) : ℚ) := by |
| 36 | rw [GlobalParameterSum.Weights.weight, dite_eq_left hx] |
| 37 | by_cases hr : Local.Principal.supportStalkMap Z C x hx r ≠ 0 |
| 38 | · rw [ite_eq_left hr] |
| 39 | exact (congrArg (fun q : ℤ => (q : ℚ)) |
| 40 | (EveryStalkOrder.order (CycleClass.Geometric.GenericPoint.reducedSupportScheme C) (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) |
| 41 | (Local.Principal.supportStalkMap Z C x hx r) hr)).symm |
| 42 | · rw [ite_eq_right hr, not_ne_iff.mp hr, map_zero, Scheme.ord_zero] |
| 43 | rfl |
| 44 | |
| 45 | theorem parameter (Z : Scheme) [IsLocallyNoetherian Z] (C : IrreducibleCloseds Z) |
| 46 | (t : Z ⟶ Spec (.of ℂ[X])) |
| 47 | (hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 48 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1)) |
| 49 | (x : Z) (hx : x ∈ (C : Set Z)) (a : ℂ) : |
| 50 | let s := (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine |
| 51 | letI := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (s ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 52 | GlobalParameterSum.Weights.weight Z x (Affine.ParameterFiber.germ ℂ t x a) C = |
| 53 | ((CycleClass.Geometric.GenericPoint.reducedSupportScheme C).ord |
| 54 | (Projective.LineParameter.pullback s hη - algebraMap ℂ (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField a) |
| 55 | (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) : ℚ) := by |
| 56 | let s := (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine |
| 57 | let := Foundations.Scheme.FunctionFieldScalar.functionFieldScalarAlgebra (s ≫ Foundations.Scheme.ProjectiveSpace.projectiveSpaceToBase 1) |
| 58 | have he := congrArg |
| 59 | (algebraMap ((CycleClass.Geometric.GenericPoint.reducedSupportScheme C).presheaf.stalk (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx)) |
| 60 | (CycleClass.Geometric.GenericPoint.reducedSupportScheme C).functionField) |
| 61 | (Affine.ParameterRestriction.support Z C t x hx a) |
| 62 | have hf := Affine.ParameterComparison.field (CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) hη (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) a |
| 63 | exact (order Z x (Affine.ParameterFiber.germ ℂ t x a) C hx).trans |
| 64 | (congrArg (fun g => ((CycleClass.Geometric.GenericPoint.reducedSupportScheme C).ord g (CycleClass.Thom.IntersectionGeometry.supportPreimage C x hx) : ℚ)) (he.trans hf)) |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalWeightDivisorOrder |