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.Parameter.TorSpecialization |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TensorRegular |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.PrimeFiltrationEuler |
| 4 | |
| 5 | /-! # Euler Specialization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.EulerSpecialization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native Tor Euler characteristic on a regular parameter fiber |
| 12 | equals the alternating sum of principal Tor Euler characteristics |
| 13 | of the original Tor modules. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ScalarQuotient OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.ExactLength |
| 22 | |
| 23 | variable (R : Type u) [CommRing R] (r : R) |
| 24 | |
| 25 | theorem euler (hregular : IsSMulRegular R r) (M N : ModuleCat.{u} R) |
| 26 | (hM : IsSMulRegular M r) (hN : IsSMulRegular N r) |
| 27 | (d : ℕ) [HasProjectiveDimensionLE N d] |
| 28 | (hfin : ∀ i, Module.length (ScalarQuotient.Ring R r) |
| 29 | (((Tor (ModuleCat (ScalarQuotient.Ring R r)) i).obj ((ScalarQuotient.quotient R r).obj M)).obj |
| 30 | ((ScalarQuotient.quotient R r).obj N)) ≠ ⊤) : |
| 31 | ProjectionFormula.Tor.Euler.euler (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj M) ((ScalarQuotient.quotient R r).obj 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 := TorSpecialization.tensorComplex R M N P |
| 37 | have hK (i : ℕ) : IsSMulRegular (K.X i) r := |
| 38 | TensorRegular.resolution R r M N hM P i |
| 39 | have hlen (i : ℕ) := TorSpecialization.length R r hregular M N hN P i |
| 40 | have hfinite (i : ℕ) : |
| 41 | Module.length R ((QuotientComplex.complex R r K).homology i) ≠ ⊤ := by |
| 42 | rw [← hlen i] |
| 43 | exact hfin i |
| 44 | have hzero : IsZero ((QuotientComplex.complex R r K).homology (d + 1)) := by |
| 45 | rw [← HomologicalComplex.exactAt_iff_isZero_homology] |
| 46 | apply HomologicalComplex.ExactAt.of_isZero |
| 47 | exact (QuotientComplex.quotient R r).map_isZero |
| 48 | ((tensorLeft M).map_isZero (hP (d + 1) (by omega))) |
| 49 | have he := ComplexEuler.euler R r K hK hregular hfinite d hzero |
| 50 | have hleft : ProjectionFormula.Tor.Euler.euler (ScalarQuotient.Ring R r) ((ScalarQuotient.quotient R r).obj M) ((ScalarQuotient.quotient R r).obj N) d = |
| 51 | ∑ i ∈ Finset.range (d + 1), (-1 : ℚ) ^ i * |
| 52 | ExactLength.rationalLength R ((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 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.EulerSpecialization |