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.GeometricComparison.Frame.OpenSectionNaturality |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.FixedFrameDiagonalNaturality |
| 3 | |
| 4 | /-! # Family Sections -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original absolute-to-relative frame maps on a whole family |
| 11 | of opens are natural under a morphism of bounded crystalline frames. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | universe u v w |
| 19 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] {J : Ideal B} {δ : DividedPowers J} |
| 20 | {Y : Scheme.{u}} (f : Y ⟶ Spec (CommRingCat.of B)) [IsSeparated f] (n : ℕ) |
| 21 | {C : Type v} [Category.{w} C] (O : C ⥤ Y.Opensᵒᵖ) |
| 22 | |
| 23 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 24 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.ModuleSheaf (p := p) (J := J) (δ := δ) f n |
| 25 | local notation "Frames" => (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ |
| 26 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.ResolutionFunctor.BoundedFrameResolutionFunctor.sheafFunctor (p := p) (J := J) (δ := δ) f n |
| 27 | |
| 28 | abbrev restriction : (Y.Opensᵒᵖ ⥤ ModuleCat.{u + 2} R) ⥤ (C ⥤ ModuleCat.{u + 2} R) := |
| 29 | (Functor.whiskeringLeft _ _ _).obj O |
| 30 | |
| 31 | abbrev sections : A ⥤ C ⥤ ModuleCat.{u + 2} R := |
| 32 | BoundedOpen.SectionComplex.functor (p := p) (J := J) (δ := δ) f n ⋙ restriction O |
| 33 | |
| 34 | local instance constPreservesZero : |
| 35 | (Functor.const C : ModuleCat.{u + 2} R ⥤ C ⥤ ModuleCat.{u + 2} R).PreservesZeroMorphisms where |
| 36 | map_zero _ _ := rfl |
| 37 | |
| 38 | variable (G : C ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 39 | |
| 40 | abbrev source := G ⋙ GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source (p := p) (J := J) (δ := δ) f n |
| 41 | abbrev diagram := G ⋙ Q |
| 42 | |
| 43 | def openTransformation : source f n G ⋙ |
| 44 | (Functor.const C : ModuleCat.{u + 2} R ⥤ C ⥤ ModuleCat.{u + 2} R).mapHomologicalComplex (.up ℕ) ⟶ |
| 45 | diagram f n G ⋙ (sections f n O).mapHomologicalComplex (.up ℕ) := |
| 46 | Functor.whiskerRight (Functor.whiskerLeft G (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation f n)) |
| 47 | ((restriction O).mapHomologicalComplex (.up ℕ)) |
| 48 | |
| 49 | variable {G} {G' : C ⥤ (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ} |
| 50 | (τ : G ⟶ G') |
| 51 | |
| 52 | theorem open_naturality : openTransformation f n O G ≫ |
| 53 | Functor.whiskerRight (Functor.whiskerRight τ Q) ((sections f n O).mapHomologicalComplex (.up ℕ)) = |
| 54 | Functor.whiskerRight (Functor.whiskerRight τ (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source f n)) |
| 55 | ((Functor.const C : ModuleCat.{u + 2} R ⥤ C ⥤ ModuleCat.{u + 2} R).mapHomologicalComplex (.up ℕ)) ≫ |
| 56 | openTransformation f n O G' := by |
| 57 | apply NatTrans.ext |
| 58 | funext r |
| 59 | apply HomologicalComplex.Hom.ext |
| 60 | funext q |
| 61 | apply NatTrans.ext |
| 62 | funext t |
| 63 | exact (congrArg (fun a => (a.f q).app (O.obj t)) |
| 64 | ((GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.openTransformation f n).naturality (τ.app r))).symm |
| 65 | |
| 66 | variable (F : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ) |
| 67 | (ρ : (Functor.const C).obj F ⟶ G) |
| 68 | |
| 69 | def cone : (Functor.const C).obj ((Q).obj F) ⟶ diagram f n G := |
| 70 | (Functor.constComp C F Q).inv ≫ Functor.whiskerRight ρ Q |
| 71 | |
| 72 | theorem cone_app (r : C) : (cone f n F ρ).app r = (Q).map (ρ.app r) := |
| 73 | Category.id_comp _ |
| 74 | |
| 75 | variable {F} {F' : (BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n)ᵒᵖ} |
| 76 | (ρ' : (Functor.const C).obj F' ⟶ G') (a : F ⟶ F') |
| 77 | |
| 78 | theorem cone_naturality (h : ∀ r, ρ.app r ≫ τ.app r = a ≫ ρ'.app r) : |
| 79 | cone f n F ρ ≫ Functor.whiskerRight τ Q = |
| 80 | (Functor.const C).map ((Q).map a) ≫ cone f n F' ρ' := by |
| 81 | apply NatTrans.ext |
| 82 | funext r |
| 83 | simp only [NatTrans.comp_app, cone_app, Functor.whiskerRight_app, Functor.const_map_app] |
| 84 | exact ((Q).map_comp _ _).symm.trans ((congrArg (Q).map (h r)).trans ((Q).map_comp _ _)) |
| 85 | |
| 86 | theorem fixed_naturality |
| 87 | [IsIso (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map (sections f n O) ((Q).obj F) (diagram f n G) (cone f n F ρ))] |
| 88 | [IsIso (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map (sections f n O) ((Q).obj F') (diagram f n G') (cone f n F' ρ'))] |
| 89 | (h : ∀ r, ρ.app r ≫ τ.app r = a ≫ ρ'.app r) : |
| 90 | (GeometricComparison.FixedFrameDiagonalNaturality.FixedFrameSectionNaturality.diagonal (sections f n O) (source f n G) (diagram f n G) |
| 91 | (openTransformation f n O G) ≫ |
| 92 | inv (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map (sections f n O) ((Q).obj F) (diagram f n G) (cone f n F ρ))) ≫ |
| 93 | ((sections f n O).mapHomologicalComplex (.up ℕ)).map ((Q).map a) = |
| 94 | AlgebraicGeometry.Crystalline.Cohomology.ComplexAssemblyQuasi.ComplexAssembly.map (.up ℕ) (Functor.whiskerRight τ (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source f n)) ≫ |
| 95 | (GeometricComparison.FixedFrameDiagonalNaturality.FixedFrameSectionNaturality.diagonal (sections f n O) (source f n G') (diagram f n G') |
| 96 | (openTransformation f n O G') ≫ |
| 97 | inv (GeometricComparison.FixedDiagramTransformation.FixedDiagramSections.map (sections f n O) ((Q).obj F') (diagram f n G') (cone f n F' ρ'))) := |
| 98 | GeometricComparison.FixedFrameDiagonalNaturality.FixedFrameSectionNaturality.fixed_naturality (sections f n O) |
| 99 | (source f n G) (source f n G') (diagram f n G) (diagram f n G') |
| 100 | (openTransformation f n O G) (openTransformation f n O G') |
| 101 | (cone f n F ρ) (cone f n F' ρ') |
| 102 | (Functor.whiskerRight τ (GeometricComparison.Frame.OpenSectionNaturality.FrameOpenSectionNaturality.source f n)) ((Q).map a) (Functor.whiskerRight τ Q) |
| 103 | (cone_naturality f n τ ρ ρ' a h) (open_naturality f n O τ) |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedFrame.FamilySections.Family |