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.Affine.CoefficientLifts |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Augmentation |
| 3 | |
| 4 | /-! # Coefficient Maps -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.CoefficientMaps |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Literal coefficient restriction and augmentation normalization for |
| 11 | arbitrary actual affine sheaf coefficients, including finite direct images. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | set_option backward.defeqAttrib.useBackward true |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 22 | |
| 23 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (r : Γ(X, U)) |
| 24 | (M : X.Modules) [M.IsQuasicoherent] |
| 25 | (D : ModuleCat Γ(X, U)) (D' : ModuleCat Γ(X, Sections.openSubset U r)) |
| 26 | (e : (AffineOpen.InternalHom.sections U hU).obj M ≅ D) |
| 27 | (e' : (AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).obj M ≅ D') |
| 28 | |
| 29 | def restriction (x : D) : D' := |
| 30 | e'.hom ((Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) M).hom |
| 31 | (M.presheaf.map (Sections.inclusion U r).op ((Affine.ChartSections.iso U hU M).inv (e.inv x)))) |
| 32 | |
| 33 | def tensorMap : (PrincipalComplex.tensorFunctor U r).obj D ⟶ D' := |
| 34 | (PrincipalComplex.tensorFunctor U r).map e.inv ≫ |
| 35 | (Hom.Comparison.chartIso U hU r M).hom ≫ e'.hom |
| 36 | |
| 37 | theorem tensorMap_tmul (a : Γ(X, Sections.openSubset U r)) (x : D) : |
| 38 | tensorMap U hU r M D D' e e' (a ⊗ₜ[Γ(X, U)] x) = |
| 39 | a • restriction U hU r M D D' e e' x := by |
| 40 | change e'.hom ((Hom.Comparison.chartIso U hU r M).hom |
| 41 | (a ⊗ₜ[Γ(X, U)] e.inv x)) = _ |
| 42 | have hc := Hom.Comparison.chartIso_tmul U hU r M a |
| 43 | ((Affine.ChartSections.iso U hU M).inv (e.inv x)) |
| 44 | have hy : (Affine.ChartSections.iso U hU M).hom |
| 45 | ((Affine.ChartSections.iso U hU M).inv (e.inv x)) = e.inv x := |
| 46 | ConcreteCategory.congr_hom (Affine.ChartSections.iso U hU M).inv_hom_id _ |
| 47 | rw [hy] at hc |
| 48 | rw [hc] |
| 49 | have hs := (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) M).hom.hom.map_smul a |
| 50 | (M.presheaf.map (Sections.inclusion U r).op ((Affine.ChartSections.iso U hU M).inv (e.inv x))) |
| 51 | exact (congrArg e'.hom hs).trans (e'.hom.hom.map_smul a _) |
| 52 | |
| 53 | theorem square : |
| 54 | (Hom.Comparison.chartIso U hU r M).hom ≫ e'.hom = |
| 55 | (PrincipalComplex.tensorFunctor U r).map e.hom ≫ |
| 56 | tensorMap U hU r M D D' e e' := by |
| 57 | simp only [tensorMap, ← Category.assoc, ← CategoryTheory.Functor.map_comp, |
| 58 | Iso.hom_inv_id, CategoryTheory.Functor.map_id, Category.id_comp] |
| 59 | |
| 60 | variable (K : ChainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 61 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 62 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 63 | [∀ q, Projective ((AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).obj (K.X q))] |
| 64 | |
| 65 | theorem augmentation : |
| 66 | (PrincipalComplex.chartIso U hU r (.down ℕ) K).hom.f 0 ≫ |
| 67 | (Affine.CoefficientLifts.resolution (Sections.openSubset U r) (hU.basicOpen r) K M ε D' e').π.f 0 = |
| 68 | (PrincipalComplex.tensorFunctor U r).map |
| 69 | ((Affine.CoefficientLifts.resolution U hU K M ε D e).π.f 0) ≫ |
| 70 | tensorMap U hU r M D D' e e' := by |
| 71 | have hC : (PrincipalComplex.chartIso U hU r (.down ℕ) K).hom.f 0 = |
| 72 | (Hom.Comparison.chartIso U hU r (K.X 0)).hom := rfl |
| 73 | have hn := Augmentation.chart_naturality U hU r |
| 74 | (show K.X 0 ⟶ M from ε.f 0) |
| 75 | rw [hC, Affine.CoefficientLifts.augmentation_zero, |
| 76 | Affine.CoefficientLifts.augmentation_zero, ← Category.assoc, hn, |
| 77 | Category.assoc, square U hU r M D D' e e', ← Category.assoc, |
| 78 | ← CategoryTheory.Functor.map_comp] |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.CoefficientMaps |