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.CycleClass.Thom.TorAlgebra.IsolatedEuler |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Symmetry |
| 3 | import Mathlib.RingTheory.Regular.Category |
| 4 | |
| 5 | /-! # Left Bound Euler -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LeftBoundEuler |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Tor Euler additivity can use a projective-dimension bound on the |
| 12 | quotient in the first variable. The other input may have infinite |
| 13 | projective dimension, as occurs over singular intermediate quotient rings. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.FiniteLength.Tor OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.BoundedResolution |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | variable (R : Type u) [CommRing R] |
| 23 | |
| 24 | theorem tor_isZero_left (M N : ModuleCat.{u} R) (d n : ℕ) |
| 25 | [HasProjectiveDimensionLE M d] (hn : d < n) : |
| 26 | IsZero (((Tor (ModuleCat R) n).obj M).obj N) := |
| 27 | (BoundedResolution.tor_isZero R N M d n hn).of_iso (Symmetry.Tor.iso R M N n) |
| 28 | |
| 29 | variable [IsNoetherianRing R] (N : ModuleCat.{u} R) [Module.Finite R N] (d : ℕ) |
| 30 | |
| 31 | theorem additivity (S : ShortComplex (ModuleCat.{u} R)) (hS : S.ShortExact) |
| 32 | [Module.Finite R S.X₁] [Module.Finite R S.X₂] [Module.Finite R S.X₃] |
| 33 | [HasProjectiveDimensionLE S.X₃ d] |
| 34 | (x : PrimeSpectrum R) (hx : Module.support R S.X₂ ∩ Module.support R N ⊆ {x}) : |
| 35 | Euler.Tor.euler R S.X₂ N d = Euler.Tor.euler R S.X₁ N d + Euler.Tor.euler R S.X₃ N d := by |
| 36 | have h₁ : Module.support R S.X₁ ∩ Module.support R N ⊆ {x} := |
| 37 | (Set.inter_subset_inter_left _ (Module.support_subset_of_injective S.f.hom hS.moduleCat_injective_f)).trans hx |
| 38 | have h₃ : Module.support R S.X₃ ∩ Module.support R N ⊆ {x} := |
| 39 | (Set.inter_subset_inter_left _ (Module.support_subset_of_surjective S.g.hom hS.moduleCat_surjective_g)).trans hx |
| 40 | exact Euler.Tor.additivity R N S hS d (FiniteLength.Tor.tor_length_ne_top R S.X₁ N x h₁) |
| 41 | (FiniteLength.Tor.tor_length_ne_top R S.X₂ N x hx) (FiniteLength.Tor.tor_length_ne_top R S.X₃ N x h₃) |
| 42 | (tor_isZero_left R S.X₃ N d (d + 1) (Nat.lt_succ_self d)) |
| 43 | |
| 44 | theorem euler_quotient_eq_zero (M : ModuleCat.{u} R) [Module.Finite R M] |
| 45 | (r : R) (hr : IsSMulRegular M r) |
| 46 | [HasProjectiveDimensionLE (ModuleCat.of R (QuotSMulTop r M)) d] |
| 47 | (x : PrimeSpectrum R) (hx : Module.support R M ∩ Module.support R N ⊆ {x}) : |
| 48 | Euler.Tor.euler R (ModuleCat.of R (QuotSMulTop r M)) N d = 0 := by |
| 49 | let S := M.smulShortComplex r |
| 50 | let : Module.Finite R S.X₁ := inferInstanceAs (Module.Finite R M) |
| 51 | let : Module.Finite R S.X₂ := inferInstanceAs (Module.Finite R M) |
| 52 | let : Module.Finite R S.X₃ := inferInstanceAs (Module.Finite R (QuotSMulTop r M)) |
| 53 | let : HasProjectiveDimensionLE S.X₃ d := |
| 54 | inferInstanceAs (HasProjectiveDimensionLE (ModuleCat.of R (QuotSMulTop r M)) d) |
| 55 | have h := additivity R N d S (IsSMulRegular.smulShortComplex_shortExact hr) x hx |
| 56 | change Euler.Tor.euler R M N d = Euler.Tor.euler R M N d + Euler.Tor.euler R (ModuleCat.of R (QuotSMulTop r M)) N d at h |
| 57 | exact add_left_cancel (h.symm.trans (add_zero (Euler.Tor.euler R M N d)).symm) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.LeftBoundEuler |