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.Resolution |
| 2 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TensorComparison |
| 3 | import OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ComplexEuler |
| 4 | |
| 5 | /-! # Tor Specialization -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TorSpecialization |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Native Tor over a regular parameter fiber is the homology of |
| 12 | the original tensor resolution reduced modulo the parameter. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.MonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ScalarQuotient |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] (r : R) |
| 23 | (hregular : IsSMulRegular R r) |
| 24 | (M N : ModuleCat.{u} R) (hN : IsSMulRegular N r) |
| 25 | (P : ProjectiveResolution N) |
| 26 | |
| 27 | def tensorComplex : ChainComplex (ModuleCat.{u} R) ℕ := |
| 28 | ((tensorLeft M).mapHomologicalComplex (ComplexShape.down ℕ)).obj P.complex |
| 29 | |
| 30 | def torIso (i : ℕ) : |
| 31 | (ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r}))).obj |
| 32 | (((Tor (ModuleCat (ScalarQuotient.Ring R r)) i).obj ((ScalarQuotient.quotient R r).obj M)).obj |
| 33 | ((ScalarQuotient.quotient R r).obj N)) ≅ |
| 34 | (QuotientComplex.complex R r (tensorComplex R M N P)).homology i := by |
| 35 | let U := ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r})) |
| 36 | let Q := Resolution.resolution R r hregular N hN P |
| 37 | let L := ((tensorLeft ((ScalarQuotient.quotient R r).obj M)).mapHomologicalComplex |
| 38 | (ComplexShape.down ℕ)).obj Q.complex |
| 39 | refine U.mapIso (Q.isoLeftDerivedObj (tensorLeft ((ScalarQuotient.quotient R r).obj M)) i) ≪≫ |
| 40 | ((L.sc i).mapHomologyIso U).symm ≪≫ ?_ |
| 41 | exact (HomologicalComplex.homologyFunctor (ModuleCat R) (ComplexShape.down ℕ) i).mapIso |
| 42 | ((NatIso.mapHomologicalComplex (TensorComparison.tensorIso R r M) |
| 43 | (ComplexShape.down ℕ)).app P.complex) |
| 44 | |
| 45 | include hregular hN in |
| 46 | theorem length (i : ℕ) : |
| 47 | Module.length (ScalarQuotient.Ring R r) |
| 48 | (((Tor (ModuleCat (ScalarQuotient.Ring R r)) i).obj ((ScalarQuotient.quotient R r).obj M)).obj |
| 49 | ((ScalarQuotient.quotient R r).obj N)) = |
| 50 | Module.length R |
| 51 | ((QuotientComplex.complex R r (tensorComplex R M N P)).homology i) := by |
| 52 | let T := (((Tor (ModuleCat (ScalarQuotient.Ring R r)) i).obj ((ScalarQuotient.quotient R r).obj M)).obj |
| 53 | ((ScalarQuotient.quotient R r).obj N)) |
| 54 | let : Module R T := Module.compHom T (algebraMap R (ScalarQuotient.Ring R r)) |
| 55 | let : IsScalarTower R (ScalarQuotient.Ring R r) T := IsScalarTower.of_compHom R (ScalarQuotient.Ring R r) T |
| 56 | have heq : Module.length R |
| 57 | ((ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r}))).obj T) = |
| 58 | Module.length (ScalarQuotient.Ring R r) T := |
| 59 | Module.length_eq_of_surjective (M := T) Ideal.Quotient.mk_surjective |
| 60 | exact heq.symm.trans (torIso R r hregular M N hN P i).toLinearEquiv.length_eq |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TorSpecialization |