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.CommonRefinementNaturality |
| 2 | |
| 3 | /-! # Presheaf Common Refinement -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PresheafCommonRefinement |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The literal relative common-refinement map with the coefficient |
| 10 | universe independent of the topological space. This permits the native |
| 11 | large coefficient category without changing the original map. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v |
| 16 | variable {X : TopCat.{u}} (U : Opens X) |
| 17 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 18 | (V : ι → Opens X) (W : κ → Opens X) (T : ν → Opens X) |
| 19 | (r : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι V) |
| 20 | (s : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ W) |
| 21 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 22 | |
| 23 | def comparison (K : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ) (q : ℕ) |
| 24 | [IsIso (RelativeCech.Refinement.homology U W T s K q)] := |
| 25 | RelativeCech.Refinement.homology U V T r K q ≫ |
| 26 | inv (RelativeCech.Refinement.homology U W T s K q) ≫ |
| 27 | homologyMap (RelativeCech.Total.map U W K) q |
| 28 | |
| 29 | theorem naturality {K L : CochainComplex ((Opens X)ᵒᵖ ⥤ D) ℕ} |
| 30 | (a : K ⟶ L) (q : ℕ) |
| 31 | [IsIso (RelativeCech.Refinement.homology U W T s K q)] |
| 32 | [IsIso (RelativeCech.Refinement.homology U W T s L q)] : |
| 33 | homologyMap (RelativeCech.Total.sourceMap U V a) q ≫ comparison U V W T r s L q = |
| 34 | comparison U V W T r s K q ≫ homologyMap (RelativeCech.Total.targetMap U W a) q := by |
| 35 | have hi : homologyMap (RelativeCech.Total.sourceMap U T a) q ≫ |
| 36 | inv (RelativeCech.Refinement.homology U W T s L q) = |
| 37 | inv (RelativeCech.Refinement.homology U W T s K q) ≫ |
| 38 | homologyMap (RelativeCech.Total.sourceMap U W a) q := by |
| 39 | simpa only [Category.assoc, IsIso.inv_hom_id_assoc, IsIso.hom_inv_id, |
| 40 | Category.comp_id] using |
| 41 | congrArg (fun z => inv (RelativeCech.Refinement.homology U W T s K q) ≫ z ≫ |
| 42 | inv (RelativeCech.Refinement.homology U W T s L q)) |
| 43 | (RelativeCech.Refinement.homology_naturality U W T s a q).symm |
| 44 | dsimp only [comparison] |
| 45 | rw [← Category.assoc, RelativeCech.Refinement.homology_naturality U V T r a q] |
| 46 | simp only [Category.assoc] |
| 47 | rw [← Category.assoc (homologyMap (RelativeCech.Total.sourceMap U T a) q), hi] |
| 48 | simp only [Category.assoc] |
| 49 | rw [RelativeCech.Total.homology_naturality U W a q] |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PresheafCommonRefinement |