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.OrientedPurity |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Hom |
| 3 | |
| 4 | /-! # Augmentation -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Augmentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original affine projective resolutions have the required |
| 11 | augmentation square under principal restriction. The only coefficient |
| 12 | condition is the literal normalization square for the resolved quotient. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Sections OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.InternalHom |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | |
| 23 | universe u |
| 24 | |
| 25 | variable {X : Scheme.{u}} (U : X.Opens) (hU : IsAffineOpen U) (r : Γ(X, U)) |
| 26 | |
| 27 | theorem chart_naturality {M N : X.Modules} [M.IsQuasicoherent] [N.IsQuasicoherent] |
| 28 | (f : M ⟶ N) : |
| 29 | (Hom.Comparison.chartIso U hU r M).hom ≫ |
| 30 | (AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).map f = |
| 31 | (PrincipalComplex.tensorFunctor U r).map ((AffineOpen.InternalHom.sections U hU).map f) ≫ |
| 32 | (Hom.Comparison.chartIso U hU r N).hom := by |
| 33 | let T := PrincipalComplex.tensorFunctor U r |
| 34 | have hP : |
| 35 | T.map ((Affine.ModuleExactSections.sections U).map f) ≫ |
| 36 | (Sections.iso U hU r N).toModuleIso.hom = |
| 37 | (Sections.iso U hU r M).toModuleIso.hom ≫ |
| 38 | (Affine.ModuleExactSections.sections (Sections.openSubset U r)).map f := by |
| 39 | apply ConcreteCategory.hom_ext |
| 40 | intro x |
| 41 | exact Sections.naturality U hU r f x |
| 42 | have hU' := (AffineOpen.LinearHom.sectionsIso U hU).inv.naturality f |
| 43 | have hV' := (AffineOpen.LinearHom.sectionsIso (Sections.openSubset U r) (hU.basicOpen r)).hom.naturality f |
| 44 | change (T.map (Affine.ChartSections.iso U hU M).inv ≫ |
| 45 | (Sections.iso U hU r M).toModuleIso.hom ≫ |
| 46 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) M).hom) ≫ _ = |
| 47 | T.map ((AffineOpen.InternalHom.sections U hU).map f) ≫ |
| 48 | (T.map (Affine.ChartSections.iso U hU N).inv ≫ |
| 49 | (Sections.iso U hU r N).toModuleIso.hom ≫ |
| 50 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) N).hom) |
| 51 | change (AffineOpen.InternalHom.sections U hU).map f ≫ (Affine.ChartSections.iso U hU N).inv = |
| 52 | (Affine.ChartSections.iso U hU M).inv ≫ (Affine.ModuleExactSections.sections U).map f at hU' |
| 53 | change (Affine.ModuleExactSections.sections (Sections.openSubset U r)).map f ≫ |
| 54 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) N).hom = |
| 55 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) M).hom ≫ |
| 56 | (AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).map f at hV' |
| 57 | simp only [Category.assoc] |
| 58 | rw [← hV'] |
| 59 | have hp := congrArg (fun a => T.map (Affine.ChartSections.iso U hU M).inv ≫ a ≫ |
| 60 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) N).hom) hP.symm |
| 61 | have hu := congrArg (fun a => T.map a ≫ (Sections.iso U hU r N).toModuleIso.hom ≫ |
| 62 | (Affine.ChartSections.iso (Sections.openSubset U r) (hU.basicOpen r) N).hom) hU'.symm |
| 63 | simp only [CategoryTheory.Functor.map_comp, Category.assoc] at hp hu |
| 64 | exact hp.trans hu |
| 65 | |
| 66 | variable (K : ChainComplex X.Modules ℕ) [∀ q, (K.X q).IsQuasicoherent] |
| 67 | (M : X.Modules) [M.IsQuasicoherent] |
| 68 | (ε : K ⟶ (ChainComplex.single₀ X.Modules).obj M) [QuasiIso ε] |
| 69 | [∀ q, Projective ((AffineOpen.InternalHom.sections U hU).obj (K.X q))] |
| 70 | |
| 71 | theorem augmentation_zero (I : Ideal Γ(X, U)) |
| 72 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) : |
| 73 | (Affine.OrientedPurity.resolution U hU K M ε I eM).π.f 0 = |
| 74 | (AffineOpen.InternalHom.sections U hU).map (ε.f 0) ≫ eM.hom := by |
| 75 | change (((AffineOpen.InternalHom.sections U hU).mapHomologicalComplex (.down ℕ)).map ε ≫ |
| 76 | (HomologicalComplex.singleMapHomologicalComplex (AffineOpen.InternalHom.sections U hU) (.down ℕ) 0).hom.app M ≫ |
| 77 | (ChainComplex.single₀ (ModuleCat Γ(X, U))).map eM.hom).f 0 = _ |
| 78 | rw [HomologicalComplex.comp_f, HomologicalComplex.comp_f, |
| 79 | ChainComplex.single₀_map_f_zero, HomologicalComplex.singleMapHomologicalComplex_hom_app_self] |
| 80 | simp only [ChainComplex.single₀ObjXSelf, Iso.refl_hom, CategoryTheory.Functor.map_id, |
| 81 | Category.id_comp] |
| 82 | rfl |
| 83 | |
| 84 | variable [∀ q, Projective ((AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).obj (K.X q))] |
| 85 | (I : Ideal Γ(X, U)) (J : Ideal Γ(X, Sections.openSubset U r)) |
| 86 | (eM : (AffineOpen.InternalHom.sections U hU).obj M ≅ ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) |
| 87 | (eM' : (AffineOpen.InternalHom.sections (Sections.openSubset U r) (hU.basicOpen r)).obj M ≅ |
| 88 | ModuleCat.of Γ(X, Sections.openSubset U r) (Γ(X, Sections.openSubset U r) ⧸ J)) |
| 89 | (q : (PrincipalComplex.tensorFunctor U r).obj |
| 90 | (ModuleCat.of Γ(X, U) (Γ(X, U) ⧸ I)) ⟶ |
| 91 | ModuleCat.of Γ(X, Sections.openSubset U r) (Γ(X, Sections.openSubset U r) ⧸ J)) |
| 92 | |
| 93 | theorem augmentation_square |
| 94 | (he : (Hom.Comparison.chartIso U hU r M).hom ≫ eM'.hom = |
| 95 | (PrincipalComplex.tensorFunctor U r).map eM.hom ≫ q) : |
| 96 | (PrincipalComplex.chartIso U hU r (.down ℕ) K).hom.f 0 ≫ |
| 97 | (Affine.OrientedPurity.resolution (Sections.openSubset U r) (hU.basicOpen r) K M ε J eM').π.f 0 = |
| 98 | (PrincipalComplex.tensorFunctor U r).map |
| 99 | ((Affine.OrientedPurity.resolution U hU K M ε I eM).π.f 0) ≫ q := by |
| 100 | have hC : (PrincipalComplex.chartIso U hU r (.down ℕ) K).hom.f 0 = |
| 101 | (Hom.Comparison.chartIso U hU r (K.X 0)).hom := rfl |
| 102 | have hn := chart_naturality U hU r (show K.X 0 ⟶ M from ε.f 0) |
| 103 | rw [hC, augmentation_zero, augmentation_zero, ← Category.assoc, hn, |
| 104 | Category.assoc, he, ← Category.assoc, ← CategoryTheory.Functor.map_comp] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Augmentation |