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.ScalarQuotient |
| 2 | import Mathlib.CategoryTheory.Whiskering |
| 3 | |
| 4 | /-! # Tensor Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TensorComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tensor product of parameter quotients over the quotient ring |
| 11 | is naturally the parameter quotient of the original tensor product. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.MonoidalCategory |
| 16 | open _root_.CategoryTheory.Functor (isoWhiskerLeft isoWhiskerRight) |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.ScalarQuotient |
| 21 | |
| 22 | variable (R : Type u) [CommRing R] (r : R) |
| 23 | |
| 24 | def baseChangeIso : ScalarQuotient.quotient R r ≅ Flat.Extension.baseChange R (ScalarQuotient.Ring R r) := |
| 25 | NatIso.ofComponents (fun M => (ScalarQuotient.baseChangeEquiv R r M).toModuleIso) (by |
| 26 | intro M N f |
| 27 | apply ModuleCat.hom_ext |
| 28 | apply LinearMap.ext |
| 29 | intro x |
| 30 | exact LinearMap.congr_fun (QuotSMulTop.equivQuotTensor_naturality r f.hom) x) |
| 31 | |
| 32 | def restrictedBaseChangeIso : |
| 33 | Flat.Extension.baseChange R (ScalarQuotient.Ring R r) ⋙ |
| 34 | ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r})) ≅ |
| 35 | QuotientComplex.quotient R r := |
| 36 | isoWhiskerRight (baseChangeIso R r).symm _ ≪≫ ScalarQuotient.restrictionIso R r |
| 37 | |
| 38 | def tensorIso (M : ModuleCat.{u} R) : |
| 39 | ScalarQuotient.quotient R r ⋙ tensorLeft ((ScalarQuotient.quotient R r).obj M) ⋙ |
| 40 | ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r})) ≅ |
| 41 | tensorLeft M ⋙ QuotientComplex.quotient R r := |
| 42 | isoWhiskerRight (baseChangeIso R r) _ ≪≫ |
| 43 | isoWhiskerLeft (Flat.Extension.baseChange R (ScalarQuotient.Ring R r)) |
| 44 | (isoWhiskerRight ((tensoringLeft (ModuleCat (ScalarQuotient.Ring R r))).mapIso |
| 45 | ((baseChangeIso R r).app M)) _) ≪≫ |
| 46 | (Functor.associator (Flat.Extension.baseChange R (ScalarQuotient.Ring R r)) |
| 47 | (tensorLeft ((Flat.Extension.baseChange R (ScalarQuotient.Ring R r)).obj M)) |
| 48 | (ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r})))).symm ≪≫ |
| 49 | isoWhiskerRight (Flat.Extension.tensorIso R (ScalarQuotient.Ring R r) M) _ ≪≫ |
| 50 | Functor.associator (tensorLeft M) (Flat.Extension.baseChange R (ScalarQuotient.Ring R r)) |
| 51 | (ModuleCat.restrictScalars (Ideal.Quotient.mk (Ideal.span {r}))) ≪≫ |
| 52 | isoWhiskerLeft (tensorLeft M) (restrictedBaseChangeIso R r) |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.IntersectionTheory.ProjectionFormula.Parameter.TensorComparison |