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.Frame.GeometricCechExt |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CupRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.StructureCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FrameCech.FunctorCoordinates |
| 5 | |
| 6 | /-! # Geometric Cech Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricCechCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The native geometric ring Čech map has exactly the original sheaf |
| 13 | coordinates, including the canonical crystalline coefficient transport. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {p : ℕ} [Fact p.Prime] {B : Type u} [CommRing B] |
| 22 | {J : Ideal B} {δ : DividedPowers J} {X Y : Scheme.{u}} |
| 23 | {f : X ⟶ Spec (CommRingCat.of B)} {fY : Y ⟶ Spec (CommRingCat.of B)} |
| 24 | [IsSeparated f] [IsSeparated fY] |
| 25 | (g : X ⟶ Y) (hg : g ≫ fY = f) (n : ℕ) |
| 26 | {ι κ : Type u} (FX : ι → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) f n) |
| 27 | (FY : κ → BoundedCrystalline.Site.Objects (p := p) (J := J) (δ := δ) fY n) (ρ : ι → κ) |
| 28 | (α : ∀ i, (BoundedOpen.Equivalence.postcompose g hg n).obj (FX i) ⟶ FY (ρ i)) |
| 29 | |
| 30 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := B) |
| 31 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Equivalence.postcompose (p := p) (J := J) (δ := δ) g hg n |
| 32 | local notation "PX" => Functor.comp (Functor.op (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) f n)) |
| 33 | (BigCrystallineCohomology.largePresheaf f) |
| 34 | local notation "PY" => Functor.comp (Functor.op (OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.inclusion (p := p) (J := J) (δ := δ) fY n)) |
| 35 | (BigCrystallineCohomology.largePresheaf fY) |
| 36 | local notation "HY" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) fY n |
| 37 | local notation "HX" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) (J := J) (δ := δ) f n |
| 38 | local notation "S" => OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.PostcomposeTopology.restriction (p := p) (J := J) (δ := δ) g hg n |
| 39 | local notation "e" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedOpen.Sheaves.structureTransport (p := p) (J := J) (δ := δ) g hg n |
| 40 | local notation "U" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CechCup.forgetModule (B := B) |
| 41 | |
| 42 | local instance coefficientProducts : HasProducts.{u} (ModuleCat.{u + 1} R) := by |
| 43 | let h : HasLimitsOfSize.{u, u} (ModuleCat.{u + 1} R) := ModuleCat.hasLimitsOfSize.{u, u, u + 1, u + 1} |
| 44 | exact fun I => h.has_limits_of_shape (Discrete I) |
| 45 | |
| 46 | def coefficient (a : ℕ) (t : Fin (a + 1) → ι) : |
| 47 | (PY).obj (op (Presentation.TupleProducts.family.{u + 1, u} FY a (ρ ∘ t))) ⟶ |
| 48 | (PX).obj (op (Presentation.TupleProducts.family.{u + 1, u} FX a t)) := |
| 49 | (PY).map (Frame.TupleRefinement.map.{u + 1, u} T FX FY ρ α a t).op |
| 50 | |
| 51 | theorem coefficient_naturality (a b : ℕ) (θ : Fin (b + 1) → Fin (a + 1)) (t : Fin (a + 1) → ι) : |
| 52 | coefficient g hg n FX FY ρ α b (t ∘ θ) ≫ |
| 53 | (PX).map (Presentation.ResolutionFaceMaps.productMap.{u + 1, u} FX θ t).op = |
| 54 | (PY).map (Presentation.ResolutionFaceMaps.productMap.{u + 1, u} FY θ (ρ ∘ t)).op ≫ |
| 55 | coefficient g hg n FX FY ρ α a t := |
| 56 | ((U).map_comp |
| 57 | (BoundedCrystalline.CupRefinement.coefficient g hg n FX FY ρ α b (t ∘ θ)) |
| 58 | (((BoundedCrystalline.Site.inclusion f n).op ⋙ BoundedCrystalline.CechCup.structureAlgebraPresheaf f).map |
| 59 | (Presentation.ResolutionFaceMaps.productMap.{u + 1, u} FX θ t).op)).symm.trans |
| 60 | ((congrArg (U).map (BoundedCrystalline.CupRefinement.coefficient_naturality |
| 61 | g hg n FX FY ρ α a b θ t)).trans ((U).map_comp _ _)) |
| 62 | |
| 63 | def presheafMap : BoundedFrame.CechComplex.presheafComplex fY n FY ⟶ |
| 64 | BoundedFrame.CechComplex.presheafComplex f n FX := |
| 65 | (AlgebraicTopology.alternatingCofaceMapComplex (ModuleCat R)).map |
| 66 | (Frame.CosimplicialRefinement.map.{u + 1, u} FY FX ρ PY PX |
| 67 | (coefficient g hg n FX FY ρ α) (coefficient_naturality g hg n FX FY ρ α)) |
| 68 | |
| 69 | def coefficientMap : FrameCech.Differential.complex.{u + 1, u} FX R ((S).obj HY).obj ⟶ |
| 70 | BoundedFrame.CechComplex.complex f n FX := |
| 71 | (NonemptyCechNerve.complexFunctor FX).map (e).hom.hom |
| 72 | |
| 73 | def sheafMap : BoundedFrame.CechComplex.complex fY n FY ⟶ |
| 74 | BoundedFrame.CechComplex.complex f n FX := |
| 75 | Frame.GeometricCechExt.cochainMap.{u + 1, u} T FX FY ρ α R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n) HY ≫ |
| 76 | coefficientMap g hg n FX |
| 77 | |
| 78 | theorem coefficient_square (a : ℕ) (t : Fin (a + 1) → ι) : |
| 79 | coefficient g hg n FX FY ρ α a t ≫ |
| 80 | (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) f n).hom.app |
| 81 | (op (Presentation.TupleProducts.family.{u + 1, u} FX a t)) = |
| 82 | (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) fY n).hom.app |
| 83 | (op (Presentation.TupleProducts.family.{u + 1, u} FY a (ρ ∘ t))) ≫ |
| 84 | (HY).obj.map (Frame.TupleRefinement.map.{u + 1, u} T FX FY ρ α a t).op ≫ |
| 85 | (e).hom.hom.app (op (Presentation.TupleProducts.family.{u + 1, u} FX a t)) := by |
| 86 | let V := op (Presentation.TupleProducts.family.{u + 1, u} FX a t) |
| 87 | let W := op (Presentation.TupleProducts.family.{u + 1, u} FY a (ρ ∘ t)) |
| 88 | let b := (Frame.TupleRefinement.map.{u + 1, u} T FX FY ρ α a t).op |
| 89 | let eX := (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) f n).hom |
| 90 | let eY := (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) fY n).hom |
| 91 | have ht : eY.app ((T).op.obj V) ≫ (e).hom.hom.app V = eX.app V := |
| 92 | (congrArg (fun z => z.app V) (StructureCoordinates.coordinates n g hg)).trans (Category.id_comp _) |
| 93 | have hn : (PY).map b ≫ eY.app ((T).op.obj V) = eY.app W ≫ (HY).obj.map b := eY.naturality b |
| 94 | exact (congrArg (fun z => coefficient g hg n FX FY ρ α a t ≫ z) ht.symm).trans |
| 95 | ((Category.assoc _ _ _).symm.trans |
| 96 | ((congrArg (fun z => z ≫ (e).hom.hom.app V) hn).trans (Category.assoc _ _ _))) |
| 97 | |
| 98 | theorem complexes : presheafMap g hg n FX FY ρ α ≫ |
| 99 | (BoundedFrame.CechComplex.presheafIso f n FX).hom = |
| 100 | (BoundedFrame.CechComplex.presheafIso fY n FY).hom ≫ sheafMap g hg n FX FY ρ α := by |
| 101 | apply HomologicalComplex.Hom.ext |
| 102 | funext a |
| 103 | apply Pi.hom_ext |
| 104 | intro t |
| 105 | let VX := op (Presentation.TupleProducts.family.{u + 1, u} FX a t) |
| 106 | let VY := op (Presentation.TupleProducts.family.{u + 1, u} FY a (ρ ∘ t)) |
| 107 | let πPX := FrameCech.Differential.coordinate.{u + 1, u} FX R PX a t |
| 108 | let πPY := FrameCech.Differential.coordinate.{u + 1, u} FY R PY a (ρ ∘ t) |
| 109 | let πHX := FrameCech.Differential.coordinate.{u + 1, u} FX R (HX).obj a t |
| 110 | let πHY := FrameCech.Differential.coordinate.{u + 1, u} FY R (HY).obj a (ρ ∘ t) |
| 111 | let πH := FrameCech.Differential.coordinate.{u + 1, u} FX R ((S).obj HY).obj a t |
| 112 | let c := coefficient g hg n FX FY ρ α a t |
| 113 | let b := (HY).obj.map (Frame.TupleRefinement.map.{u + 1, u} T FX FY ρ α a t).op |
| 114 | let eX := (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) f n).hom.app VX |
| 115 | let eY := (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) fY n).hom.app VY |
| 116 | let s := (e).hom.hom.app VX |
| 117 | let q := (presheafMap g hg n FX FY ρ α).f a |
| 118 | let h := (sheafMap g hg n FX FY ρ α).f a |
| 119 | let u := (BoundedFrame.CechComplex.presheafIso f n FX).hom.f a |
| 120 | let v := (BoundedFrame.CechComplex.presheafIso fY n FY).hom.f a |
| 121 | let m := (Frame.GeometricCechExt.cochainMap.{u + 1, u} |
| 122 | T FX FY ρ α R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n) HY).f a |
| 123 | let d := (coefficientMap g hg n FX).f a |
| 124 | have hu : u ≫ πHX = πPX ≫ eX := |
| 125 | FrameCech.FunctorCoordinates.coordinate.{u + 1, u} FX R |
| 126 | (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) f n).hom a t |
| 127 | have hv : v ≫ πHY = πPY ≫ eY := |
| 128 | FrameCech.FunctorCoordinates.coordinate.{u + 1, u} FY R |
| 129 | (StructureCoordinates.presheafIso (p := p) (J := J) (δ := δ) fY n).hom a (ρ ∘ t) |
| 130 | have hq : q ≫ πPX = πPY ≫ c := Pi.lift_comp_π _ t |
| 131 | have hm : m ≫ πH = πHY ≫ b := |
| 132 | Frame.GeometricCechExt.cochainMap_coordinate.{u + 1, u} |
| 133 | T FX FY ρ α R (BoundedCrystalline.Site.topology f n) (BoundedCrystalline.Site.topology fY n) HY a t |
| 134 | have hd : d ≫ πHX = πH ≫ s := FrameCech.FunctorCoordinates.coordinate FX R (e).hom.hom a t |
| 135 | have hh : h ≫ πHX = πHY ≫ (b ≫ s) := |
| 136 | (Category.assoc m d πHX).trans |
| 137 | ((congrArg (fun z => m ≫ z) hd).trans |
| 138 | ((Category.assoc _ _ _).symm.trans |
| 139 | ((congrArg (fun z => z ≫ s) hm).trans (Category.assoc _ _ _)))) |
| 140 | have hl : (q ≫ u) ≫ πHX = πPY ≫ (c ≫ eX) := |
| 141 | (Category.assoc _ _ _).trans |
| 142 | ((congrArg (fun z => q ≫ z) hu).trans |
| 143 | ((Category.assoc _ _ _).symm.trans |
| 144 | ((congrArg (fun z => z ≫ eX) hq).trans (Category.assoc _ _ _)))) |
| 145 | have hr : (v ≫ h) ≫ πHX = πPY ≫ (eY ≫ b ≫ s) := |
| 146 | (Category.assoc _ _ _).trans |
| 147 | ((congrArg (fun z => v ≫ z) hh).trans |
| 148 | ((Category.assoc _ _ _).symm.trans |
| 149 | ((congrArg (fun z => z ≫ (b ≫ s)) hv).trans (Category.assoc _ _ _)))) |
| 150 | exact hl.trans ((congrArg (fun z => πPY ≫ z) (coefficient_square g hg n FX FY ρ α a t)).trans hr.symm) |
| 151 | |
| 152 | end |
| 153 | |
| 154 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.GeometricCechCoordinates |