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.CanonicalSupportedLift |
| 2 | |
| 3 | /-! # Weighted Supported Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.WeightedSupportedLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Evaluation of finite quotient coefficients reduces to weighted |
| 10 | point quotients. Their supported fraction is normalized by the same |
| 11 | literal scalar, independently of every projective-resolution lift. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Fractions OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Components |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.Resolution OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.ResolutionSupportedUniqueness |
| 19 | |
| 20 | theorem dual_map_smul (R : Type u) [CommRing R] |
| 21 | {K L : ChainComplex (ModuleCat.{u} R) ℕ} (a : K ⟶ L) (r : R) : |
| 22 | DualComplexHomology.map R (r • a) = r • DualComplexHomology.map R a := by |
| 23 | apply HomologicalComplex.Hom.ext |
| 24 | funext n |
| 25 | apply ModuleCat.hom_ext |
| 26 | apply LinearMap.ext |
| 27 | intro φ |
| 28 | apply LinearMap.ext |
| 29 | intro x |
| 30 | exact φ.map_smul r _ |
| 31 | |
| 32 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 33 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 34 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 35 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 36 | (hs : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 37 | (hst : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn (Fin.append s t))) |
| 38 | (V : ProjectiveResolution (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.normalIdeal R s))) |
| 39 | (Q : ProjectiveResolution (ModuleCat.of R (R ⧸ KoszulPartial.Resolution.pointIdeal R s t))) |
| 40 | (r : R) (a : V.complex ⟶ Q.complex) |
| 41 | (ha : a ≫ Q.π = V.π ≫ (ChainComplex.single₀ (ModuleCat R)).map (r • KoszulPartial.Resolution.quotient R s t)) |
| 42 | |
| 43 | def ambient_homotopy : Homotopy (CanonicalSupportedLift.ambientMap R P s t hs V Q a) |
| 44 | ((r • ResolutionSupportedUniqueness.cochainMap R P U s t ht hst Q) ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) := by |
| 45 | have hb : (r • KoszulPartial.Resolution.inclusion R s t) ≫ (KoszulPartial.Resolution.pointResolution R s t hst).π = |
| 46 | (KoszulPartial.Resolution.normalResolution R s hs).π ≫ |
| 47 | (ChainComplex.single₀ (ModuleCat R)).map (r • KoszulPartial.Resolution.quotient R s t) := by |
| 48 | apply (ChainComplex.toSingle₀Equiv _ _).injective |
| 49 | apply Subtype.ext |
| 50 | change ((r • KoszulPartial.Resolution.inclusion R s t) ≫ (KoszulPartial.Resolution.pointResolution R s t hst).π).f 0 = |
| 51 | ((KoszulPartial.Resolution.normalResolution R s hs).π ≫ |
| 52 | (ChainComplex.single₀ (ModuleCat R)).map (r • KoszulPartial.Resolution.quotient R s t)).f 0 |
| 53 | have h := congrArg (fun z => z.f 0) (KoszulPartial.Resolution.augmentation R s t hs hst) |
| 54 | simp only [HomologicalComplex.comp_f, ChainComplex.single₀_map_f_zero] at h ⊢ |
| 55 | change (r • (KoszulPartial.Resolution.inclusion R s t).f 0) ≫ (KoszulPartial.Resolution.pointResolution R s t hst).π.f 0 = |
| 56 | (KoszulPartial.Resolution.normalResolution R s hs).π.f 0 ≫ (r • KoszulPartial.Resolution.quotient R s t) |
| 57 | rw [Linear.smul_comp, Linear.comp_smul, h] |
| 58 | let h := IntegralComparison.ProjectiveResolution.HomotopyNaturality.naturality |
| 59 | (ExactModuleDualFunctor.functor R) (r • KoszulPartial.Resolution.quotient R s t) |
| 60 | V (KoszulPartial.Resolution.normalResolution R s hs) Q (KoszulPartial.Resolution.pointResolution R s t hst) |
| 61 | a (r • KoszulPartial.Resolution.inclusion R s t) ha hb |
| 62 | have he : ((ResolutionSupportedUniqueness.equivalence R s t hst Q).hom ≫ |
| 63 | DualComplexHomology.map R (r • KoszulPartial.Resolution.inclusion R s t)) ≫ |
| 64 | KoszulPartial.CanonicalMap.scalarsMap R P s = |
| 65 | (r • ResolutionSupportedUniqueness.cochainMap R P U s t ht hst Q) ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s) := by |
| 66 | rw [dual_map_smul, Linear.comp_smul, Linear.smul_comp, Linear.smul_comp] |
| 67 | apply congrArg (fun z => r • z) |
| 68 | rw [ResolutionSupportedUniqueness.cochainMap, Category.assoc] |
| 69 | change _ = _ ≫ KoszulPartial.Forget.ambientMap R P U s t ht |
| 70 | rw [KoszulPartial.CanonicalMap.forget_factorization] |
| 71 | exact (Homotopy.ofEq (Category.assoc _ _ _).symm).trans |
| 72 | ((h.compRight (KoszulPartial.CanonicalMap.scalarsMap R P s)).trans (Homotopy.ofEq he)) |
| 73 | |
| 74 | def homotopy (f : DualComplexHomology.complex R Q.complex ⟶ |
| 75 | (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 76 | (hf : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 77 | (CanonicalSupportedLift.ambientMap R P s t hs V Q a)) : |
| 78 | Homotopy f (r • ResolutionSupportedUniqueness.cochainMap R P U s t ht hst Q) := |
| 79 | ResolutionSupportedUniqueness.homotopy R P U s t ht hst Q f _ |
| 80 | (hf.trans (ambient_homotopy R P U s t ht hs hst V Q r a ha)) |
| 81 | |
| 82 | include ha in |
| 83 | theorem homology (f : DualComplexHomology.complex R Q.complex ⟶ |
| 84 | (KoszulPartial.Components.target R P U s).total (.up ℕ)) |
| 85 | (hf : Homotopy (f ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s)) |
| 86 | (CanonicalSupportedLift.ambientMap R P s t hs V Q a)) (n : ℕ) : |
| 87 | homologyMap f n = r • KoszulPartial.SupportedMap.map R P U s t ht hst Q n := by |
| 88 | rw [← ResolutionSupportedUniqueness.cochainMap_homology, ← Resolution.CohomologyMaps.homologyMap_smul R] |
| 89 | exact (homotopy R P U s t ht hs hst V Q r a ha f hf).homologyMap_eq n |
| 90 | |
| 91 | end |
| 92 | |
| 93 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.WeightedSupportedLift |