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.PrimeEuler |
| 2 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.ZeroDimensionalEuler |
| 3 | import OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.EulerTransport |
| 4 | |
| 5 | /-! # Regular Prime Devissage -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.RegularPrimeDevissage |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Reducing regular-sequence Euler vanishing to prime quotients |
| 12 | without imposing a projective-dimension bound on the source module. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits RingTheory.Sequence |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.Euler.Tor |
| 17 | |
| 18 | universe u |
| 19 | variable (R : Type u) [CommRing R] |
| 20 | |
| 21 | theorem supportDim_le_of_support_subset (M N : ModuleCat.{u} R) |
| 22 | (h : Module.support R M ⊆ Module.support R N) : Module.supportDim R M ≤ Module.supportDim R N := |
| 23 | Order.krullDim_le_of_strictMono (fun p => ⟨p.val, h p.property⟩) |
| 24 | (fun {_ _} hlt => hlt) |
| 25 | |
| 26 | theorem euler_eq_zero_of_supportDim_lt_zero (M N : ModuleCat.{u} R) |
| 27 | (hd : Module.supportDim R N < 0) (d : ℕ) : Euler.Tor.euler R M N d = 0 := by |
| 28 | let : Subsingleton N := (Module.supportDim_eq_bot_iff_subsingleton R N).mp |
| 29 | ((WithBot.lt_zero_iff_eq_bot _).mp hd) |
| 30 | exact (EulerTransport.Tor.comm R M N d).trans |
| 31 | (IsolatedEuler.euler_subsingleton_left R N M d) |
| 32 | |
| 33 | variable [IsNoetherianRing R] [IsLocalRing R] |
| 34 | (N : ModuleCat.{u} R) [Module.Finite R N] |
| 35 | (rs : List R) (hr : IsWeaklyRegular R rs) |
| 36 | (hm : ∀ r ∈ rs, r ∈ IsLocalRing.maximalIdeal R) |
| 37 | |
| 38 | include hr hm |
| 39 | |
| 40 | theorem euler_eq_zero_of_supportDim_nonpos (hne : rs ≠ []) (hd : Module.supportDim R N ≤ 0) : |
| 41 | Euler.Tor.euler R (ModuleCat.of R (R ⧸ Ideal.ofList rs)) N rs.length = 0 := by |
| 42 | rcases lt_or_eq_of_le hd with hd | hd |
| 43 | · exact euler_eq_zero_of_supportDim_lt_zero R _ N hd rs.length |
| 44 | · exact ZeroDimensionalEuler.euler_eq_zero R N rs hr hne hm hd |
| 45 | |
| 46 | theorem euler_eq_zero_of_prime_quotients |
| 47 | (hi : PrimeSpectrum.zeroLocus (Ideal.ofList rs : Set R) ∩ Module.support R N ⊆ |
| 48 | {IsLocalRing.closedPoint R}) |
| 49 | (hz : ∀ p : PrimeSpectrum R, Module.support R (R ⧸ p.asIdeal) ⊆ Module.support R N → |
| 50 | Euler.Tor.euler R (ModuleCat.of R (R ⧸ Ideal.ofList rs)) (ModuleCat.of R (R ⧸ p.asIdeal)) rs.length = 0) : |
| 51 | Euler.Tor.euler R (ModuleCat.of R (R ⧸ Ideal.ofList rs)) N rs.length = 0 := by |
| 52 | let := Regular.QuotientProjectiveDimension.Constructions.bound R rs hr hm |
| 53 | have hI : Module.support R (R ⧸ Ideal.ofList rs) = |
| 54 | PrimeSpectrum.zeroLocus (Ideal.ofList rs : Set R) := by |
| 55 | rw [Module.support_eq_zeroLocus, Ideal.annihilator_quotient] |
| 56 | have hN : Module.support R N ∩ Module.support R (R ⧸ Ideal.ofList rs) ⊆ |
| 57 | {IsLocalRing.closedPoint R} := by |
| 58 | rw [hI, Set.inter_comm] |
| 59 | exact hi |
| 60 | obtain ⟨ps, hps, he⟩ := PrimeEuler.exists_prime_euler_sum R |
| 61 | (ModuleCat.of R (R ⧸ Ideal.ofList rs)) rs.length N (IsLocalRing.closedPoint R) hN |
| 62 | rw [EulerTransport.Tor.comm R _ N, he] |
| 63 | apply List.sum_eq_zero |
| 64 | intro a ha |
| 65 | obtain ⟨p, hp, rfl⟩ := List.mem_map.mp ha |
| 66 | exact (EulerTransport.Tor.comm R _ _ rs.length).trans (hz p (hps p hp)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.RegularPrimeDevissage |