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.Symmetry |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.IsolatedTorEuler |
| 3 | import Mathlib.RingTheory.LocalRing.Module |
| 4 | |
| 5 | /-! # Local Free -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.LocalFree |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Over a local ring, vanishing of native Tor in degree one against |
| 12 | the residue field makes a finitely presented module free. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 17 | open IsLocalRing |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (R : Type u) [CommRing R] [IsLocalRing R] |
| 22 | (M : ModuleCat.{u} R) [Module.FinitePresentation R M] |
| 23 | |
| 24 | theorem of_residue_first |
| 25 | (h : IsZero (((Tor (ModuleCat R) 1).obj |
| 26 | (ModuleCat.of R (ResidueField R))).obj M)) : Module.Free R M := by |
| 27 | let S := IsolatedTorEuler.submoduleSequence R (ModuleCat.of R R) (maximalIdeal R) |
| 28 | have hS := IsolatedTorEuler.submoduleSequence_shortExact R |
| 29 | (ModuleCat.of R R) (maximalIdeal R) |
| 30 | let : Projective S.X₂ := inferInstanceAs (Projective (ModuleCat.of R R)) |
| 31 | let e := OneFirst.kernelIso R M S hS |
| 32 | have hz : IsZero (ModuleCat.of R (((maximalIdeal R).subtype.rTensor M).ker)) := |
| 33 | h.of_iso e.symm |
| 34 | let := ModuleCat.subsingleton_of_isZero hz |
| 35 | apply Module.free_of_maximalIdeal_rTensor_injective |
| 36 | rw [← LinearMap.ker_eq_bot] |
| 37 | exact Submodule.eq_bot_of_subsingleton |
| 38 | |
| 39 | theorem of_residue_second |
| 40 | (h : IsZero (((Tor (ModuleCat R) 1).obj M).obj |
| 41 | (ModuleCat.of R (ResidueField R)))) : Module.Free R M := |
| 42 | of_residue_first R M (h.of_iso |
| 43 | (Symmetry.iso R M (ModuleCat.of R (ResidueField R)) 1).symm) |
| 44 | |
| 45 | end |
| 46 | |
| 47 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.LocalFree |