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.IndependentLength |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.Tor.RegularSequence |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.EulerTransport |
| 4 | |
| 5 | /-! # Element Change Of Rings -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ElementChangeOfRings.Regular |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Cutting by an element regular on the ring and on the second |
| 12 | module preserves native Tor lengths after passing to the quotient ring. |
| 13 | The second module becomes its actual quotient by that element. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits RingTheory.Sequence |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.FlatExtension OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.EulerTransport.Tor |
| 18 | open OAI.AlgebraicGeometry.CycleClass.Thom.Tor.RegularSequence.Constructions |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | universe u |
| 23 | variable (R : Type u) [CommRing R] (r : R) (N : ModuleCat.{u} R) |
| 24 | |
| 25 | theorem quotient_tor_isZero (hr : IsSMulRegular R r) (hn : IsSMulRegular N r) (n : ℕ) : |
| 26 | IsZero (((Tor (ModuleCat R) (n + 1)).obj (ModuleCat.of R (R ⧸ Ideal.span {r}))).obj N) := by |
| 27 | have h := Thom.Tor.RegularSequence.Constructions.higherTor_regular_quotient_isZero R N [r] |
| 28 | ((isWeaklyRegular_singleton_iff R r).mpr hr) ((isWeaklyRegular_singleton_iff N r).mpr hn) n |
| 29 | rw [Ideal.ofList_singleton] at h |
| 30 | exact h |
| 31 | |
| 32 | def quotientTensorIso : ModuleCat.of (R ⧸ Ideal.span {r}) (QuotSMulTop r N) ≅ |
| 33 | (FlatExtension.baseChange R (R ⧸ Ideal.span {r})).obj N := |
| 34 | ((QuotSMulTop.equivQuotTensor r N).extendScalarsOfSurjective |
| 35 | (show Function.Surjective (algebraMap R (R ⧸ Ideal.span {r})) from Ideal.Quotient.mk_surjective)).toModuleIso |
| 36 | |
| 37 | variable (M : ModuleCat.{u} (R ⧸ Ideal.span {r})) |
| 38 | (hr : IsSMulRegular R r) (hn : IsSMulRegular N r) |
| 39 | |
| 40 | include hr hn |
| 41 | |
| 42 | theorem tor_length (n : ℕ) : |
| 43 | Module.length R (((Tor (ModuleCat R) n).obj |
| 44 | ((ModuleCat.restrictScalars (algebraMap R (R ⧸ Ideal.span {r}))).obj M)).obj N) = |
| 45 | Module.length (R ⧸ Ideal.span {r}) (((Tor (ModuleCat (R ⧸ Ideal.span {r})) n).obj M).obj |
| 46 | (ModuleCat.of (R ⧸ Ideal.span {r}) (QuotSMulTop r N))) := |
| 47 | (IndependentLength.Tor.tor_length R (R ⧸ Ideal.span {r}) M N |
| 48 | Ideal.Quotient.mk_surjective (quotient_tor_isZero R r N hr hn) n).symm.trans |
| 49 | ((((Tor (ModuleCat (R ⧸ Ideal.span {r})) n).obj M).mapIso (quotientTensorIso R r N).symm).toLinearEquiv.length_eq) |
| 50 | |
| 51 | theorem euler_eq (d : ℕ) : |
| 52 | Euler.Tor.euler R ((ModuleCat.restrictScalars (algebraMap R (R ⧸ Ideal.span {r}))).obj M) N d = |
| 53 | Euler.Tor.euler (R ⧸ Ideal.span {r}) M (ModuleCat.of (R ⧸ Ideal.span {r}) (QuotSMulTop r N)) d := by |
| 54 | apply Finset.sum_congr rfl |
| 55 | intro n _ |
| 56 | exact congrArg (fun l : ℕ∞ => (-1 : ℚ) ^ n * (l.toNat : ℚ)) (tor_length R r N M hr hn n) |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ElementChangeOfRings.Regular |