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.Flat.Extension |
| 2 | import Mathlib.RingTheory.Support |
| 3 | import Mathlib.RingTheory.Localization.BaseChange |
| 4 | import Mathlib.RingTheory.Flat.Localization |
| 5 | |
| 6 | /-! # Support -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Support |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Localizing Tor uses the actual flat base-change isomorphism. Hence |
| 13 | its module support is contained in the intersection of the input supports. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 18 | open scoped TensorProduct |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] (M N : ModuleCat.{u} R) |
| 23 | |
| 24 | theorem subsingleton_left [Subsingleton M] (n : ℕ) : |
| 25 | Subsingleton (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 26 | let : Projective M := (ModuleCat.isZero_iff_subsingleton.mpr inferInstance).projective |
| 27 | let : Module.Projective R M := inferInstance |
| 28 | cases n with |
| 29 | | zero => |
| 30 | exact (ProjectionFormula.Tor.Flat.torZeroIso R M N).toLinearEquiv.injective.subsingleton |
| 31 | | succ n => exact ModuleCat.subsingleton_of_isZero (ProjectionFormula.Tor.Flat.higherTor_isZero R M N n) |
| 32 | |
| 33 | theorem subsingleton_right [Subsingleton N] (n : ℕ) : |
| 34 | Subsingleton (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 35 | let : Projective N := (ModuleCat.isZero_iff_subsingleton.mpr inferInstance).projective |
| 36 | cases n with |
| 37 | | zero => |
| 38 | exact (ProjectionFormula.Tor.Flat.torZeroIso R M N).toLinearEquiv.injective.subsingleton |
| 39 | | succ n => |
| 40 | exact ModuleCat.subsingleton_of_isZero |
| 41 | (isZero_Tor_succ_of_projective (ModuleCat R) M N n) |
| 42 | |
| 43 | theorem notMem_support_of_left (n : ℕ) (p : PrimeSpectrum R) |
| 44 | (hp : p ∉ Module.support R M) : |
| 45 | p ∉ Module.support R (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 46 | have hM := Module.notMem_support_iff.mp hp |
| 47 | let : Subsingleton ((ProjectionFormula.Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj M) := by |
| 48 | change Subsingleton (Localization.AtPrime p.asIdeal ⊗[R] M) |
| 49 | exact (LocalizedModule.equivTensorProduct p.asIdeal.primeCompl M).symm.injective.subsingleton |
| 50 | let : Subsingleton (((Tor (ModuleCat (Localization.AtPrime p.asIdeal)) n).obj |
| 51 | ((ProjectionFormula.Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj M)).obj |
| 52 | ((ProjectionFormula.Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj N)) := |
| 53 | subsingleton_left (Localization.AtPrime p.asIdeal) _ _ n |
| 54 | let : Subsingleton (Localization.AtPrime p.asIdeal ⊗[R] |
| 55 | (((Tor (ModuleCat R) n).obj M).obj N)) := |
| 56 | (ProjectionFormula.Flat.Extension.torBaseChangeIso R (Localization.AtPrime p.asIdeal) M N n).symm.toLinearEquiv.injective.subsingleton |
| 57 | exact Module.notMem_support_iff.mpr |
| 58 | (LocalizedModule.equivTensorProduct p.asIdeal.primeCompl |
| 59 | (((Tor (ModuleCat R) n).obj M).obj N)).injective.subsingleton |
| 60 | |
| 61 | theorem notMem_support_of_right (n : ℕ) (p : PrimeSpectrum R) |
| 62 | (hp : p ∉ Module.support R N) : |
| 63 | p ∉ Module.support R (((Tor (ModuleCat R) n).obj M).obj N) := by |
| 64 | have hN := Module.notMem_support_iff.mp hp |
| 65 | let : Subsingleton ((ProjectionFormula.Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj N) := by |
| 66 | change Subsingleton (Localization.AtPrime p.asIdeal ⊗[R] N) |
| 67 | exact (LocalizedModule.equivTensorProduct p.asIdeal.primeCompl N).symm.injective.subsingleton |
| 68 | let : Subsingleton (((Tor (ModuleCat (Localization.AtPrime p.asIdeal)) n).obj |
| 69 | ((ProjectionFormula.Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj M)).obj |
| 70 | ((ProjectionFormula.Flat.Extension.baseChange R (Localization.AtPrime p.asIdeal)).obj N)) := |
| 71 | subsingleton_right (Localization.AtPrime p.asIdeal) _ _ n |
| 72 | let : Subsingleton (Localization.AtPrime p.asIdeal ⊗[R] |
| 73 | (((Tor (ModuleCat R) n).obj M).obj N)) := |
| 74 | (ProjectionFormula.Flat.Extension.torBaseChangeIso R (Localization.AtPrime p.asIdeal) M N n).symm.toLinearEquiv.injective.subsingleton |
| 75 | exact Module.notMem_support_iff.mpr |
| 76 | (LocalizedModule.equivTensorProduct p.asIdeal.primeCompl |
| 77 | (((Tor (ModuleCat R) n).obj M).obj N)).injective.subsingleton |
| 78 | |
| 79 | theorem support_subset (n : ℕ) : |
| 80 | Module.support R (((Tor (ModuleCat R) n).obj M).obj N) ⊆ |
| 81 | Module.support R M ∩ Module.support R N := by |
| 82 | intro p hp |
| 83 | exact ⟨by_contra fun h => notMem_support_of_left R M N n p h hp, |
| 84 | by_contra fun h => notMem_support_of_right R M N n p h hp⟩ |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.Support |