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.NumberTheory.PadicHodge.IntegralComparison.Koszul.CoefficientEvaluationHomotopy |
| 2 | |
| 3 | /-! # Coefficient Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.CoefficientCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The standard point coordinates preserve a map into any coefficient |
| 10 | resolution, rather than just the scalar normal resolution. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 12 | set_option backward.defeqAttrib.useBackward true |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution |
| 17 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 18 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 19 | {c m : ℕ} (s : Fin c → R) (t : Fin m → R) |
| 20 | (hst : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn (Fin.append s t))) |
| 21 | (M : ModuleCat.{u} R) (PM : ProjectiveResolution M) |
| 22 | (a : PM.complex ⟶ (KoszulPartial.Resolution.pointResolution R s t hst).complex) |
| 23 | {L K : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} R) ℕ} |
| 24 | (eP : HomotopyEquiv L (HomCoefficientFunctor.complex R (KoszulPartial.Fractions.modules R P) |
| 25 | (KoszulPartial.Resolution.pointResolution R s t hst).complex)) |
| 26 | (eN : HomotopyEquiv K (HomCoefficientFunctor.complex R (KoszulPartial.Fractions.modules R P) PM.complex)) |
| 27 | (r : L ⟶ K) |
| 28 | (h : Homotopy (r ≫ eN.hom) (eP.hom ≫ HomCoefficientFunctor.map R (KoszulPartial.Fractions.modules R P) a)) |
| 29 | |
| 30 | def homotopy : Homotopy (r ≫ eN.hom) |
| 31 | ((eP.trans (HomotopyEquiv.ofIso |
| 32 | (HomCoordinates.pointIso R P s t))).hom ≫ |
| 33 | Koszul.CoefficientEvaluationHomotopy.pointMap R P s t hst M PM a) := |
| 34 | h.trans (Homotopy.ofEq (by |
| 35 | change eP.hom ≫ HomCoefficientFunctor.map R (KoszulPartial.Fractions.modules R P) a = |
| 36 | (eP.hom ≫ (HomCoordinates.pointIso R P s t).hom) ≫ |
| 37 | ((HomCoordinates.pointIso R P s t).inv ≫ |
| 38 | HomCoefficientFunctor.map R (KoszulPartial.Fractions.modules R P) a) |
| 39 | simp only [Category.assoc, Iso.hom_inv_id_assoc])) |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPoint.CoefficientCoordinates |