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.ElementChangeOfRings |
| 2 | import Mathlib.RingTheory.TensorProduct.Quotient |
| 3 | |
| 4 | /-! # Residual Tail Ambient Euler -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.ResidualTailAmbientEuler.Constructions |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The residual tail Tor calculation can be returned to the original |
| 11 | ambient ring. The needed independence follows from permutation of the |
| 12 | actual regular sequence over the local Noetherian ring. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits RingTheory.Sequence |
| 15 | open scoped TensorProduct Pointwise |
| 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.TorAlgebra.IndependentLength.Tor OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ElementChangeOfRings.Regular |
| 19 | |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | set_option backward.isDefEq.respectTransparency.types false |
| 22 | |
| 23 | universe u |
| 24 | variable (R : Type u) [CommRing R] [IsNoetherianRing R] [IsLocalRing R] (r : R) (rs : List R) |
| 25 | (hr : IsWeaklyRegular R (r :: rs)) |
| 26 | (hm : ∀ a ∈ r :: rs, a ∈ IsLocalRing.maximalIdeal R) |
| 27 | |
| 28 | include hr hm |
| 29 | |
| 30 | theorem regular_on_tail_quotient : IsSMulRegular (R ⧸ Ideal.ofList rs) r := by |
| 31 | have hp : (r :: rs).Perm (rs ++ [r]) := |
| 32 | show ([r] ++ rs).Perm (rs ++ [r]) from List.perm_append_comm |
| 33 | have h := IsLocalRing.isWeaklyRegular_of_perm_of_subset_maximalIdeal hr hp hm |
| 34 | have ht := ((isWeaklyRegular_append_iff R rs [r]).mp h).2 |
| 35 | have he : (Ideal.ofList rs • ⊤ : Submodule R R) = Ideal.ofList rs := by |
| 36 | change Ideal.ofList rs * (⊤ : Ideal R) = Ideal.ofList rs |
| 37 | exact Ideal.mul_top _ |
| 38 | rw [he] at ht |
| 39 | exact (isWeaklyRegular_singleton_iff _ r).mp ht |
| 40 | |
| 41 | theorem regular_tail_ambient : IsWeaklyRegular R rs := by |
| 42 | have hp : (r :: rs).Perm (rs ++ [r]) := |
| 43 | show ([r] ++ rs).Perm (rs ++ [r]) from List.perm_append_comm |
| 44 | exact ((isWeaklyRegular_append_iff R rs [r]).mp |
| 45 | (IsLocalRing.isWeaklyRegular_of_perm_of_subset_maximalIdeal hr hp hm)).1 |
| 46 | |
| 47 | omit hr hm [IsNoetherianRing R] [IsLocalRing R] in |
| 48 | def tailBaseChangeIso : |
| 49 | ModuleCat.of (R ⧸ Ideal.span {r}) |
| 50 | ((R ⧸ Ideal.span {r}) ⧸ Ideal.ofList (rs.map (algebraMap R (R ⧸ Ideal.span {r})) )) ≅ |
| 51 | (TorAlgebra.FlatExtension.baseChange R (R ⧸ Ideal.span {r})).obj (ModuleCat.of R (R ⧸ Ideal.ofList rs)) := |
| 52 | ((Ideal.quotientEquivAlgOfEq (R ⧸ Ideal.span {r}) |
| 53 | (Ideal.map_ofList (algebraMap R (R ⧸ Ideal.span {r})) rs).symm).toLinearEquiv.trans |
| 54 | (Algebra.TensorProduct.quotIdealMapEquivTensorQuot (R ⧸ Ideal.span {r}) (Ideal.ofList rs)).toLinearEquiv).toModuleIso |
| 55 | |
| 56 | theorem residual_tail_euler_eq_ambient (M : ModuleCat.{u} (R ⧸ Ideal.span {r})) (d : ℕ) : |
| 57 | TorAlgebra.Euler.Tor.euler (R ⧸ Ideal.span {r}) |
| 58 | (ModuleCat.of (R ⧸ Ideal.span {r}) |
| 59 | ((R ⧸ Ideal.span {r}) ⧸ Ideal.ofList (rs.map (algebraMap R (R ⧸ Ideal.span {r}))))) M d = |
| 60 | TorAlgebra.Euler.Tor.euler R (ModuleCat.of R (R ⧸ Ideal.ofList rs)) |
| 61 | ((ModuleCat.restrictScalars (algebraMap R (R ⧸ Ideal.span {r}))).obj M) d := by |
| 62 | let S := R ⧸ Ideal.span {r} |
| 63 | let N := ModuleCat.of R (R ⧸ Ideal.ofList rs) |
| 64 | have hhead := ((isWeaklyRegular_cons_iff R r rs).mp hr).1 |
| 65 | have hv := TorAlgebra.ElementChangeOfRings.Regular.quotient_tor_isZero R r N hhead (regular_on_tail_quotient R r rs hr hm) |
| 66 | exact (TorAlgebra.EulerTransport.Tor.comm S _ M d).trans |
| 67 | ((TorAlgebra.EulerTransport.Tor.iso_right S M (tailBaseChangeIso R r rs) d).trans |
| 68 | ((TorAlgebra.IndependentLength.Tor.euler_eq R S M N Ideal.Quotient.mk_surjective hv d).trans |
| 69 | (TorAlgebra.EulerTransport.Tor.comm R _ N d))) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.CycleClass.Thom.ResidualTailAmbientEuler.Constructions |