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.Reindex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexCover |
| 3 | |
| 4 | /-! # Reindex Isomorphism -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ReindexIsomorphism |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual inverse-image comparison transfers invertibility of |
| 11 | refinement maps in either direction. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Reindex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | |
| 17 | private theorem left {C : Type*} [Category C] {A B D E : C} |
| 18 | (a : A ⟶ B) (b : D ⟶ E) (e : A ≅ D) (f : B ≅ E) |
| 19 | [IsIso b] (h : a ≫ f.hom = e.hom ≫ b) : IsIso a := by |
| 20 | have ha : a = e.hom ≫ b ≫ f.inv := by |
| 21 | rw [← Category.assoc, ← h, Category.assoc, Iso.hom_inv_id, Category.comp_id] |
| 22 | rw [ha] |
| 23 | infer_instance |
| 24 | |
| 25 | private theorem right {C : Type*} [Category C] {A B D E : C} |
| 26 | (a : A ⟶ B) (b : D ⟶ E) (e : A ≅ D) (f : B ≅ E) |
| 27 | [IsIso a] (h : a ≫ f.hom = e.hom ≫ b) : IsIso b := by |
| 28 | have hb : b = e.inv ≫ a ≫ f.hom := by |
| 29 | rw [h, Iso.inv_hom_id_assoc] |
| 30 | rw [hb] |
| 31 | infer_instance |
| 32 | |
| 33 | universe u v |
| 34 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 35 | attribute [local instance] RelativeCech.ReindexData.preimage_limits |
| 36 | variable {ι κ : Type u} [LinearOrder ι] [LinearOrder κ] |
| 37 | (U : Opens X) (V : ι → Opens X) (W : κ → Opens X) |
| 38 | (r : FormalCoproduct.mk κ W ⟶ FormalCoproduct.mk ι V) |
| 39 | {D : Type v} [Category D] [Abelian D] [HasProducts.{u} D] [HasCoproducts.{0} D] |
| 40 | (K : CochainComplex ((Opens Y)ᵒᵖ ⥤ D) ℕ) (q : ℕ) |
| 41 | |
| 42 | theorem relative_pushed |
| 43 | [IsIso (RelativeCech.Refinement.homology ((RelativeCech.ReindexData.preimage f).obj U) |
| 44 | ((RelativeCech.ReindexData.preimage f).obj ∘ V) ((RelativeCech.ReindexData.preimage f).obj ∘ W) (RelativeCech.Reindex.mapped f V W r) K q)] : |
| 45 | IsIso (RelativeCech.Refinement.homology U V W r (RelativeCech.ReindexTotal.pushed f K) q) := |
| 46 | left _ _ (homologyMapIso (RelativeCech.ReindexTotal.sourceTotalIso f U V K) q) |
| 47 | (homologyMapIso (RelativeCech.ReindexTotal.sourceTotalIso f U W K) q) |
| 48 | (RelativeCech.Reindex.homology_refinement f U V W r K q) |
| 49 | |
| 50 | theorem relative_source |
| 51 | [IsIso (RelativeCech.Refinement.homology U V W r (RelativeCech.ReindexTotal.pushed f K) q)] : |
| 52 | IsIso (RelativeCech.Refinement.homology ((RelativeCech.ReindexData.preimage f).obj U) |
| 53 | ((RelativeCech.ReindexData.preimage f).obj ∘ V) ((RelativeCech.ReindexData.preimage f).obj ∘ W) (RelativeCech.Reindex.mapped f V W r) K q) := |
| 54 | right _ _ (homologyMapIso (RelativeCech.ReindexTotal.sourceTotalIso f U V K) q) |
| 55 | (homologyMapIso (RelativeCech.ReindexTotal.sourceTotalIso f U W K) q) |
| 56 | (RelativeCech.Reindex.homology_refinement f U V W r K q) |
| 57 | |
| 58 | theorem ordered_pushed |
| 59 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap ((RelativeCech.ReindexData.preimage f).obj ∘ V) |
| 60 | ((RelativeCech.ReindexData.preimage f).obj ∘ W) (RelativeCech.Reindex.mapped f V W r) K) q)] : |
| 61 | IsIso (homologyMap (OrderedCech.Refinement.totalMap V W r (RelativeCech.ReindexTotal.pushed f K)) q) := |
| 62 | left _ _ (homologyMapIso (OrderedCech.ReindexTotal.totalIso (RelativeCech.ReindexData.preimage f) V K) q) |
| 63 | (homologyMapIso (OrderedCech.ReindexTotal.totalIso (RelativeCech.ReindexData.preimage f) W K) q) |
| 64 | (OrderedCech.ReindexCover.Total.homology_refinement (RelativeCech.ReindexData.preimage f) V W r K q) |
| 65 | |
| 66 | theorem ordered_source |
| 67 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V W r (RelativeCech.ReindexTotal.pushed f K)) q)] : |
| 68 | IsIso (homologyMap (OrderedCech.Refinement.totalMap ((RelativeCech.ReindexData.preimage f).obj ∘ V) |
| 69 | ((RelativeCech.ReindexData.preimage f).obj ∘ W) (RelativeCech.Reindex.mapped f V W r) K) q) := |
| 70 | right _ _ (homologyMapIso (OrderedCech.ReindexTotal.totalIso (RelativeCech.ReindexData.preimage f) V K) q) |
| 71 | (homologyMapIso (OrderedCech.ReindexTotal.totalIso (RelativeCech.ReindexData.preimage f) W K) q) |
| 72 | (OrderedCech.ReindexCover.Total.homology_refinement (RelativeCech.ReindexData.preimage f) V W r K q) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ReindexIsomorphism |