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.RestrictedSingleCechLocalization |
| 2 | |
| 3 | /-! # Single Cech Localization Transport -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SingleCechLocalizationTransport.Restricted |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Fixed-class localization injectivity is preserved by the actual |
| 10 | coefficient-diagram isomorphisms used to identify ambient sections. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.HomologicalComplex Opposite |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u |
| 15 | variable {A B : Type u} [CommRing A] [CommRing B] (ρ : A →+* B) |
| 16 | {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 17 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 18 | |
| 19 | def ambientFunctor (c q : ℕ) : (Cᵒᵖ ⥤ ModuleCat.{u} A) ⥤ ModuleCat.{u} A := |
| 20 | single (Cᵒᵖ ⥤ ModuleCat.{u} A) (.up ℕ) c ⋙ |
| 21 | Supported.CechHomotopyEquivalence.functor U q |
| 22 | |
| 23 | variable [Finite ι] {P Q : Cᵒᵖ ⥤ ModuleCat.{u} B} (α : P ⟶ Q) (z : B) |
| 24 | (hsurj : ∀ j (y : Q.obj j), ∃ (a : ℕ) (x : P.obj j), z^a • y = α.app j x) |
| 25 | (hker : ∀ j (x : P.obj j), α.app j x = 0 → ∃ a : ℕ, z^a • x = 0) |
| 26 | |
| 27 | include hsurj hker in |
| 28 | theorem eq_of_map_eq (c n : ℕ) {P' Q' : Cᵒᵖ ⥤ ModuleCat.{u} A} |
| 29 | (e : P ⋙ ModuleCat.restrictScalars ρ ≅ P') |
| 30 | (d : Q ⋙ ModuleCat.restrictScalars ρ ≅ Q') |
| 31 | (a : P' ⟶ P') (β : P' ⟶ Q') |
| 32 | (ha : Functor.whiskerRight (z • 𝟙 P) (ModuleCat.restrictScalars ρ) ≫ e.hom = e.hom ≫ a) |
| 33 | (hβ : Functor.whiskerRight α (ModuleCat.restrictScalars ρ) ≫ d.hom = e.hom ≫ β) |
| 34 | (x y : (ambientFunctor (A := A) U c (n+c)).obj P') |
| 35 | (hx : (ambientFunctor (A := A) U c (n+c)).map a x = x) |
| 36 | (hy : (ambientFunctor (A := A) U c (n+c)).map a y = y) |
| 37 | (h : (ambientFunctor (A := A) U c (n+c)).map β x = |
| 38 | (ambientFunctor (A := A) U c (n+c)).map β y) : x = y := by |
| 39 | let S := ambientFunctor (A := A) U c (n+c) |
| 40 | let F := RestrictedSingleCechLocalization.functor ρ U c (n+c) |
| 41 | let eS := S.mapIso e |
| 42 | let dS := S.mapIso d |
| 43 | have ha' : F.map (z • 𝟙 P) ≫ eS.hom = eS.hom ≫ S.map a := by |
| 44 | change S.map (Functor.whiskerRight (z • 𝟙 P) (ModuleCat.restrictScalars ρ)) ≫ S.map e.hom = |
| 45 | S.map e.hom ≫ S.map a |
| 46 | rw [← S.map_comp, ← S.map_comp, ha] |
| 47 | have hβ' : F.map α ≫ dS.hom = eS.hom ≫ S.map β := by |
| 48 | change S.map (Functor.whiskerRight α (ModuleCat.restrictScalars ρ)) ≫ S.map d.hom = |
| 49 | S.map e.hom ≫ S.map β |
| 50 | rw [← S.map_comp, ← S.map_comp, hβ] |
| 51 | have hai := CohomologyConcentrationNaturality.inverse_square _ _ eS eS ha' |
| 52 | have hβi := CohomologyConcentrationNaturality.inverse_square _ _ eS dS hβ' |
| 53 | apply (ConcreteCategory.bijective_of_isIso eS.inv).injective |
| 54 | apply RestrictedSingleCechLocalization.eq_of_map_eq ρ U α z hsurj hker c n |
| 55 | · have hax : eS.inv (S.map a x) = F.map (z • 𝟙 P) (eS.inv x) := |
| 56 | ConcreteCategory.congr_hom hai x |
| 57 | exact hax.symm.trans (congrArg eS.inv hx) |
| 58 | · have hay : eS.inv (S.map a y) = F.map (z • 𝟙 P) (eS.inv y) := |
| 59 | ConcreteCategory.congr_hom hai y |
| 60 | exact hay.symm.trans (congrArg eS.inv hy) |
| 61 | · have hβx : dS.inv (S.map β x) = F.map α (eS.inv x) := |
| 62 | ConcreteCategory.congr_hom hβi x |
| 63 | have hβy : dS.inv (S.map β y) = F.map α (eS.inv y) := |
| 64 | ConcreteCategory.congr_hom hβi y |
| 65 | exact hβx.symm.trans ((congrArg dS.inv h).trans hβy) |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SingleCechLocalizationTransport.Restricted |