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.HorizontalFamilyFiber |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalWeightSupport |
| 3 | |
| 4 | /-! # Global Horizontal Cycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalHorizontalCycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A fixed finite collection of global family components gives a |
| 11 | genuine finite weighted endpoint cycle. Vertical components vanish, |
| 12 | and its coefficients are the global parameter-weight sums. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | open scoped _root_.Polynomial Classical |
| 18 | |
| 19 | variable (Z : Scheme) [AlgebraicGeometry.IsNoetherian Z] (t : Z ⟶ Spec (.of ℂ[X])) |
| 20 | (c : IrreducibleCloseds Z → ℚ) (F : Finset (IrreducibleCloseds Z)) |
| 21 | |
| 22 | def cycle (a : ℂ) : Z →₀ ℚ := |
| 23 | ∑ C ∈ F, if hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 24 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) then |
| 25 | c C • HorizontalFamilyFiber.Family.cycle Z C t hη a else 0 |
| 26 | |
| 27 | theorem apply (a : ℂ) (x : Z) : cycle Z t c F a x = |
| 28 | ∑ C ∈ F, c C * GlobalParameterSum.Weights.weight Z x (Affine.ParameterFiber.germ ℂ t x a) C := by |
| 29 | rw [cycle, Finsupp.finsetSum_apply] |
| 30 | apply Finset.sum_congr rfl |
| 31 | intro C _ |
| 32 | by_cases hη : ((CycleClass.Geometric.GenericPoint.reducedSupportι C ≫ t) ≫ Projective.FamilyIs.MatrixParameterOpen.affine) |
| 33 | (genericPoint (CycleClass.Geometric.GenericPoint.reducedSupportScheme C)) = genericPoint (Foundations.Scheme.ProjectiveSpace.projectiveSpace 1) |
| 34 | · rw [dite_eq_left hη, Finsupp.smul_apply, HorizontalFamilyFiber.Family.apply, smul_eq_mul] |
| 35 | · rw [dite_eq_right hη, Finsupp.zero_apply, GlobalWeightSupport.nonhorizontal Z t C hη x a, mul_zero] |
| 36 | |
| 37 | end |
| 38 | |
| 39 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.GlobalHorizontalCycle |