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.Resolution |
| 2 | |
| 3 | /-! # Canonical Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.CanonicalMap |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Forgetting the support in the mixed partial-fraction map is the |
| 10 | canonical contravariant quotient map on Ext, followed by scalar extension |
| 11 | of its values. This normalization holds on the actual cochain maps. -/ |
| 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 {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 19 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 20 | {c m : ℕ} (U : ULift.{u} (Fin m) → C) (s : Fin c → R) (t : Fin m → R) |
| 21 | (ht : ∀ i, IsUnit (algebraMap R (P.obj (op (U i))) (t i.down))) |
| 22 | |
| 23 | def scalarsMap : DualComplexHomology.complex R (Koszul.OrientedTopCohomology.koszul R s) ⟶ |
| 24 | AugmentedOrdered.CechForget.ambientComplex (Components.coefficient R P s) where |
| 25 | f n := ModuleCat.ofHom |
| 26 | { toFun := fun φ => (Algebra.linearMap R (P.obj (op (⊤_ C)))).comp φ |
| 27 | map_add' := by intros; ext; simp |
| 28 | map_smul' := by intros; ext; simp [Algebra.smul_def] } |
| 29 | comm' i j hij := by |
| 30 | have hj : i + 1 = j := hij |
| 31 | subst j |
| 32 | apply ModuleCat.hom_ext |
| 33 | apply LinearMap.ext |
| 34 | intro φ |
| 35 | apply LinearMap.ext |
| 36 | intro x |
| 37 | change Module.Dual R (⋀[R]^i (Fractions.normal R (c := c))) at φ |
| 38 | dsimp only [DualComplexHomology.complex, Functor.mapHomologicalComplex_obj_d, |
| 39 | HomologicalComplex.op_d, ExactModuleDualFunctor.functor] |
| 40 | symm |
| 41 | change algebraMap R (P.obj (op (⊤_ C))) |
| 42 | (φ ((Koszul.OrientedTopCohomology.koszul R s).d (i + 1) i x)) = |
| 43 | (show (⋀[R]^(i + 1) (Fractions.normal R (c := c))) →ₗ[R] P.obj (op (⊤_ C)) from |
| 44 | ((Components.coefficient R P s).d i (i + 1)).app (op (⊤_ C)) |
| 45 | ((Algebra.linearMap R (P.obj (op (⊤_ C)))).comp φ)) x |
| 46 | rw [Exterior.KoszulHomotopy.complex_d] |
| 47 | change _ = (show (⋀[R]^(i + 1) (Fractions.normal R (c := c))) →ₗ[R] P.obj (op (⊤_ C)) from |
| 48 | ((Koszul.HomPresheaf.complex R (Fractions.normal R (c := c)) (Fractions.modules R P) |
| 49 | (Koszul.GeneratorMatrix.equation R s)).d i (i + 1)).app _ _) x |
| 50 | dsimp only [Koszul.HomPresheaf.complex] |
| 51 | rw [CochainComplex.of_d] |
| 52 | rfl |
| 53 | |
| 54 | theorem forget_factorization : Forget.ambientMap R P U s t ht = |
| 55 | DualComplexHomology.map R (Resolution.inclusion R s t) ≫ scalarsMap R P s := by |
| 56 | apply HomologicalComplex.Hom.ext |
| 57 | funext n |
| 58 | apply ModuleCat.hom_ext |
| 59 | apply LinearMap.ext |
| 60 | intro φ |
| 61 | apply LinearMap.ext |
| 62 | intro x |
| 63 | exact Forget.ambientMap_apply R P U s t ht n φ x |
| 64 | |
| 65 | theorem canonical_map |
| 66 | (hs : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn s)) |
| 67 | (hst : RingTheory.Sequence.IsWeaklyRegular R (List.ofFn (Fin.append s t))) (n : ℕ) : |
| 68 | homologyMap (Forget.ambientMap R P U s t ht) n = |
| 69 | Resolution.CohomologyMaps.map (ExactModuleDualFunctor.functor R) |
| 70 | (Resolution.normalResolution R s hs) |
| 71 | (Resolution.pointResolution R s t hst) |
| 72 | (Resolution.quotient R s t) n ≫ homologyMap (scalarsMap R P s) n := by |
| 73 | rw [forget_factorization, homologyMap_comp, |
| 74 | Resolution.canonical_map R s t (ExactModuleDualFunctor.functor R) hs hst n] |
| 75 | rfl |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.CanonicalMap |