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.ResolutionSupportedUniqueness |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectiveResolution.HomotopyNaturality |
| 3 | |
| 4 | /-! # Canonical Supported Lift -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.CanonicalSupportedLift |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A supported lift of an actual augmentation-preserving point |
| 11 | quotient map agrees with the canonical mixed partial fraction map. |
| 12 | Both projective resolutions may be arbitrary. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | universe u |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResolutionSupportedUniqueness |
| 20 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 21 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 22 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 23 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 24 | (hs : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 25 | (hst : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn (Fin.append s t))) |
| 26 | (V : ProjectiveResolution (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.normalIdeal R s))) |
| 27 | (Q : ProjectiveResolution (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.pointIdeal R s t))) |
| 28 | (a : V.complex ⟶ Q.complex) |
| 29 | (ha : a ≫ Q.π = V.π ≫ (ChainComplex.single₀ (ModuleCat R)).map (KoszulPartial.Resolution.quotient R s t)) |
| 30 | |
| 31 | def ambientMap : DualComplexHomology.complex R Q.complex ⟶ AugmentedOrdered.CechForget.ambientComplex (KoszulPartial.Components.coefficient R P s) := |
| 32 | DualComplexHomology.map R a ≫ |
| 33 | (IntegralComparison.ProjectiveResolution.Hom.Comparison.homotopyEquiv (ExactModuleDualFunctor.functor R) |
| 34 | V (KoszulPartial.Resolution.normalResolution R s hs)).hom ≫ KoszulPartial.CanonicalMap.scalarsMap R P s |
| 35 | |
| 36 | def ambient_homotopy : Homotopy (ambientMap R P s t hs V Q a) |
| 37 | (ResolutionSupportedUniqueness.cochainMap R P U s t ht hst Q ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) := by |
| 38 | let h := IntegralComparison.ProjectiveResolution.HomotopyNaturality.naturality |
| 39 | (ExactModuleDualFunctor.functor R) (KoszulPartial.Resolution.quotient R s t) |
| 40 | V (KoszulPartial.Resolution.normalResolution R s hs) Q (KoszulPartial.Resolution.pointResolution R s t hst) |
| 41 | a (KoszulPartial.Resolution.inclusion R s t) ha (KoszulPartial.Resolution.augmentation R s t hs hst) |
| 42 | have he : ResolutionSupportedUniqueness.cochainMap R P U s t ht hst Q ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s) = |
| 43 | (ResolutionSupportedUniqueness.equivalence R s t hst Q).hom ≫ |
| 44 | DualComplexHomology.map R (KoszulPartial.Resolution.inclusion R s t) ≫ |
| 45 | KoszulPartial.CanonicalMap.scalarsMap R P s := by |
| 46 | rw [ResolutionSupportedUniqueness.cochainMap, Category.assoc] |
| 47 | change _ ≫ KoszulPartial.Forget.ambientMap R P U s t ht = _ |
| 48 | rw [KoszulPartial.CanonicalMap.forget_factorization] |
| 49 | exact (Homotopy.ofEq (Category.assoc _ _ _).symm).trans |
| 50 | ((h.compRight (KoszulPartial.CanonicalMap.scalarsMap R P s)).trans |
| 51 | (Homotopy.ofEq ((Category.assoc _ _ _).trans he.symm))) |
| 52 | |
| 53 | def homotopy (f : DualComplexHomology.complex R Q.complex ⟶ |
| 54 | (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 55 | (hf : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) (ambientMap R P s t hs V Q a)) : |
| 56 | Homotopy f (ResolutionSupportedUniqueness.cochainMap R P U s t ht hst Q) := |
| 57 | ResolutionSupportedUniqueness.homotopy R P U s t ht hst Q f _ |
| 58 | (hf.trans (ambient_homotopy R P U s t ht hs hst V Q a ha)) |
| 59 | |
| 60 | include ha in |
| 61 | theorem homology (f : DualComplexHomology.complex R Q.complex ⟶ |
| 62 | (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 63 | (hf : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) (ambientMap R P s t hs V Q a)) |
| 64 | (n : ℕ) : homologyMap f n = KoszulPartial.SupportedMap.map R P U s t ht hst Q n := by |
| 65 | rw [← ResolutionSupportedUniqueness.cochainMap_homology] |
| 66 | exact (homotopy R P U s t ht hs hst V Q a ha f hf).homologyMap_eq n |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.CanonicalSupportedLift |