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.GeometricComparison.Semilattice.LocalCone |
| 2 | |
| 3 | /-! # Semilattice Cech Amalgamation -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.SemilatticeCechAmalgamation |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual inverse-meet map used by the Čech concatenation prism. |
| 10 | The source coefficient is evaluated on the common intersection. Both |
| 11 | restriction variables are retained, so the construction applies to the |
| 12 | original global-to-open frame-section transformation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory Opposite |
| 15 | |
| 16 | universe u v w |
| 17 | variable {C : Type u} [SemilatticeInf C] |
| 18 | {A : Type v} [Category.{w} A] |
| 19 | (Q : Cᵒᵖ ⥤ A) (B : Cᵒᵖ ⥤ Cᵒᵖ ⥤ A) |
| 20 | (γ : (Functor.const Cᵒᵖ).obj Q ⟶ B) |
| 21 | (h : ∀ I V : C, IsIso ((B.obj (op V)).map |
| 22 | (homOfLE (inf_le_left : I ⊓ V ≤ I)).op)) |
| 23 | |
| 24 | def map (I V : C) : Q.obj (op (I ⊓ V)) ⟶ (B.obj (op V)).obj (op I) := |
| 25 | haveI := h I V |
| 26 | ((γ.app (op V)).app (op (I ⊓ V))) ≫ |
| 27 | inv ((B.obj (op V)).map (homOfLE (inf_le_left : I ⊓ V ≤ I)).op) |
| 28 | |
| 29 | theorem map_restrict (I V : C) : SemilatticeCechAmalgamation.map Q B γ h I V ≫ |
| 30 | (B.obj (op V)).map (homOfLE (inf_le_left : I ⊓ V ≤ I)).op = |
| 31 | (γ.app (op V)).app (op (I ⊓ V)) := by |
| 32 | have := h I V |
| 33 | dsimp only [SemilatticeCechAmalgamation.map] |
| 34 | rw [Category.assoc, IsIso.inv_hom_id, Category.comp_id] |
| 35 | |
| 36 | private theorem inverse_square {P P' X X' Y Y' : A} |
| 37 | (a : P ⟶ Y) (a' : P' ⟶ Y') (s : X ⟶ Y) (s' : X' ⟶ Y') |
| 38 | [IsIso s] [IsIso s'] (f : P ⟶ P') (g : X ⟶ X') (j : Y ⟶ Y') |
| 39 | (ha : a ≫ j = f ≫ a') (hs : s ≫ j = g ≫ s') : |
| 40 | (a ≫ inv s) ≫ g = f ≫ a' ≫ inv s' := by |
| 41 | apply (cancel_mono s').mp |
| 42 | simpa only [Category.assoc, ← hs, IsIso.inv_hom_id_assoc, |
| 43 | IsIso.inv_hom_id, Category.comp_id] using ha |
| 44 | |
| 45 | theorem naturality {I I' V V' : C} (hi : I' ≤ I) (hv : V' ≤ V) : |
| 46 | SemilatticeCechAmalgamation.map Q B γ h I V ≫ (B.obj (op V)).map (homOfLE hi).op ≫ |
| 47 | (B.map (homOfLE hv).op).app (op I') = |
| 48 | Q.map (homOfLE (inf_le_inf hi hv)).op ≫ SemilatticeCechAmalgamation.map Q B γ h I' V' := by |
| 49 | have := h I V |
| 50 | have := h I' V' |
| 51 | let r := (homOfLE (inf_le_inf hi hv)).op |
| 52 | let j := (B.obj (op V)).map r ≫ (B.map (homOfLE hv).op).app (op (I' ⊓ V')) |
| 53 | have ha : (γ.app (op V)).app (op (I ⊓ V)) ≫ j = |
| 54 | Q.map r ≫ (γ.app (op V')).app (op (I' ⊓ V')) := by |
| 55 | dsimp only [j] |
| 56 | rw [← Category.assoc, ← (γ.app (op V)).naturality r, Category.assoc] |
| 57 | have hn := congrArg (fun t => t.app (op (I' ⊓ V'))) (γ.naturality (homOfLE hv).op) |
| 58 | change 𝟙 _ ≫ (γ.app (op V')).app (op (I' ⊓ V')) = |
| 59 | (γ.app (op V)).app (op (I' ⊓ V')) ≫ |
| 60 | (B.map (homOfLE hv).op).app (op (I' ⊓ V')) at hn |
| 61 | rw [Category.id_comp] at hn |
| 62 | rw [← hn] |
| 63 | rfl |
| 64 | have hs : (B.obj (op V)).map (homOfLE (inf_le_left : I ⊓ V ≤ I)).op ≫ j = |
| 65 | ((B.obj (op V)).map (homOfLE hi).op ≫ |
| 66 | (B.map (homOfLE hv).op).app (op I')) ≫ |
| 67 | (B.obj (op V')).map (homOfLE (inf_le_left : I' ⊓ V' ≤ I')).op := by |
| 68 | calc |
| 69 | _ = (B.obj (op V)).map |
| 70 | ((homOfLE (inf_le_left : I ⊓ V ≤ I)).op ≫ r) ≫ |
| 71 | (B.map (homOfLE hv).op).app (op (I' ⊓ V')) := by |
| 72 | simp only [j, Functor.map_comp, Category.assoc] |
| 73 | _ = (B.obj (op V)).map |
| 74 | ((homOfLE hi).op ≫ (homOfLE (inf_le_left : I' ⊓ V' ≤ I')).op) ≫ |
| 75 | (B.map (homOfLE hv).op).app (op (I' ⊓ V')) := by |
| 76 | congr 2 |
| 77 | _ = _ := by |
| 78 | rw [Functor.map_comp, Category.assoc, |
| 79 | (B.map (homOfLE hv).op).naturality, Category.assoc] |
| 80 | exact inverse_square _ _ _ _ _ _ j ha hs |
| 81 | |
| 82 | theorem global_factorization (I V : C) : |
| 83 | (γ.app (op V)).app (op I) = |
| 84 | Q.map (homOfLE (inf_le_left : I ⊓ V ≤ I)).op ≫ SemilatticeCechAmalgamation.map Q B γ h I V := by |
| 85 | have := h I V |
| 86 | apply (cancel_mono ((B.obj (op V)).map |
| 87 | (homOfLE (inf_le_left : I ⊓ V ≤ I)).op)).mp |
| 88 | rw [Category.assoc, map_restrict] |
| 89 | exact ((γ.app (op V)).naturality |
| 90 | (homOfLE (inf_le_left : I ⊓ V ≤ I)).op).symm |
| 91 | |
| 92 | theorem diagonal_factorization (I V : C) : |
| 93 | (γ.app (op V)).app (op V) ≫ |
| 94 | (GeometricComparison.Semilattice.LocalCone.SemilatticeLocalCone.cone C V (B.obj (op V)) (fun I => h I V)).app (op I) = |
| 95 | Q.map (homOfLE (inf_le_right : I ⊓ V ≤ V)).op ≫ SemilatticeCechAmalgamation.map Q B γ h I V := by |
| 96 | have := h I V |
| 97 | apply (cancel_mono ((B.obj (op V)).map |
| 98 | (homOfLE (inf_le_left : I ⊓ V ≤ I)).op)).mp |
| 99 | rw [Category.assoc, Category.assoc, map_restrict, |
| 100 | GeometricComparison.Semilattice.LocalCone.SemilatticeLocalCone.app_comp] |
| 101 | exact ((γ.app (op V)).naturality |
| 102 | (homOfLE (inf_le_right : I ⊓ V ≤ V)).op).symm |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.NumberTheory.PadicHodge.IntegralComparison.SemilatticeCechAmalgamation |