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.Smooth.StalkDimension |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Euler |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.TotalTorCoefficient |
| 4 | |
| 5 | /-! # Tor Cutoff -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.TorCutoff |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The extra ambient family dimension does not change the endpoint |
| 12 | Tor Euler coefficient: all Tor above the endpoint smooth dimension vanishes. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.TopologicalSpace |
| 17 | |
| 18 | variable {k : Type} [Field k] {X : Scheme} (f : X ⟶ Spec (.of k)) |
| 19 | (m : ℕ) [hf : SmoothOfRelativeDimension m f] |
| 20 | |
| 21 | include hf |
| 22 | |
| 23 | theorem euler_succ (x : X) (M N : ModuleCat (X.presheaf.stalk x)) : |
| 24 | Tor.Euler.euler (X.presheaf.stalk x) M N (m + 1) = |
| 25 | Tor.Euler.euler (X.presheaf.stalk x) M N m := by |
| 26 | have h := StalkDimension.stalk_tor_length_zero f m x M N (m + 1) (Nat.lt_succ_self m) |
| 27 | simp only [Tor.Euler.euler, Finset.sum_range_succ (n := m + 1), |
| 28 | ExactLength.rationalLength, h, ENat.toNat_zero, Nat.cast_zero, mul_zero, add_zero] |
| 29 | |
| 30 | theorem coefficient_succ (A B : IrreducibleCloseds X) (x : X) : |
| 31 | TotalTorCoefficient.coefficient X A B x (m + 1) = |
| 32 | TotalTorCoefficient.coefficient X A B x m := by |
| 33 | unfold TotalTorCoefficient.coefficient |
| 34 | split_ifs with h |
| 35 | · exact euler_succ f m x (CycleClass.Thom.IntersectionGeometry.localSupportModule X A x h.1) (CycleClass.Thom.IntersectionGeometry.localSupportModule X B x h.2) |
| 36 | · rfl |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Smooth.TorCutoff |