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.AffinePrincipal.Sections |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.IntrinsicScalarExtension |
| 3 | |
| 4 | /-! # Principal Complex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.PrincipalComplex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The principal-open section comparison is an isomorphism of the |
| 11 | actual complexes, natural for their original maps and augmentations. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections |
| 22 | |
| 23 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (r : Γ(X, U)) |
| 24 | |
| 25 | local instance chart_sections_additive (W : X.Opens) (hW : IsAffineOpen W) : |
| 26 | (AffineOpen.InternalHom.sections W hW).Additive where |
| 27 | map_add := rfl |
| 28 | |
| 29 | abbrev tensorFunctor := AlgebraicGeometry.Crystalline.Cohomology.IntrinsicScalarExtension.functor Γ(X, U) Γ(X, Sections.openSubset U r) |
| 30 | |
| 31 | variable {ι : Type v} (c : ComplexShape ι) (K : HomologicalComplex X.Modules c) |
| 32 | [∀ i, (K.X i).IsQuasicoherent] |
| 33 | |
| 34 | def iso : |
| 35 | ((tensorFunctor U r).mapHomologicalComplex c).obj |
| 36 | (((Affine.ModuleExactSections.sections U).mapHomologicalComplex c).obj K) ≅ |
| 37 | (((Affine.ModuleExactSections.sections (Sections.openSubset U r)).mapHomologicalComplex c).obj K) := |
| 38 | HomologicalComplex.Hom.isoOfComponents (fun i => (Sections.iso U hU r (K.X i)).toModuleIso) |
| 39 | (by |
| 40 | intro i j hij |
| 41 | apply ConcreteCategory.hom_ext |
| 42 | intro x |
| 43 | exact (Sections.naturality U hU r (K.d i j) x).symm) |
| 44 | |
| 45 | theorem iso_tmul (i : ι) (a : Γ(X, Sections.openSubset U r)) (m : Γ(K.X i, U)) : |
| 46 | (iso U hU r c K).hom.f i (a ⊗ₜ[Γ(X, U)] m) = |
| 47 | a • (K.X i).presheaf.map (Sections.inclusion U r).op m := rfl |
| 48 | |
| 49 | variable {K} {L : HomologicalComplex X.Modules c} [∀ i, (L.X i).IsQuasicoherent] |
| 50 | |
| 51 | @[reassoc] |
| 52 | theorem naturality (f : K ⟶ L) : |
| 53 | ((tensorFunctor U r).mapHomologicalComplex c).map |
| 54 | (((Affine.ModuleExactSections.sections U).mapHomologicalComplex c).map f) ≫ |
| 55 | (iso U hU r c L).hom = |
| 56 | (iso U hU r c K).hom ≫ |
| 57 | (((Affine.ModuleExactSections.sections (Sections.openSubset U r)).mapHomologicalComplex c).map f) := by |
| 58 | apply HomologicalComplex.Hom.ext |
| 59 | funext i |
| 60 | apply ConcreteCategory.hom_ext |
| 61 | intro x |
| 62 | exact Sections.naturality U hU r (f.f i) x |
| 63 | |
| 64 | variable (K) |
| 65 | |
| 66 | def chartIso : |
| 67 | ((tensorFunctor U r).mapHomologicalComplex c).obj |
| 68 | (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex c).obj K) ≅ |
| 69 | (((AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).mapHomologicalComplex c).obj K) := |
| 70 | ((tensorFunctor U r).mapHomologicalComplex c).mapIso |
| 71 | ((NatIso.mapHomologicalComplex (AffineOpen.LinearHom.sectionsIso U hU) c).app K).symm ≪≫ |
| 72 | iso U hU r c K ≪≫ |
| 73 | (NatIso.mapHomologicalComplex |
| 74 | (AffineOpen.LinearHom.sectionsIso (Sections.openSubset U r) (hU.basicOpen r)) c).app K |
| 75 | |
| 76 | theorem chartIso_tmul (i : ι) (a : Γ(X, Sections.openSubset U r)) (m : Γ(K.X i, U)) : |
| 77 | (chartIso U hU r c K).hom.f i |
| 78 | (a ⊗ₜ[Γ(X, U)] (Affine.ChartSections.iso U hU (K.X i)).hom m) = |
| 79 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) (K.X i)).hom |
| 80 | (a • (K.X i).presheaf.map (Sections.inclusion U r).op m) := by |
| 81 | change (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) (K.X i)).hom |
| 82 | (Sections.iso U hU r (K.X i) |
| 83 | (((Affine.ChartSections.iso U hU (K.X i)).inv.hom.baseChange Γ(X, Sections.openSubset U r)) |
| 84 | (a ⊗ₜ[Γ(X, U)] (Affine.ChartSections.iso U hU (K.X i)).hom m))) = _ |
| 85 | rw [LinearMap.baseChange_tmul, Iso.hom_inv_id_apply, Sections.iso_tmul] |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.PrincipalComplex |