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.Reindex |
| 2 | |
| 3 | /-! # Reindex Coordinates -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Coordinates for an ordered reindexing followed by a literal |
| 10 | identification of the resulting family of opens. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite _root_.HomologicalComplex |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | universe u v |
| 15 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 16 | (r : C ⥤ D) [PreservesFiniteLimits r] |
| 17 | {ι : Type u} [LinearOrder ι] (U : ι → C) (V : ι → D) (h : r.obj ∘ U = V) |
| 18 | {A : Type v} [Category A] [Preadditive A] [HasProducts.{u} A] |
| 19 | (P : Dᵒᵖ ⥤ A) |
| 20 | |
| 21 | def familyIso : Projection.complex U (r.op ⋙ P) ≅ |
| 22 | Projection.complex V P := |
| 23 | Reindex.iso r U P ≪≫ eqToIso (congrArg (fun W => Projection.complex W P) h) |
| 24 | |
| 25 | def familyFactorIso {n : ℕ} (a : Projection.Index (ι := ι) n) : |
| 26 | r.obj (∏ᶜ (U ∘ a.val)) ≅ ∏ᶜ (V ∘ a.val) := |
| 27 | PreservesProduct.iso r (U ∘ a.val) ≪≫ |
| 28 | eqToIso (congrArg (fun W => ∏ᶜ (W ∘ a.val)) h) |
| 29 | |
| 30 | theorem family_hom_f (n : ℕ) : (familyIso r U V h P).hom.f n = |
| 31 | (Pi.mapIso (fun a : Projection.Index (ι := ι) n => |
| 32 | P.mapIso (familyFactorIso r U V h a).symm.op)).hom := by |
| 33 | subst V |
| 34 | simp only [familyIso, familyFactorIso, eqToIso_refl, Iso.trans_refl] |
| 35 | rfl |
| 36 | |
| 37 | theorem family_naturality {Q : Dᵒᵖ ⥤ A} (a : P ⟶ Q) : |
| 38 | OrderedCech.Functor.Projection.complexMap U (Functor.whiskerLeft r.op a) ≫ |
| 39 | (familyIso r U V h Q).hom = |
| 40 | (familyIso r U V h P).hom ≫ OrderedCech.Functor.Projection.complexMap V a := by |
| 41 | subst V |
| 42 | simpa only [familyIso, eqToIso_refl, Iso.trans_refl] using Reindex.naturality r U P a |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.ReindexCoordinates |