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.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardComplex |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cech.TensorComparisonNaturality |
| 3 | |
| 4 | /-! # Pushforward Sheaf Naturality -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardSheafNaturality |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Direct-image comparison of ordered Cech complexes is natural in the module sheaf for any scheme morphism. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 12 | universe u |
| 13 | |
| 14 | private theorem moduleComparison_square_comp |
| 15 | {R : Type u} [CommRing R] {A B C D E F : ModuleCat.{u} R} |
| 16 | (a : A ⟶ D) (b : B ⟶ E) (c : C ⟶ F) |
| 17 | (u : A ⟶ B) (v : B ⟶ C) (u' : D ⟶ E) (v' : E ⟶ F) |
| 18 | (h₁ : a ≫ u' = u ≫ b) (h₂ : b ≫ v' = v ≫ c) : |
| 19 | a ≫ (u' ≫ v') = (u ≫ v) ≫ c := |
| 20 | (Category.assoc a u' v').symm.trans |
| 21 | ((congrArg (fun w : A ⟶ E => w ≫ v') h₁).trans |
| 22 | ((Category.assoc u b v').trans |
| 23 | ((congrArg (fun w : B ⟶ F => u ≫ w) h₂).trans (Category.assoc u v c).symm))) |
| 24 | |
| 25 | private theorem moduleProduct_comparison_square |
| 26 | {R : Type u} [CommRing R] {ι : Type u} (A B C D : ι → ModuleCat.{u} R) |
| 27 | (si : ∀ i, A i ⟶ B i) (ti : ∀ i, C i ⟶ D i) |
| 28 | (ui : ∀ i, A i ⟶ C i) (vi : ∀ i, B i ⟶ D i) |
| 29 | (hi : ∀ i, si i ≫ vi i = ui i ≫ ti i) : |
| 30 | CategoryTheory.Limits.Pi.map si ≫ CategoryTheory.Limits.Pi.map vi = |
| 31 | CategoryTheory.Limits.Pi.map ui ≫ CategoryTheory.Limits.Pi.map ti := by |
| 32 | rw [CategoryTheory.Limits.Pi.map_comp_map, CategoryTheory.Limits.Pi.map_comp_map] |
| 33 | exact congrArg (fun w : ∀ i, A i ⟶ D i => CategoryTheory.Limits.Pi.map w) (funext hi) |
| 34 | |
| 35 | variable {X Y : Scheme.{u}} {R : Type u} [CommRing R] |
| 36 | variable (f : X ⟶ Y) (c : R →+* Γ(Y, ⊤)) {M N : X.Modules} (e : M ⟶ N) |
| 37 | |
| 38 | theorem coefficientModulePresheafPushforwardAppIso_sheaf_naturality (V : Y.Opens) : |
| 39 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor (f.appTop.hom.comp c)).map e).app (op (f ⁻¹ᵁ V)) ≫ |
| 40 | (CoefficientCech.PushforwardFactors.coefficientModulePresheafPushforwardAppIso f c N V).hom = |
| 41 | (CoefficientCech.PushforwardFactors.coefficientModulePresheafPushforwardAppIso f c M V).hom ≫ |
| 42 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).map ((Scheme.Modules.pushforward f).map e)).app |
| 43 | (op V) := by |
| 44 | apply ModuleCat.hom_ext |
| 45 | apply LinearMap.ext |
| 46 | intro x |
| 47 | rfl |
| 48 | |
| 49 | theorem coefficientCechFactorPushforwardIso_sheaf_naturality |
| 50 | {ι : Type u} (U : ι → Y.Opens) (n : ℕ) (i : Fin (n + 1) → ι) : |
| 51 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor (f.appTop.hom.comp c)).map e).app |
| 52 | (op (∏ᶜ fun k => f ⁻¹ᵁ U (i k))) ≫ |
| 53 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f c N U n i).hom = |
| 54 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f c M U n i).hom ≫ |
| 55 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).map ((Scheme.Modules.pushforward f).map e)).app |
| 56 | (op (∏ᶜ fun k => U (i k))) := by |
| 57 | let FM := Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp c) M |
| 58 | let FN := Coefficient.ModulePresheaf.coefficientModulePresheaf (f.appTop.hom.comp c) N |
| 59 | let V : Y.Opens := ∏ᶜ fun k => U (i k) |
| 60 | let W : X.Opens := ∏ᶜ fun k => f ⁻¹ᵁ U (i k) |
| 61 | let j : op W ⟶ op (f ⁻¹ᵁ V) := |
| 62 | (eqToIso (CoefficientCech.PushforwardFactors.preimageCechIntersection f U n i)).op.hom |
| 63 | let α : FM ⟶ FN := (Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor (f.appTop.hom.comp c)).map e |
| 64 | let pM := (CoefficientCech.PushforwardFactors.coefficientModulePresheafPushforwardAppIso f c M V).hom |
| 65 | let pN := (CoefficientCech.PushforwardFactors.coefficientModulePresheafPushforwardAppIso f c N V).hom |
| 66 | let q := ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).map |
| 67 | ((Scheme.Modules.pushforward f).map e)).app (op V) |
| 68 | have hn : α.app (op W) ≫ FN.map j = FM.map j ≫ α.app (op (f ⁻¹ᵁ V)) := |
| 69 | (α.naturality j).symm |
| 70 | have hp : α.app (op (f ⁻¹ᵁ V)) ≫ pN = pM ≫ q := |
| 71 | coefficientModulePresheafPushforwardAppIso_sheaf_naturality f c e V |
| 72 | change α.app (op W) ≫ (FN.map j ≫ pN) = (FM.map j ≫ pM) ≫ q |
| 73 | exact moduleComparison_square_comp (α.app (op W)) (α.app (op (f ⁻¹ᵁ V))) q |
| 74 | (FM.map j) pM (FN.map j) pN hn hp |
| 75 | |
| 76 | def orderedCoefficientCechObjectPushforwardFunctorIso (P : X.Modules) |
| 77 | {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) (n : ℕ) : |
| 78 | (Ordered.CoefficientCechFunctor.orderedCoefficientCechObjectFunctor (f.appTop.hom.comp c) (fun i => f ⁻¹ᵁ U i) n).obj P ≅ |
| 79 | (Ordered.CoefficientCechFunctor.orderedCoefficientCechObjectFunctor c U n).obj ((Scheme.Modules.pushforward f).obj P) := |
| 80 | PushforwardObjects.orderedCoefficientCechObjectPushforwardIso f c P U n |
| 81 | |
| 82 | variable {ι : Type u} [LinearOrder ι] (U : ι → Y.Opens) |
| 83 | |
| 84 | private theorem orderedCoefficientCechObjectPushforwardFunctorIso_hom_eq_piMap |
| 85 | (P : X.Modules) (n : ℕ) : |
| 86 | (orderedCoefficientCechObjectPushforwardFunctorIso f c P U n).hom = |
| 87 | CategoryTheory.Limits.Pi.map (fun i : Ordered.SectionCechIndices.OrderedCechIndex ι n => |
| 88 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f c P U n i.1).hom) := by |
| 89 | apply Pi.hom_ext |
| 90 | intro i |
| 91 | exact (PushforwardObjects.orderedCoefficientCechObjectPushforwardIso_hom_π f c P U n i).trans |
| 92 | (CategoryTheory.Limits.Pi.map_π |
| 93 | (fun j : Ordered.SectionCechIndices.OrderedCechIndex ι n => (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f c P U n j.1).hom) i).symm |
| 94 | |
| 95 | theorem orderedCoefficientCechObjectPushforwardIso_sheaf_naturality (n : ℕ) : |
| 96 | (Ordered.CoefficientCechFunctor.orderedCoefficientCechObjectFunctor (f.appTop.hom.comp c) |
| 97 | (fun i => f ⁻¹ᵁ U i) n).map e ≫ |
| 98 | (orderedCoefficientCechObjectPushforwardFunctorIso f c N U n).hom = |
| 99 | (orderedCoefficientCechObjectPushforwardFunctorIso f c M U n).hom ≫ |
| 100 | (Ordered.CoefficientCechFunctor.orderedCoefficientCechObjectFunctor c U n).map ((Scheme.Modules.pushforward f).map e) := by |
| 101 | let A (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) := |
| 102 | Ordered.CoefficientCechTerms.coefficientCechFactor (f.appTop.hom.comp c) M (fun k => f ⁻¹ᵁ U k) n i.1 |
| 103 | let B (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) := |
| 104 | Ordered.CoefficientCechTerms.coefficientCechFactor (f.appTop.hom.comp c) N (fun k => f ⁻¹ᵁ U k) n i.1 |
| 105 | let C (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) := |
| 106 | Ordered.CoefficientCechTerms.coefficientCechFactor c ((Scheme.Modules.pushforward f).obj M) U n i.1 |
| 107 | let D (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) := |
| 108 | Ordered.CoefficientCechTerms.coefficientCechFactor c ((Scheme.Modules.pushforward f).obj N) U n i.1 |
| 109 | let si (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) : A i ⟶ B i := |
| 110 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor (f.appTop.hom.comp c)).map e).app |
| 111 | (op (∏ᶜ fun k => f ⁻¹ᵁ U (i.1 k))) |
| 112 | let ti (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) : C i ⟶ D i := |
| 113 | ((Coefficient.ModulePresheafFunctor.coefficientModulePresheafFunctor c).map ((Scheme.Modules.pushforward f).map e)).app |
| 114 | (op (∏ᶜ fun k => U (i.1 k))) |
| 115 | let m (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) : A i ⟶ C i := |
| 116 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f c M U n i.1).hom |
| 117 | let v (i : Ordered.SectionCechIndices.OrderedCechIndex ι n) : B i ⟶ D i := |
| 118 | (CoefficientCech.PushforwardFactors.coefficientCechFactorPushforwardIso f c N U n i.1).hom |
| 119 | rw [orderedCoefficientCechObjectPushforwardFunctorIso_hom_eq_piMap f c U N n, |
| 120 | orderedCoefficientCechObjectPushforwardFunctorIso_hom_eq_piMap f c U M n] |
| 121 | change CategoryTheory.Limits.Pi.map si ≫ CategoryTheory.Limits.Pi.map v = |
| 122 | CategoryTheory.Limits.Pi.map m ≫ CategoryTheory.Limits.Pi.map ti |
| 123 | exact moduleProduct_comparison_square A B C D si ti m v |
| 124 | (fun i => coefficientCechFactorPushforwardIso_sheaf_naturality f c e U n i.1) |
| 125 | |
| 126 | theorem orderedCoefficientCechComplexPushforwardIso_sheaf_naturality : |
| 127 | (Ordered.CoefficientCechFunctor.orderedCoefficientCechComplexFunctor (f.appTop.hom.comp c) |
| 128 | (fun i => f ⁻¹ᵁ U i)).map e ≫ |
| 129 | (PushforwardComplex.orderedCoefficientCechComplexPushforwardIso f c N U).hom = |
| 130 | (PushforwardComplex.orderedCoefficientCechComplexPushforwardIso f c M U).hom ≫ |
| 131 | (Ordered.CoefficientCechFunctor.orderedCoefficientCechComplexFunctor c U).map ((Scheme.Modules.pushforward f).map e) := by |
| 132 | apply HomologicalComplex.Hom.ext |
| 133 | funext n |
| 134 | exact orderedCoefficientCechObjectPushforwardIso_sheaf_naturality f c e U n |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.OrderedCech.PushforwardSheafNaturality |