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.Principal.ChartFiniteSum |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Finite.MultiplicitySum |
| 3 | |
| 4 | /-! # Chart Difference -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartDifference |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original local principal-divisor pairing is the difference |
| 11 | of the two finite weighted sums used by the native Euler expansions. -/ |
| 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 Classical |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Affine.ChartGerm.FiniteSupportCharts OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartEquations |
| 20 | |
| 21 | theorem coefficient (X : Foundations.Scheme.SmoothProjective.SmoothProjectivePresentation) (k : ℕ) |
| 22 | (W : X.DimensionCycleSupport k) (g : (CycleClass.Geometric.GenericPoint.reducedSupportScheme W.val).functionField) (hg : g ≠ 0) |
| 23 | (F : ∀ i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val × Bool, Finset (PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i.1))) |
| 24 | (hF : DescentPosition.PrimeData X k W.val g hg F) |
| 25 | (hout : DescentPosition.Outside X k W.val g hg F) |
| 26 | (i : Affine.ChartGerm.FiniteSupportCharts.Index X W.val) (x : PrimeSpectrum (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i)) |
| 27 | (A C : IrreducibleCloseds X.carrier) (hx : Affine.ChartGerm.FiniteSupportCharts.chart X W.val i x = CycleClass.Thom.IntersectionGeometry.supportPoint C) : |
| 28 | (ClosedSectionCycle.principalCycle X (k + 1) W.val g).sum |
| 29 | (fun B c => c * CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X B.val A C) = |
| 30 | (∑ z ∈ F (i, true), Affine.PrincipalWeight.weight (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i) |
| 31 | (ChartEquations.numerator X W.val g hg i) z * |
| 32 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Affine.FiltrationAvoidance.support (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i) z) A C) - |
| 33 | ∑ z ∈ F (i, false), Affine.PrincipalWeight.weight (Affine.ChartGerm.FiniteSupportCharts.ring X W.val i) (Affine.ChartGerm.FiniteSupportCharts.prime X W.val i) |
| 34 | (ChartEquations.denominator X W.val g hg i) z * |
| 35 | CycleClass.Thom.IntersectionGeometry.intersectionMultiplicity X (Affine.FiltrationAvoidance.support (Affine.ChartGerm.FiniteSupportCharts.chart X W.val i) z) A C := by |
| 36 | rw [ChartFiniteSum.coefficient X k W g hg F hF hout i x A C hx] |
| 37 | apply Finite.MultiplicitySum.Difference.split |
| 38 | · intro z hz hnot |
| 39 | exact hout (i, true) z (hF (i, false) z hz).2.2 hnot |
| 40 | · intro z hz hnot |
| 41 | exact hout (i, false) z (hF (i, true) z hz).2.2 hnot |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.ChartDifference |