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.ReindexTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Relative.PresheafCommonRefinement |
| 3 | |
| 4 | /-! # Reindex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Reindex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original relative common-cover comparison commutes with |
| 11 | inverse image, including the inverse refinement and signed extension. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | |
| 16 | private theorem inverse_square {C : Type*} [Category C] {A B D E : C} |
| 17 | (b : A ⟶ B) (c : D ⟶ E) (u : A ⟶ D) (v : B ⟶ E) [IsIso b] [IsIso c] |
| 18 | (h : b ≫ v = u ≫ c) : inv b ≫ u = v ≫ inv c := by |
| 19 | apply (cancel_mono c).mp |
| 20 | simp only [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 21 | rw [← h, IsIso.inv_hom_id_assoc] |
| 22 | |
| 23 | private theorem paste {C : Type*} [Category C] {X Y Z T X' Y' Z' T' : C} |
| 24 | (a : X ⟶ Y) (b : Z ⟶ Y) (c : Z ⟶ T) |
| 25 | (a' : X' ⟶ Y') (b' : Z' ⟶ Y') (c' : Z' ⟶ T') |
| 26 | (eX : X ⟶ X') (eY : Y ⟶ Y') (eZ : Z ⟶ Z') (eT : T ⟶ T') |
| 27 | [IsIso b] [IsIso b'] |
| 28 | (h₁ : a ≫ eY = eX ≫ a') (h₂ : b ≫ eY = eZ ≫ b') (h₃ : c ≫ eT = eZ ≫ c') : |
| 29 | (a ≫ inv b ≫ c) ≫ eT = eX ≫ a' ≫ inv b' ≫ c' := by |
| 30 | have hi := inverse_square b b' eZ eY h₂ |
| 31 | simp only [Category.assoc] |
| 32 | rw [h₃, ← Category.assoc (inv b) eZ c', hi] |
| 33 | simp only [Category.assoc] |
| 34 | rw [← Category.assoc a eY (inv b' ≫ c'), h₁] |
| 35 | simp only [Category.assoc] |
| 36 | |
| 37 | universe u v |
| 38 | variable {X Y : TopCat.{u}} (f : Y ⟶ X) |
| 39 | attribute [local instance] ReindexData.preimage_limits |
| 40 | variable (U : Opens X) {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 41 | (V : ι → Opens X) (B : κ → Opens X) (J : ν → Opens X) |
| 42 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι V) |
| 43 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 44 | {A : Type v} [Category A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 45 | (K : CochainComplex ((Opens Y)ᵒᵖ ⥤ A) ℕ) (q : ℕ) |
| 46 | |
| 47 | abbrev mapped {α β : Type u} (V : α → Opens X) (W : β → Opens X) |
| 48 | (r : FormalCoproduct.mk β W ⟶ FormalCoproduct.mk α V) := |
| 49 | Cech.BaseChangeRefinement.refinement (ReindexData.preimage f) V W r |
| 50 | |
| 51 | theorem homology_extension : |
| 52 | homologyMap (Total.map U V (ReindexTotal.pushed f K)) q ≫ |
| 53 | homologyMap (ReindexTotal.targetTotalIso f U V K).hom q = |
| 54 | homologyMap (ReindexTotal.sourceTotalIso f U V K).hom q ≫ |
| 55 | homologyMap (Total.map ((ReindexData.preimage f).obj U) ((ReindexData.preimage f).obj ∘ V) K) q := by |
| 56 | simpa only [homologyMap_comp] using congrArg (fun a => homologyMap a q) (ReindexTotal.total_extension f U V K) |
| 57 | |
| 58 | theorem homology_refinement : |
| 59 | Refinement.homology U V J r (ReindexTotal.pushed f K) q ≫ |
| 60 | homologyMap (ReindexTotal.sourceTotalIso f U J K).hom q = |
| 61 | homologyMap (ReindexTotal.sourceTotalIso f U V K).hom q ≫ |
| 62 | Refinement.homology ((ReindexData.preimage f).obj U) |
| 63 | ((ReindexData.preimage f).obj ∘ V) ((ReindexData.preimage f).obj ∘ J) (mapped f V J r) K q := by |
| 64 | simpa only [Refinement.homology, homologyMap_comp] using |
| 65 | congrArg (fun a => homologyMap a q) (ReindexTotal.total_refinement f U V K J r) |
| 66 | |
| 67 | variable [IsIso (Refinement.homology U B J s (ReindexTotal.pushed f K) q)] |
| 68 | [IsIso (Refinement.homology ((ReindexData.preimage f).obj U) |
| 69 | ((ReindexData.preimage f).obj ∘ B) ((ReindexData.preimage f).obj ∘ J) (mapped f B J s) K q)] |
| 70 | |
| 71 | theorem comparison : |
| 72 | Relative.PresheafCommonRefinement.comparison U V B J r s (ReindexTotal.pushed f K) q ≫ |
| 73 | homologyMap (ReindexTotal.targetTotalIso f U B K).hom q = |
| 74 | homologyMap (ReindexTotal.sourceTotalIso f U V K).hom q ≫ |
| 75 | Relative.PresheafCommonRefinement.comparison ((ReindexData.preimage f).obj U) |
| 76 | ((ReindexData.preimage f).obj ∘ V) ((ReindexData.preimage f).obj ∘ B) ((ReindexData.preimage f).obj ∘ J) |
| 77 | (mapped f V J r) (mapped f B J s) K q := |
| 78 | paste _ _ _ _ _ _ _ _ _ _ |
| 79 | (homology_refinement f U V J r K q) |
| 80 | (homology_refinement f U B J s K q) |
| 81 | (homology_extension f U B K q) |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Reindex |