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.AlgebraicGeometry.Crystalline.Cohomology.Cech.Augmentation |
| 2 | |
| 3 | /-! # Augmentation Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentationRestriction.CechAugmentationRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Restricting the canonical Čech augmentation |
| 11 | |
| 12 | The comparison of Čech complexes under an open immersion carries the |
| 13 | canonical restriction augmentation to the local canonical augmentation. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory Limits Opposite _root_.AlgebraicGeometry Simplicial |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | theorem map_lift_comp_piComparison {A B : Type*} [Category A] [Category B] |
| 21 | [HasProducts.{u} A] [HasProducts.{u} B] (G : A ⥤ B) |
| 22 | {ι : Type u} {P : A} (X : ι → A) (f : ∀ i, P ⟶ X i) : |
| 23 | G.map (Pi.lift f) ≫ piComparison G X = Pi.lift (fun i => G.map (f i)) := by |
| 24 | apply Pi.hom_ext |
| 25 | intro i |
| 26 | simp only [Category.assoc, piComparison_comp_π, ← G.map_comp, Pi.lift_comp_π] |
| 27 | |
| 28 | theorem lift_comp_map {A : Type*} [Category A] [HasProducts.{u} A] |
| 29 | {ι : Type u} {P : A} (X Y : ι → A) (a : ∀ i, P ⟶ X i) (b : ∀ i, X i ⟶ Y i) : |
| 30 | Pi.lift a ≫ Limits.Pi.map b = Pi.lift (fun i => a i ≫ b i) := by |
| 31 | apply Pi.hom_ext |
| 32 | intro i |
| 33 | simp only [Category.assoc, Pi.map_π, Pi.lift_comp_π_assoc, Pi.lift_comp_π] |
| 34 | |
| 35 | theorem map_lift_comp_maps {A B : Type*} [Category A] [Category B] |
| 36 | [HasProducts.{u} A] [HasProducts.{u} B] (G : A ⥤ B) |
| 37 | {ι : Type u} {P : A} (X : ι → A) (Y Z : ι → B) |
| 38 | (a : ∀ i, P ⟶ X i) (b : ∀ i, G.obj (X i) ⟶ Y i) (e : ∀ i, Y i ≅ Z i) : |
| 39 | G.map (Pi.lift a) ≫ ((𝟙 _ ≫ piComparison G X) ≫ Limits.Pi.map b ≫ (Pi.mapIso e).hom) = |
| 40 | Pi.lift (fun i => G.map (a i) ≫ b i ≫ (e i).hom) := by |
| 41 | apply Pi.hom_ext |
| 42 | intro i |
| 43 | simp only [Category.assoc, Category.id_comp, Pi.mapIso_hom_π, Pi.map_π_assoc, |
| 44 | piComparison_comp_π_assoc, Pi.lift_comp_π] |
| 45 | rw [← Category.assoc, ← G.map_comp, Pi.lift_comp_π] |
| 46 | |
| 47 | variable (R : Type u) [CommRing R] {X Y : Scheme.{u}} (f : Y ⟶ X) [IsOpenImmersion f] |
| 48 | (P : Presheaf.CechPresheaf.Presheaves R X) {ι : Type u} (U : ι → X.Opens) |
| 49 | |
| 50 | theorem restriction_comp_iso_zero : |
| 51 | (Cover.CechRestriction.restrictionFunctor R f).map ((Presheaf.CechPresheaf.restriction R X U P).app ⦋0⦌) ≫ |
| 52 | (Cover.CechRestriction.complexIso R f P U).hom.f 0 = |
| 53 | (Presheaf.CechPresheaf.restriction R Y (fun i => f ⁻¹ᵁ U i) |
| 54 | ((Cover.CechRestriction.restrictionFunctor R f).obj P)).app ⦋0⦌ := by |
| 55 | dsimp only [Cover.CechRestriction.complexIso, Iso.trans_hom, HomologicalComplex.comp_f, |
| 56 | CoefficientChange.CechCoefficientChange.complexIso, CoefficientChange.CechCoefficientChange.mapCofaceIso, |
| 57 | BaseChange.CechBaseChange.complexIso] |
| 58 | let G := Cover.CechRestriction.restrictionFunctor R f |
| 59 | let A := (FormalCoproduct.mk ι U).cech.obj (op ⦋0⦌) |
| 60 | let B := (FormalCoproduct.mk ι (fun i => f ⁻¹ᵁ U i)).cech.obj (op ⦋0⦌) |
| 61 | change G.map (Pi.lift (fun t : A.I => Presheaf.CechPresheaf.restrictToIntersection R X P (A.obj t))) ≫ |
| 62 | ((𝟙 _ ≫ piComparison G (fun t : A.I => Presheaf.CechPresheaf.intersection R X P (A.obj t))) ≫ |
| 63 | Limits.Pi.map (fun t : A.I => (Cover.CechRestriction.coefficientsIso R f P).hom.app (op (A.obj t))) ≫ |
| 64 | (BaseChange.CechBaseChange.componentIso (Cover.CechRestriction.preimageFunctor f) U |
| 65 | (Presheaf.CechPresheaf.intersectionCoefficients R Y (G.obj P)) ⦋0⦌).hom) = |
| 66 | Pi.lift (fun t : B.I => Presheaf.CechPresheaf.restrictToIntersection R Y (G.obj P) (B.obj t)) |
| 67 | refine (map_lift_comp_maps G |
| 68 | (fun t : Fin 1 → ι => Presheaf.CechPresheaf.intersection R X P (∏ᶜ (U ∘ t))) |
| 69 | (fun t : Fin 1 → ι => Presheaf.CechPresheaf.intersection R Y (G.obj P) (f ⁻¹ᵁ (∏ᶜ (U ∘ t)))) |
| 70 | (fun t : Fin 1 → ι => Presheaf.CechPresheaf.intersection R Y (G.obj P) (∏ᶜ (fun i => f ⁻¹ᵁ U (t i)))) |
| 71 | (fun t => Presheaf.CechPresheaf.restrictToIntersection R X P (∏ᶜ (U ∘ t))) |
| 72 | (fun t => (Cover.CechRestriction.coefficientsIso R f P).hom.app (op (∏ᶜ (U ∘ t)))) |
| 73 | (fun t => (Presheaf.CechPresheaf.intersectionCoefficients R Y (G.obj P)).mapIso |
| 74 | (PreservesProduct.iso (Cover.CechRestriction.preimageFunctor f) (U ∘ t)).symm.op)).trans ?_ |
| 75 | congr 1 |
| 76 | funext t |
| 77 | apply NatTrans.ext |
| 78 | funext V |
| 79 | change P.map _ ≫ P.map _ ≫ P.map _ = P.map _ |
| 80 | rw [← P.map_comp, ← P.map_comp] |
| 81 | congr 1 |
| 82 | |
| 83 | theorem from_mapped_single_hom_ext {A B : Type*} [Category A] [Category B] |
| 84 | [Preadditive A] [Preadditive B] [HasZeroObject A] [HasZeroObject B] |
| 85 | (G : A ⥤ B) [G.Additive] (P : A) {K : CochainComplex B ℕ} |
| 86 | (φ ψ : ((G.mapHomologicalComplex (ComplexShape.up ℕ)).obj |
| 87 | ((CochainComplex.single₀ A).obj P)) ⟶ K) (h : φ.f 0 = ψ.f 0) : φ = ψ := by |
| 88 | ext n : 1 |
| 89 | by_cases hn : n = 0 |
| 90 | · subst n |
| 91 | exact h |
| 92 | · exact (G.map_isZero (HomologicalComplex.isZero_single_obj_X |
| 93 | (ComplexShape.up ℕ) 0 P n hn)).eq_of_src _ _ |
| 94 | |
| 95 | /-- The restriction comparison preserves the canonical augmentation as a map of complexes. -/ |
| 96 | theorem augmentation_comp_iso : |
| 97 | ((Cover.CechRestriction.restrictionFunctor R f).mapHomologicalComplex (ComplexShape.up ℕ)).map |
| 98 | (Presheaf.CechPresheaf.augmentation R X U P) ≫ (Cover.CechRestriction.complexIso R f P U).hom = |
| 99 | ((HomologicalComplex.singleMapHomologicalComplex (Cover.CechRestriction.restrictionFunctor R f) |
| 100 | (ComplexShape.up ℕ) 0).hom.app P) ≫ |
| 101 | Presheaf.CechPresheaf.augmentation R Y (fun i => f ⁻¹ᵁ U i) |
| 102 | ((Cover.CechRestriction.restrictionFunctor R f).obj P) := by |
| 103 | apply from_mapped_single_hom_ext |
| 104 | change (Cover.CechRestriction.restrictionFunctor R f).map ((Presheaf.CechPresheaf.augmentation R X U P).f 0) ≫ |
| 105 | (Cover.CechRestriction.complexIso R f P U).hom.f 0 = |
| 106 | 𝟙 _ ≫ (Presheaf.CechPresheaf.augmentation R Y (fun i => f ⁻¹ᵁ U i) |
| 107 | ((Cover.CechRestriction.restrictionFunctor R f).obj P)).f 0 |
| 108 | refine (congrArg (fun a => (Cover.CechRestriction.restrictionFunctor R f).map a ≫ |
| 109 | (Cover.CechRestriction.complexIso R f P U).hom.f 0) |
| 110 | (Augmentation.CechAugmentation.augmentation_f_zero R X U P)).trans ?_ |
| 111 | exact (restriction_comp_iso_zero R f P U).trans |
| 112 | ((Augmentation.CechAugmentation.augmentation_f_zero R Y (fun i => f ⁻¹ᵁ U i) |
| 113 | ((Cover.CechRestriction.restrictionFunctor R f).obj P)).symm.trans (Category.id_comp _).symm) |
| 114 | |
| 115 | theorem restricted_augmentation_quasiIso (i : ι) : |
| 116 | QuasiIso (((Cover.CechRestriction.restrictionFunctor R (U i).ι).mapHomologicalComplex |
| 117 | (ComplexShape.up ℕ)).map (Presheaf.CechPresheaf.augmentation R X U P)) := by |
| 118 | let G := Cover.CechRestriction.restrictionFunctor R (U i).ι |
| 119 | let a := Presheaf.CechPresheaf.augmentation R X U P |
| 120 | let b := Presheaf.CechPresheaf.augmentation R (U i).toScheme (Contraction.CechContraction.restrictedFamily X U i) |
| 121 | (G.obj P) |
| 122 | have : QuasiIso b := Augmentation.CechAugmentation.split_quasiIso R (U i).toScheme |
| 123 | (Contraction.CechContraction.restrictedFamily X U i) (G.obj P) i (Contraction.CechContraction.restrictedFamily_self X U i) |
| 124 | have : IsIso ((HomologicalComplex.singleMapHomologicalComplex G |
| 125 | (ComplexShape.up ℕ) 0).hom.app P) := inferInstance |
| 126 | have hcomp : QuasiIso (((HomologicalComplex.singleMapHomologicalComplex G |
| 127 | (ComplexShape.up ℕ) 0).hom.app P) ≫ b) := quasiIso_comp _ b |
| 128 | have h : (G.mapHomologicalComplex (ComplexShape.up ℕ)).map a ≫ |
| 129 | (Cover.CechRestriction.complexIso R (U i).ι P U).hom = |
| 130 | ((HomologicalComplex.singleMapHomologicalComplex G (ComplexShape.up ℕ) 0).hom.app P) ≫ b := |
| 131 | augmentation_comp_iso R (U i).ι P U |
| 132 | have : QuasiIso ((G.mapHomologicalComplex (ComplexShape.up ℕ)).map a ≫ |
| 133 | (Cover.CechRestriction.complexIso R (U i).ι P U).hom) := h.symm ▸ hcomp |
| 134 | exact (quasiIso_iff_comp_right ((G.mapHomologicalComplex (ComplexShape.up ℕ)).map a) |
| 135 | (Cover.CechRestriction.complexIso R (U i).ι P U).hom).mp inferInstance |
| 136 | |
| 137 | def restrictedHomotopyEquiv (i : ι) := |
| 138 | (HomotopyEquiv.ofIso ((HomologicalComplex.singleMapHomologicalComplex |
| 139 | (Cover.CechRestriction.restrictionFunctor R (U i).ι) (ComplexShape.up ℕ) 0).app P)).trans |
| 140 | (Cover.CechRestriction.coverMemberHomotopyEquiv R P U i) |
| 141 | |
| 142 | theorem restrictedHomotopyHom (i : ι) : |
| 143 | (restrictedHomotopyEquiv R P U i).hom = |
| 144 | ((Cover.CechRestriction.restrictionFunctor R (U i).ι).mapHomologicalComplex |
| 145 | (ComplexShape.up ℕ)).map (Presheaf.CechPresheaf.augmentation R X U P) := by |
| 146 | let G := Cover.CechRestriction.restrictionFunctor R (U i).ι |
| 147 | let s := ((HomologicalComplex.singleMapHomologicalComplex G (ComplexShape.up ℕ) 0).app P).hom |
| 148 | let e := Cover.CechRestriction.complexIso R (U i).ι P U |
| 149 | change s ≫ ((PresheafContraction.CechPresheafContraction.localHomotopyEquiv R X U P i).hom ≫ e.inv) = _ |
| 150 | refine (congrArg (fun b => s ≫ (b ≫ e.inv)) |
| 151 | (Augmentation.CechAugmentation.homotopyHom_eq_augmentation R (U i).toScheme |
| 152 | (Contraction.CechContraction.restrictedFamily X U i) (G.obj P) i |
| 153 | (Contraction.CechContraction.restrictedFamily_self X U i))).trans ?_ |
| 154 | refine (Category.assoc s (Presheaf.CechPresheaf.augmentation R (U i).toScheme |
| 155 | (Contraction.CechContraction.restrictedFamily X U i) (G.obj P)) e.inv).symm.trans ?_ |
| 156 | exact e.comp_inv_eq.mpr (augmentation_comp_iso R (U i).ι P U).symm |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.AugmentationRestriction.CechAugmentationRestriction |