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.KoszulPartial.CanonicalMap |
| 2 | |
| 3 | /-! # Duplicate Supported Lift -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.DuplicateSupportedLift |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An explicit supported lift for a Koszul complex when the support |
| 10 | parameters are already among its equations. The duplicate equations |
| 11 | are folded back before applying the genuine partial-fraction map. -/ |
| 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 | variable (R : Type u) [CommRing R] {n m : ℕ} |
| 19 | (s : Fin n → R) (t : Fin m → R) |
| 20 | (a : (Fin m → R) →ₗ[R] (Fin n → R)) |
| 21 | (ha : (GeneratorMatrix.equation R s).comp a = |
| 22 | GeneratorMatrix.equation R t) |
| 23 | |
| 24 | def fold : ((Fin n → R) × (Fin m → R)) →ₗ[R] (Fin n → R) := |
| 25 | LinearMap.coprod LinearMap.id a |
| 26 | |
| 27 | theorem fold_inl : (fold R a).comp (LinearMap.inl R _ _) = LinearMap.id := by |
| 28 | ext x i |
| 29 | simp [fold] |
| 30 | |
| 31 | include ha in |
| 32 | theorem equation_fold : (GeneratorMatrix.equation R s).comp (fold R a) = |
| 33 | KoszulPartial.Differential.equation R s t := by |
| 34 | apply LinearMap.ext |
| 35 | intro x |
| 36 | change GeneratorMatrix.equation R s (x.1 + a x.2) = _ |
| 37 | rw [map_add, show GeneratorMatrix.equation R s (a x.2) = |
| 38 | GeneratorMatrix.equation R t x.2 from LinearMap.congr_fun ha x.2] |
| 39 | rfl |
| 40 | |
| 41 | def foldMap : Exterior.KoszulComplex.complex R (KoszulPartial.Fractions.ambient R (c := n) (m := m)) |
| 42 | (KoszulPartial.Differential.equation R s t) ⟶ |
| 43 | OrientedTopCohomology.koszul R s := |
| 44 | Exterior.KoszulComplex.map R _ _ _ _ (fold R a) (equation_fold R s t a ha) |
| 45 | |
| 46 | theorem inclusion_fold : KoszulPartial.Resolution.inclusion R s t ≫ foldMap R s t a ha = |
| 47 | 𝟙 _ := by |
| 48 | apply HomologicalComplex.Hom.ext |
| 49 | funext q |
| 50 | apply ModuleCat.hom_ext |
| 51 | change (exteriorPower.map q (fold R a)).comp |
| 52 | (exteriorPower.map q (LinearMap.inl R _ _)) = LinearMap.id |
| 53 | rw [← exteriorPower.map_comp, fold_inl, exteriorPower.map_id] |
| 54 | |
| 55 | theorem dual_inclusion_fold : |
| 56 | DualComplexHomology.map R (foldMap R s t a ha) ≫ |
| 57 | DualComplexHomology.map R (KoszulPartial.Resolution.inclusion R s t) = 𝟙 _ := by |
| 58 | apply HomologicalComplex.Hom.ext |
| 59 | funext q |
| 60 | apply ModuleCat.hom_ext |
| 61 | apply LinearMap.ext |
| 62 | intro φ |
| 63 | apply LinearMap.ext |
| 64 | intro x |
| 65 | change Module.Dual R (⋀[R]^q (Fin n → R)) at φ |
| 66 | change (⋀[R]^q (Fin n → R)) at x |
| 67 | change φ ((exteriorPower.map q (fold R a)) |
| 68 | ((exteriorPower.map q (LinearMap.inl R _ _)) x)) = φ x |
| 69 | apply congrArg φ |
| 70 | have he : (exteriorPower.map q (fold R a)).comp |
| 71 | (exteriorPower.map q (LinearMap.inl R _ _)) = LinearMap.id := by |
| 72 | rw [← exteriorPower.map_comp, fold_inl, exteriorPower.map_id] |
| 73 | exact LinearMap.congr_fun he x |
| 74 | |
| 75 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 76 | (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) (U : ULift.{u} (Fin m) → C) |
| 77 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 78 | |
| 79 | def lift : DualComplexHomology.complex R (OrientedTopCohomology.koszul R s) ⟶ |
| 80 | (KoszulPartial.Components.target R P U s).total (.up ℕ) := |
| 81 | DualComplexHomology.map R (foldMap R s t a ha) ≫ |
| 82 | KoszulPartial.Total.map R P U s t ht |
| 83 | |
| 84 | @[reassoc] |
| 85 | theorem lift_forget : lift R s t a ha P U ht ≫ AugmentedOrdered.CechForget.forgetSupport U (KoszulPartial.Components.coefficient R P s) = |
| 86 | KoszulPartial.CanonicalMap.scalarsMap R P s := by |
| 87 | dsimp only [lift] |
| 88 | rw [Category.assoc] |
| 89 | change DualComplexHomology.map R (foldMap R s t a ha) ≫ |
| 90 | KoszulPartial.Forget.ambientMap R P U s t ht = _ |
| 91 | rw [KoszulPartial.CanonicalMap.forget_factorization, ← Category.assoc, |
| 92 | dual_inclusion_fold, Category.id_comp] |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.DuplicateSupportedLift |