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.RelativeCech.ReindexExtension |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexRefinement |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Refinement |
| 4 | |
| 5 | /-! # Reindex Total -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexTotal |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Inverse image commutes with the original relative total complexes, |
| 12 | their extension maps, and the refinements of their complementary covers. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 18 | attribute [local instance] ReindexData.preimage_limits |
| 19 | variable (U : Opens X) {ι : Type u} [LinearOrder ι] (V : ι → Opens X) |
| 20 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 21 | (K : CochainComplex ((Opens Y)ᵒᵖ ⥤ A) ℕ) |
| 22 | |
| 23 | abbrev pushed := ((OrderedCech.ReindexTotal.restriction (ReindexData.preimage f)).mapHomologicalComplex (.up ℕ)).obj K |
| 24 | |
| 25 | abbrev relative := ((Refinement.restriction ((ReindexData.preimage f).obj U)).mapHomologicalComplex |
| 26 | (.up ℕ)).obj K |
| 27 | |
| 28 | def sourceBicomplexIso : Total.source U V (pushed f K) ≅ |
| 29 | Total.source ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) K := |
| 30 | AugmentedOrdered.CechReindexTotal.bicomplexIso (ReindexData.preimage f) V (relative f U K) |
| 31 | |
| 32 | def targetBicomplexIso : Total.target U V (pushed f K) ≅ |
| 33 | Total.target ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) K := |
| 34 | HomologicalComplex.Hom.isoOfComponents (fun q => ReindexData.targetIso f U V (K.X q)) |
| 35 | (fun q q' _h => (ReindexExtension.target_naturality f U V (K.X q) (K.d q q')).symm) |
| 36 | |
| 37 | def sourceTotalIso : (Total.source U V (pushed f K)).total (.up ℕ) ≅ |
| 38 | (Total.source ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) K).total (.up ℕ) := |
| 39 | HomologicalComplex₂.total.mapIso (sourceBicomplexIso f U V K) (.up ℕ) |
| 40 | |
| 41 | def targetTotalIso : (Total.target U V (pushed f K)).total (.up ℕ) ≅ |
| 42 | (Total.target ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) K).total (.up ℕ) := |
| 43 | HomologicalComplex₂.total.mapIso (targetBicomplexIso f U V K) (.up ℕ) |
| 44 | |
| 45 | omit [HasCoproducts.{0} A] in |
| 46 | theorem bicomplex_extension : |
| 47 | Total.bicomplexMap U V (pushed f K) ≫ (targetBicomplexIso f U V K).hom = |
| 48 | (sourceBicomplexIso f U V K).hom ≫ |
| 49 | Total.bicomplexMap ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) K := by |
| 50 | apply HomologicalComplex.Hom.ext |
| 51 | funext q |
| 52 | exact ReindexExtension.extension f U V (K.X q) |
| 53 | |
| 54 | theorem total_extension : |
| 55 | Total.map U V (pushed f K) ≫ (targetTotalIso f U V K).hom = |
| 56 | (sourceTotalIso f U V K).hom ≫ |
| 57 | Total.map ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) K := by |
| 58 | let T := HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 59 | exact (T.map_comp _ _).symm.trans |
| 60 | ((congrArg T.map (bicomplex_extension f U V K)).trans (T.map_comp _ _)) |
| 61 | |
| 62 | variable {κ : Type u} [LinearOrder κ] (W : κ → Opens X) |
| 63 | (ρ : FormalCoproduct.mk κ W ⟶ FormalCoproduct.mk ι V) |
| 64 | |
| 65 | theorem total_refinement : |
| 66 | Refinement.map U V W ρ (pushed f K) ≫ (sourceTotalIso f U W K).hom = |
| 67 | (sourceTotalIso f U V K).hom ≫ |
| 68 | Refinement.map ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) |
| 69 | ((ReindexData.preimage f).obj ∘ W) (Cech.BaseChangeRefinement.refinement (ReindexData.preimage f) V W ρ) K := |
| 70 | AugmentedOrdered.CechReindexRefinement.total_refinement (ReindexData.preimage f) V W ρ (relative f U K) |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.ReindexTotal |