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.Principal.QuotientTensor |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TensorRegular |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrimeFiltrationEuler |
| 4 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Tor.EulerTransport |
| 5 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.PrimeEuler |
| 6 | |
| 7 | /-! # Quotient Euler -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.QuotientEuler |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The native Euler pairing with a regular principal quotient is |
| 14 | the alternating principal Euler pairing of the original Tor modules. |
| 15 | Only the first module needs parameter regularity. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ExactLength |
| 24 | |
| 25 | variable (R : Type u) [CommRing R] (r : R) |
| 26 | |
| 27 | theorem euler (hregular : IsSMulRegular R r) (M N : ModuleCat.{u} R) |
| 28 | (hM : IsSMulRegular M r) (d : ℕ) [HasProjectiveDimensionLE N d] |
| 29 | (hfin : ∀ i, Module.length R |
| 30 | (((Tor (ModuleCat R) i).obj (.of R (QuotSMulTop r M))).obj N) ≠ ⊤) : |
| 31 | ProjectionFormula.Tor.Euler.euler R (.of R (QuotSMulTop r M)) N d = |
| 32 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 33 | ProjectionFormula.Tor.Euler.euler R (((Tor (ModuleCat R) i).obj M).obj N) |
| 34 | (.of R (QuotSMulTop r R)) 1 := by |
| 35 | obtain ⟨P, hP⟩ := BoundedResolution.exists_bounded_resolution R N d |
| 36 | let K := Parameter.TorSpecialization.tensorComplex R M N P |
| 37 | have hK (i : ℕ) : IsSMulRegular (K.X i) r := |
| 38 | Parameter.TensorRegular.resolution R r M N hM P i |
| 39 | have hlen (i : ℕ) := (QuotientTensor.torIso R r M N P i).toLinearEquiv.length_eq |
| 40 | have hfinite (i : ℕ) : |
| 41 | Module.length R ((Parameter.QuotientComplex.complex R r K).homology i) ≠ ⊤ := by |
| 42 | rw [← hlen i] |
| 43 | exact hfin i |
| 44 | have hzero : IsZero ((Parameter.QuotientComplex.complex R r K).homology (d + 1)) := by |
| 45 | rw [← HomologicalComplex.exactAt_iff_isZero_homology] |
| 46 | apply HomologicalComplex.ExactAt.of_isZero |
| 47 | exact (Parameter.QuotientComplex.quotient R r).map_isZero |
| 48 | ((tensorLeft M).map_isZero (hP (d + 1) (by omega))) |
| 49 | have he := Parameter.ComplexEuler.euler R r K hK hregular hfinite d hzero |
| 50 | have hleft : ProjectionFormula.Tor.Euler.euler R (.of R (QuotSMulTop r M)) N d = |
| 51 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 52 | ExactLength.rationalLength R ((Parameter.QuotientComplex.complex R r K).homology i) := by |
| 53 | apply Finset.sum_congr rfl |
| 54 | intro i _ |
| 55 | exact congrArg (fun a : ℕ∞ => (-1 : ℚ) ^ i * (a.toNat : ℚ)) (hlen i) |
| 56 | rw [hleft, he] |
| 57 | apply Finset.sum_congr rfl |
| 58 | intro i _ |
| 59 | exact congrArg (fun a : ℚ => (-1 : ℚ) ^ i * a) |
| 60 | (PrimeFiltrationEuler.euler_iso_left R |
| 61 | (P.isoLeftDerivedObj (tensorLeft M) i) (.of R (QuotSMulTop r R)) 1).symm |
| 62 | |
| 63 | theorem isolated [IsNoetherianRing R] (hregular : IsSMulRegular R r) |
| 64 | (M N : ModuleCat.{u} R) [Module.Finite R M] [Module.Finite R N] |
| 65 | (hM : IsSMulRegular M r) (d : ℕ) [HasProjectiveDimensionLE N d] |
| 66 | (p₀ : PrimeSpectrum R) |
| 67 | (hisolated : (Module.support R M ∩ Module.support R N) ∩ |
| 68 | Module.support R (R ⧸ Ideal.span {r}) ⊆ {p₀}) : |
| 69 | ProjectionFormula.Tor.Euler.euler R (.of R (QuotSMulTop r M)) N d = |
| 70 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 71 | ProjectionFormula.Tor.Euler.euler R (((Tor (ModuleCat R) i).obj M).obj N) |
| 72 | (.of R (R ⧸ Ideal.span {r})) 1 := by |
| 73 | have hsupp : Module.support R (QuotSMulTop r M) ∩ Module.support R N ⊆ {p₀} := by |
| 74 | intro p hp |
| 75 | have hM := hp.1 |
| 76 | rw [Module.support_quotSMulTop] at hM |
| 77 | apply hisolated |
| 78 | refine ⟨⟨hM.1, hp.2⟩, ?_⟩ |
| 79 | rw [Module.support_of_algebra, Ideal.Quotient.algebraMap_eq, Ideal.mk_ker] |
| 80 | exact Ideal.span_le.mpr hM.2 |
| 81 | rw [euler R r hregular M N hM d |
| 82 | (ProjectionFormula.Tor.FiniteLength.tor_length_ne_top R (.of R (QuotSMulTop r M)) N p₀ hsupp)] |
| 83 | apply Finset.sum_congr rfl |
| 84 | intro i _ |
| 85 | exact congrArg (fun a : ℚ => (-1 : ℚ) ^ i * a) |
| 86 | (ProjectionFormula.Tor.EulerTransport.iso_right R _ |
| 87 | (Parameter.PrimeEuler.quotientEquiv R r).symm.toModuleIso 1) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Principal.QuotientEuler |