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.OrderedCech.ReindexRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexTotal |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechRefinementTotal |
| 4 | |
| 5 | /-! # Cech Reindex Refinement -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexRefinement |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Augmented ordered refinements commute with the original product |
| 12 | reindexing, including the degree-zero ambient sections. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 18 | (r : C ⥤ D) [PreservesFiniteLimits r] |
| 19 | {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] (U : ι → C) (V : κ → C) |
| 20 | (ρ : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 21 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 22 | (P : Dᵒᵖ ⥤ A) |
| 23 | |
| 24 | omit [HasCoproducts A] in |
| 25 | theorem refinement : |
| 26 | CechRefinement.map U V ρ (r.op ⋙ P) ≫ (CechReindex.iso r V P).hom = |
| 27 | (CechReindex.iso r U P).hom ≫ CechRefinement.map (r.obj ∘ U) (r.obj ∘ V) |
| 28 | (Cech.BaseChangeRefinement.refinement r U V ρ) P := by |
| 29 | apply HomologicalComplex.Hom.ext |
| 30 | funext n |
| 31 | cases n with |
| 32 | | zero => |
| 33 | change ((CechZero.zeroIso U (r.op ⋙ P)).hom ≫ |
| 34 | (CechZero.zeroIso V (r.op ⋙ P)).inv) ≫ (CechReindex.iso r V P).hom.f 0 = |
| 35 | (CechReindex.iso r U P).hom.f 0 ≫ ((CechZero.zeroIso (r.obj ∘ U) P).hom ≫ |
| 36 | (CechZero.zeroIso (r.obj ∘ V) P).inv) |
| 37 | apply (cancel_mono (CechZero.zeroIso (r.obj ∘ V) P).hom).mp |
| 38 | simp only [Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 39 | rw [CechReindex.zero r V P, Iso.inv_hom_id_assoc, CechReindex.zero r U P] |
| 40 | | succ n => |
| 41 | exact congrArg (fun a => a.f n) (OrderedCech.ReindexRefinement.refinement r U P V ρ) |
| 42 | |
| 43 | variable (K : CochainComplex (Dᵒᵖ ⥤ A) ℕ) |
| 44 | |
| 45 | omit [HasCoproducts A] in |
| 46 | theorem bicomplex_refinement : |
| 47 | CechRefinementTotal.bicomplexMap U V ρ |
| 48 | (((CechReindexTotal.restriction r).mapHomologicalComplex (.up ℕ)).obj K) ≫ |
| 49 | (CechReindexTotal.bicomplexIso r V K).hom = |
| 50 | (CechReindexTotal.bicomplexIso r U K).hom ≫ |
| 51 | CechRefinementTotal.bicomplexMap (r.obj ∘ U) (r.obj ∘ V) |
| 52 | (Cech.BaseChangeRefinement.refinement r U V ρ) K := by |
| 53 | apply HomologicalComplex.Hom.ext |
| 54 | funext q |
| 55 | exact refinement r U V ρ (K.X q) |
| 56 | |
| 57 | theorem total_refinement : |
| 58 | CechRefinementTotal.totalMap U V ρ |
| 59 | (((CechReindexTotal.restriction r).mapHomologicalComplex (.up ℕ)).obj K) ≫ |
| 60 | (CechReindexTotal.totalIso r V K).hom = |
| 61 | (CechReindexTotal.totalIso r U K).hom ≫ |
| 62 | CechRefinementTotal.totalMap (r.obj ∘ U) (r.obj ∘ V) |
| 63 | (Cech.BaseChangeRefinement.refinement r U V ρ) K := by |
| 64 | let T := HomologicalComplex₂.totalFunctor A (.up ℕ) (.up ℕ) (.up ℕ) |
| 65 | exact (T.map_comp _ _).symm.trans |
| 66 | ((congrArg T.map (bicomplex_refinement r U V ρ K)).trans (T.map_comp _ _)) |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindexRefinement |