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.Tor.Linear |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Symmetry |
| 3 | import Mathlib.RingTheory.Regular.Category |
| 4 | |
| 5 | /-! # Annihilator -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Annihilator |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Scalars annihilating either input annihilate the actual native Tor |
| 12 | modules. A regular element and the long exact sequence then lower a |
| 13 | vanishing bound by one. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] (M N : ModuleCat.{u} R) (r : R) |
| 22 | |
| 23 | theorem first (h : ∀ x : M, r • x = 0) (n : ℕ) |
| 24 | (x : (((Tor (ModuleCat R) n).obj M).obj N)) : r • x = 0 := by |
| 25 | let F := (Tor (ModuleCat R) n).flip.obj N |
| 26 | have hm : r • 𝟙 M = (0 : M ⟶ M) := by |
| 27 | ext y |
| 28 | exact h y |
| 29 | have ht : r • 𝟙 (F.obj M) = (0 : F.obj M ⟶ F.obj M) := by |
| 30 | rw [← F.map_id, ← Functor.map_smul, hm, F.map_zero] |
| 31 | exact congrArg (fun f : F.obj M ⟶ F.obj M => f x) ht |
| 32 | |
| 33 | theorem second (h : ∀ y : N, r • y = 0) (n : ℕ) |
| 34 | (x : (((Tor (ModuleCat R) n).obj M).obj N)) : r • x = 0 := by |
| 35 | let e := (Symmetry.iso R M N n).toLinearEquiv |
| 36 | apply e.injective |
| 37 | rw [map_smul, map_zero] |
| 38 | exact first R N M r h n (e x) |
| 39 | |
| 40 | theorem isZero_of_regular (hm : IsSMulRegular M r) (hn : ∀ y : N, r • y = 0) |
| 41 | (n : ℕ) |
| 42 | (hzero : IsZero (((Tor (ModuleCat R) (n + 1)).obj |
| 43 | (ModuleCat.of R (QuotSMulTop r M))).obj N)) : |
| 44 | IsZero (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 45 | let S := M.smulShortComplex r |
| 46 | have hS : S.ShortExact := IsSMulRegular.smulShortComplex_shortExact hm |
| 47 | let F := (Tor (ModuleCat R) n).flip.obj N |
| 48 | have hmap : F.map S.f = r • 𝟙 (F.obj M) := by |
| 49 | change F.map (r • 𝟙 M) = _ |
| 50 | rw [Functor.map_smul, F.map_id] |
| 51 | have hmapzero : F.map S.f = 0 := by |
| 52 | rw [hmap] |
| 53 | ext x |
| 54 | exact second R M N r hn n x |
| 55 | exact (ExactSequence.exact_after_connecting R N S hS n).isZero_of_both_zeros |
| 56 | (hzero.eq_zero_of_src _) hmapzero |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Annihilator |