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.HomCoefficientComplex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.KoszulPartial.CanonicalMap |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechForgetNaturality |
| 4 | |
| 5 | /-! # Hom Presheaf Map -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.HomPresheafMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Actual Koszul resolution maps act on the entire Hom coefficient |
| 12 | presheaf and commute with the literal scalar-extension cochain map. -/ |
| 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 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 20 | (R : Type u) [CommRing R] (P : Cᵒᵖ ⥤ CommAlgCat.{u} R) |
| 21 | {n m : ℕ} (s : Fin n → R) (t : Fin m → R) |
| 22 | (f : OrientedTopCohomology.koszul R s ⟶ |
| 23 | OrientedTopCohomology.koszul R t) |
| 24 | |
| 25 | def map : KoszulPartial.Components.coefficient R P t ⟶ KoszulPartial.Components.coefficient R P s := |
| 26 | (HomCoefficientComplex.iso R (Fin m → R) (KoszulPartial.Fractions.modules R P) |
| 27 | (GeneratorMatrix.equation R t)).inv ≫ |
| 28 | HomCoefficientFunctor.map R (KoszulPartial.Fractions.modules R P) f ≫ |
| 29 | (HomCoefficientComplex.iso R (Fin n → R) (KoszulPartial.Fractions.modules R P) |
| 30 | (GeneratorMatrix.equation R s)).hom |
| 31 | |
| 32 | omit [HasFiniteProducts C] in |
| 33 | theorem map_apply (q : ℕ) (a : Cᵒᵖ) |
| 34 | (φ : (⋀[R]^q (Fin m → R)) →ₗ[R] P.obj a) |
| 35 | (x : ⋀[R]^q (Fin n → R)) : |
| 36 | (show (⋀[R]^q (Fin n → R)) →ₗ[R] P.obj a from ((map R P s t f).f q).app a φ) x = |
| 37 | φ (f.f q x) := rfl |
| 38 | |
| 39 | @[reassoc] |
| 40 | theorem scalars : KoszulPartial.CanonicalMap.scalarsMap R P t ≫ |
| 41 | AugmentedOrdered.CechForgetNaturality.ambientMap (map R P s t f) = |
| 42 | DualComplexHomology.map R f ≫ KoszulPartial.CanonicalMap.scalarsMap R P s := by |
| 43 | apply HomologicalComplex.Hom.ext |
| 44 | funext q |
| 45 | apply ModuleCat.hom_ext |
| 46 | apply LinearMap.ext |
| 47 | intro φ |
| 48 | apply LinearMap.ext |
| 49 | intro x |
| 50 | rfl |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Koszul.HomPresheafMap |