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.Regular.SequenceModule |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.QuotientFiniteSupport |
| 3 | |
| 4 | /-! # Sequence Finite Support -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceFiniteSupport |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A nonempty regular-sequence quotient has zero native Euler |
| 11 | pairing against any finite module supported at one point. The argument |
| 12 | uses the last scalar exact sequence, without a domain hypothesis. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | open _root_.CategoryTheory |
| 18 | open scoped Pointwise |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | open RingTheory.Sequence OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceModule |
| 23 | |
| 24 | variable (R : Type u) [CommRing R] |
| 25 | |
| 26 | def modelEquiv (rs : List R) : SequenceModule.quotient R rs ≃ₗ[R] R ⧸ (Ideal.ofList rs • (⊤ : Submodule R R)) := |
| 27 | Submodule.quotEquivOfEq _ _ (by rw [smul_eq_mul, Ideal.mul_top]) |
| 28 | |
| 29 | def outerEquiv (r : R) (rs : List R) : SequenceModule.quotient R (r :: rs) ≃ₗ[R] QuotSMulTop r (SequenceModule.quotient R rs) := |
| 30 | (modelEquiv R (r :: rs)).trans |
| 31 | ((Submodule.quotOfListConsSMulTopEquivQuotSMulTopOuter R r rs).trans |
| 32 | (QuotSMulTop.congr r (modelEquiv R rs).symm)) |
| 33 | |
| 34 | theorem regular_last [IsNoetherianRing R] [IsLocalRing R] |
| 35 | (r : R) (rs : List R) (hreg : IsRegular R (r :: rs)) : IsSMulRegular (SequenceModule.quotient R rs) r := by |
| 36 | have ht : IsRegular R (rs ++ [r]) := IsLocalRing.isRegular_of_perm hreg |
| 37 | (by simpa only [List.singleton_append] using (List.perm_append_comm (l₁ := [r]) (l₂ := rs))) |
| 38 | have hr := ((isWeaklyRegular_append_iff R rs [r]).mp ht.toIsWeaklyRegular).2 |
| 39 | have h := ((isWeaklyRegular_cons_iff _ r []).mp hr).1 |
| 40 | exact ((modelEquiv R rs).isSMulRegular_congr r).mpr h |
| 41 | |
| 42 | theorem euler_zero [IsNoetherianRing R] [IsLocalRing R] |
| 43 | (r : R) (rs : List R) (hreg : IsRegular R (r :: rs)) |
| 44 | (N : ModuleCat.{u} R) [Module.Finite R N] (p : PrimeSpectrum R) (hN : Module.support R N ⊆ {p}) : |
| 45 | Tor.Euler.euler R N (SequenceModule.quotient R (r :: rs)) (r :: rs).length = 0 := by |
| 46 | let := SequenceModule.projectiveDimension R (r :: rs) hreg |
| 47 | let e := outerEquiv R r rs |
| 48 | let : HasProjectiveDimensionLE (ModuleCat.of R (QuotSMulTop r (SequenceModule.quotient R rs))) (r :: rs).length := |
| 49 | hasProjectiveDimensionLT_of_iso e.toModuleIso ((r :: rs).length + 1) |
| 50 | have hz := QuotientFiniteSupport.euler_zero R (SequenceModule.quotient R rs) N r |
| 51 | (regular_last R r rs hreg) (r :: rs).length p hN |
| 52 | exact (Tor.EulerTransport.comm R N (SequenceModule.quotient R (r :: rs)) (r :: rs).length).trans |
| 53 | ((PrimeFiltrationEuler.euler_iso_left R e.toModuleIso N (r :: rs).length).trans hz) |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Regular.SequenceFiniteSupport |