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.SemilatticeTupleIntersection |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SemilatticeCechAmalgamation |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.NonemptyCechDifferential |
| 4 | |
| 5 | /-! # Components -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.Components |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The concatenation-prism components use the original Čech tuple |
| 12 | products and the genuine inverse-meet coefficient map. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite |
| 15 | |
| 16 | universe u v w t |
| 17 | variable {C : Type u} [SemilatticeInf C] |
| 18 | {A : Type v} [Category.{w} A] [Preadditive A] [HasProducts.{t} A] |
| 19 | {ι : Type t} (U : ι → C) |
| 20 | (Q : Cᵒᵖ ⥤ A) (B : Cᵒᵖ ⥤ Cᵒᵖ ⥤ A) |
| 21 | (γ : (Functor.const Cᵒᵖ).obj Q ⟶ B) |
| 22 | (h : ∀ I V : C, IsIso ((B.obj (op V)).map |
| 23 | (homOfLE (inf_le_left : I ⊓ V ≤ I)).op)) |
| 24 | |
| 25 | def tuple {m n : ℕ} (a : Fin (m + 1) → ι) (b : Fin (n + 1) → ι) : |
| 26 | Fin (m + n + 1 + 1) → ι := |
| 27 | Fin.append a b ∘ Fin.cast (by omega) |
| 28 | |
| 29 | theorem product_tuple {m n : ℕ} (a : Fin (m + 1) → ι) (b : Fin (n + 1) → ι) : |
| 30 | (∏ᶜ (U ∘ tuple a b)) = (∏ᶜ (U ∘ a)) ⊓ (∏ᶜ (U ∘ b)) := by |
| 31 | have he : (U ∘ tuple a b) = Fin.append (U ∘ a) (U ∘ b) ∘ |
| 32 | (finCongr (by omega : m + n + 1 + 1 = (m + 1) + (n + 1))) := by |
| 33 | funext i |
| 34 | change U (Fin.append a b (Fin.cast |
| 35 | (by omega : m + n + 1 + 1 = (m + 1) + (n + 1)) i)) = |
| 36 | Fin.append (U ∘ a) (U ∘ b) (Fin.cast |
| 37 | (by omega : m + n + 1 + 1 = (m + 1) + (n + 1)) i) |
| 38 | generalize Fin.cast (by omega : m + n + 1 + 1 = (m + 1) + (n + 1)) i = j |
| 39 | refine Fin.addCases (fun j => ?_) (fun j => ?_) j <;> simp |
| 40 | rw [he] |
| 41 | exact (SemilatticeTupleIntersection.product_reindex _ _).trans |
| 42 | (SemilatticeTupleIntersection.product_append _ _) |
| 43 | |
| 44 | abbrev target (m n : ℕ) := |
| 45 | ∏ᶜ (fun b : Fin (n + 1) → ι => |
| 46 | ∏ᶜ (fun a : Fin (m + 1) → ι => |
| 47 | (B.obj (op (∏ᶜ (U ∘ b)))).obj (op (∏ᶜ (U ∘ a))))) |
| 48 | |
| 49 | def component (m n : ℕ) (a : Fin (m + 1) → ι) (b : Fin (n + 1) → ι) : |
| 50 | ((NonemptyCechNerve.complexFunctor U).obj Q).X (m + n + 1) ⟶ |
| 51 | (B.obj (op (∏ᶜ (U ∘ b)))).obj (op (∏ᶜ (U ∘ a))) := |
| 52 | NonemptyCechDifferential.projection U Q (m + n + 1) (tuple a b) ≫ |
| 53 | Q.map (eqToHom (congrArg op (product_tuple U a b))) ≫ |
| 54 | SemilatticeCechAmalgamation.map Q B γ h (∏ᶜ (U ∘ a)) (∏ᶜ (U ∘ b)) |
| 55 | |
| 56 | def map (m n : ℕ) : |
| 57 | ((NonemptyCechNerve.complexFunctor U).obj Q).X (m + n + 1) ⟶ target U B m n := |
| 58 | Pi.lift (fun b => Pi.lift (fun a => component U Q B γ h m n a b)) |
| 59 | |
| 60 | theorem map_projection (m n : ℕ) (a : Fin (m + 1) → ι) (b : Fin (n + 1) → ι) : |
| 61 | Components.map U Q B γ h m n ≫ |
| 62 | Pi.π (fun b : Fin (n + 1) → ι => |
| 63 | ∏ᶜ (fun a : Fin (m + 1) → ι => |
| 64 | (B.obj (op (∏ᶜ (U ∘ b)))).obj (op (∏ᶜ (U ∘ a))))) b ≫ |
| 65 | Pi.π (fun a : Fin (m + 1) → ι => |
| 66 | (B.obj (op (∏ᶜ (U ∘ b)))).obj (op (∏ᶜ (U ∘ a)))) a = |
| 67 | component U Q B γ h m n a b := by |
| 68 | exact (Pi.lift_comp_π_assoc _ _ _).trans (Pi.lift_comp_π _ _) |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.Components |