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.AffinePrincipal.InjectiveRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Additive.IntegerSheaf |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.CoefficientHomologyNaturality |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.CechLocalizedExtension |
| 5 | |
| 6 | /-! # Injective Integer Coordinates -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InjectiveIntegerCoordinates |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Integer coefficients for the original shifted injective-resolution |
| 13 | Cech complex. Forgetting them retains the literal additive complex; |
| 14 | the affine comparison then returns to the original single module. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | universe u |
| 19 | open OAI.NumberTheory.PadicHodge.IntegralComparison.AffinePrincipal.Injective.Comparison |
| 20 | |
| 21 | private theorem combined_square {D : Type*} [Category D] |
| 22 | {A B C E P Q : D} (e₁ : A ≅ B) (e₂ : C ≅ E) (f₁ : P ≅ B) (f₂ : Q ≅ E) |
| 23 | (a : A ⟶ C) (b : B ⟶ E) (c : P ⟶ Q) |
| 24 | (ha : a ≫ e₂.hom = e₁.hom ≫ b) (hb : f₁.hom ≫ b = c ≫ f₂.hom) : |
| 25 | a ≫ (e₂ ≪≫ f₂.symm).hom = (e₁ ≪≫ f₁.symm).hom ≫ c := by |
| 26 | apply (cancel_mono f₂.hom).mp |
| 27 | simp only [Iso.trans_hom, Iso.symm_hom, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 28 | rw [← hb] |
| 29 | simpa only [Category.assoc, Iso.inv_hom_id_assoc] using ha |
| 30 | |
| 31 | variable {X : Scheme.{u}} {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 32 | (G : C ⥤ X.Opens) {ι : Type u} [LinearOrder ι] (W : ι → C) |
| 33 | (N : X.Modules) (c : ℕ) |
| 34 | |
| 35 | abbrev forget : ModuleCat.{u} ℤ ⥤ AddCommGrpCat.{u} := forget₂ _ _ |
| 36 | |
| 37 | def complex : CochainComplex (Sheaf (Opens.grothendieckTopology X) (ModuleCat.{u} ℤ)) ℕ := |
| 38 | ((Additive.IntegerSheaf.sheaves X).mapHomologicalComplex (.up ℕ)).obj |
| 39 | (ShiftedOpenInjectiveResolution.complex (AffinePrincipal.Injective.Comparison.sheaf N) c) |
| 40 | |
| 41 | def presheaf : CochainComplex (Cᵒᵖ ⥤ ModuleCat.{u} ℤ) ℕ := |
| 42 | Supported.OrderedCechEdge.presheafComplex.{0,u,u,u} ℤ X G (complex N c) |
| 43 | |
| 44 | def total : CochainComplex (ModuleCat.{u} ℤ) ℕ := |
| 45 | (Supported.OrderedCechEdge.bicomplex.{0,u,u,u} ℤ X G W (complex N c)).total (.up ℕ) |
| 46 | |
| 47 | def coefficientIso (q : ℕ) : forget.obj ((InjectiveIntegerCoordinates.total G W N c).homology q) ≅ |
| 48 | (AffinePrincipal.Injective.Comparison.target G W N c).homology q := |
| 49 | AugmentedCech.CoefficientTotal.homologyIso W forget (presheaf G N c) q |
| 50 | |
| 51 | def bridge [N.IsQuasicoherent] (hG : ∀ r, IsAffineOpen (G.obj r)) (q : ℕ) : |
| 52 | forget.obj ((InjectiveIntegerCoordinates.total G W N c).homology q) ≅ |
| 53 | (AffinePrincipal.Injective.Comparison.source G W N c).homology q := |
| 54 | coefficientIso G W N c q ≪≫ (AffinePrincipal.Injective.Comparison.homologyIso G W N c hG q).symm |
| 55 | |
| 56 | variable (G₂ : C ⥤ X.Opens) (α : G₂ ⟶ G) |
| 57 | |
| 58 | def restriction : InjectiveIntegerCoordinates.total G W N c ⟶ InjectiveIntegerCoordinates.total G₂ W N c := |
| 59 | Supported.OrderedCechRestriction.totalMap.{0,u,u,u} ℤ X G G₂ α W (complex N c) |
| 60 | |
| 61 | theorem coefficient_restriction (q : ℕ) : |
| 62 | forget.map (homologyMap (restriction G W N c G₂ α) q) ≫ (coefficientIso G₂ W N c q).hom = |
| 63 | (coefficientIso G W N c q).hom ≫ |
| 64 | homologyMap (AffinePrincipal.InjectiveRestriction.targetMap G G₂ α W N c) q := by |
| 65 | exact AugmentedCech.CoefficientHomologyNaturality.Total.homologyIso_naturality W forget |
| 66 | (Supported.OrderedCechRestriction.presheafMap.{0,u,u,u} ℤ X G G₂ α (complex N c)) q |
| 67 | |
| 68 | theorem bridge_restriction [N.IsQuasicoherent] |
| 69 | (hG : ∀ r, IsAffineOpen (G.obj r)) (hG₂ : ∀ r, IsAffineOpen (G₂.obj r)) (q : ℕ) : |
| 70 | forget.map (homologyMap (restriction G W N c G₂ α) q) ≫ (bridge G₂ W N c hG₂ q).hom = |
| 71 | (bridge G W N c hG q).hom ≫ |
| 72 | homologyMap (AffinePrincipal.InjectiveRestriction.sourceMap G G₂ α W N c) q := |
| 73 | combined_square (coefficientIso G W N c q) (coefficientIso G₂ W N c q) |
| 74 | (AffinePrincipal.Injective.Comparison.homologyIso G W N c hG q) (AffinePrincipal.Injective.Comparison.homologyIso G₂ W N c hG₂ q) _ _ _ |
| 75 | (coefficient_restriction G W N c G₂ α q) |
| 76 | (AffinePrincipal.InjectiveRestriction.homology_square G G₂ α W N c hG hG₂ q) |
| 77 | |
| 78 | variable {P : X.Modules} (f : N ⟶ P) |
| 79 | |
| 80 | def complexMap : complex N c ⟶ complex P c := |
| 81 | ((Additive.IntegerSheaf.sheaves X).mapHomologicalComplex (.up ℕ)).map |
| 82 | (ShiftedOpenInjectiveResolution.map (AffinePrincipal.Injective.Comparison.sheaf N) c ((SheafOfModules.toSheaf X.ringCatSheaf).map f)) |
| 83 | |
| 84 | def totalMap : InjectiveIntegerCoordinates.total G W N c ⟶ InjectiveIntegerCoordinates.total G W P c := |
| 85 | Supported.OrderedCechCoefficientNaturality.totalMap.{0,u,u,u} ℤ X G W (complexMap N c f) |
| 86 | |
| 87 | theorem coefficient_naturality (q : ℕ) : |
| 88 | forget.map (homologyMap (totalMap G W N c f) q) ≫ (coefficientIso G W P c q).hom = |
| 89 | (coefficientIso G W N c q).hom ≫ |
| 90 | homologyMap (AffinePrincipal.Injective.Comparison.targetMap G W N c f) q := by |
| 91 | exact AugmentedCech.CoefficientHomologyNaturality.Total.homologyIso_naturality W forget |
| 92 | (Supported.OrderedCechCoefficientNaturality.presheafMap.{0,u,u,u} ℤ X G (complexMap N c f)) q |
| 93 | |
| 94 | theorem bridge_naturality [N.IsQuasicoherent] [P.IsQuasicoherent] |
| 95 | (hG : ∀ r, IsAffineOpen (G.obj r)) (q : ℕ) : |
| 96 | forget.map (homologyMap (totalMap G W N c f) q) ≫ (bridge G W P c hG q).hom = |
| 97 | (bridge G W N c hG q).hom ≫ |
| 98 | homologyMap (AffinePrincipal.Injective.Comparison.sourceMap G W N c f) q := |
| 99 | combined_square (coefficientIso G W N c q) (coefficientIso G W P c q) |
| 100 | (AffinePrincipal.Injective.Comparison.homologyIso G W N c hG q) (AffinePrincipal.Injective.Comparison.homologyIso G W P c hG q) _ _ _ |
| 101 | (coefficient_naturality G W N c f q) |
| 102 | (AffinePrincipal.Injective.Comparison.homology_naturality G W N c f hG q) |
| 103 | |
| 104 | def globalComplex := |
| 105 | ((Supported.SectionsExcision.sections (D := ModuleCat.{u} ℤ) (⊤ : X.Opens)).mapHomologicalComplex |
| 106 | (.up ℕ)).obj (complex N c) |
| 107 | |
| 108 | def additiveGlobalComplex := |
| 109 | ((Supported.SectionsExcision.sections (D := AddCommGrpCat.{u}) (⊤ : X.Opens)).mapHomologicalComplex |
| 110 | (.up ℕ)).obj (ShiftedOpenInjectiveResolution.complex (AffinePrincipal.Injective.Comparison.sheaf N) c) |
| 111 | |
| 112 | def globalIso (q : ℕ) : forget.obj ((globalComplex N c).homology q) ≅ |
| 113 | (additiveGlobalComplex N c).homology q := |
| 114 | (((globalComplex N c).sc q).mapHomologyIso forget).symm |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.InjectiveIntegerCoordinates |