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.AugmentedOrdered.CechReindex |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Functor |
| 3 | |
| 4 | /-! # Reindex -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Reindex |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite-limit-preserving changes of open diagrams preserve the |
| 11 | actual ordered Cech complex and its projection from all tuples. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits Opposite Simplicial |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | universe u v |
| 16 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 17 | (r : C ⥤ D) [PreservesFiniteLimits r] |
| 18 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 19 | {A : Type v} [Category A] [Preadditive A] [HasProducts.{u} A] |
| 20 | (P : Dᵒᵖ ⥤ A) |
| 21 | |
| 22 | def iso : Projection.complex U (r.op ⋙ P) ≅ |
| 23 | Projection.complex (r.obj ∘ U) P := |
| 24 | HomologicalComplex.Hom.isoOfComponents |
| 25 | (fun n => AugmentedOrdered.CechReindex.componentIso r U P (n+1)) (by |
| 26 | intro n m h |
| 27 | obtain rfl : m = n+1 := h.symm |
| 28 | dsimp only [Projection.complex] |
| 29 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 30 | exact (AugmentedOrdered.CechReindex.differential_naturality r U P (n+1)).symm) |
| 31 | |
| 32 | theorem hom_f (n : ℕ) : (Reindex.iso r U P).hom.f n = |
| 33 | (AugmentedOrdered.CechReindex.componentIso r U P (n+1)).hom := rfl |
| 34 | |
| 35 | theorem naturality {Q : Dᵒᵖ ⥤ A} (a : P ⟶ Q) : |
| 36 | OrderedCech.Functor.Projection.complexMap U (Functor.whiskerLeft r.op a) ≫ (Reindex.iso r U Q).hom = |
| 37 | (Reindex.iso r U P).hom ≫ OrderedCech.Functor.Projection.complexMap (r.obj ∘ U) a := by |
| 38 | apply HomologicalComplex.Hom.ext |
| 39 | funext n |
| 40 | exact congrArg (fun z => z.f (n+1)) (AugmentedOrdered.CechReindex.naturality r U P a) |
| 41 | |
| 42 | def functorIso : |
| 43 | (Functor.whiskeringLeft Cᵒᵖ Dᵒᵖ A).obj r.op ⋙ OrderedCech.Functor.Projection.functor U ≅ |
| 44 | OrderedCech.Functor.Projection.functor (r.obj ∘ U) := |
| 45 | NatIso.ofComponents (fun P => Reindex.iso r U P) (fun {_ _} a => naturality r U _ a) |
| 46 | |
| 47 | theorem projection : |
| 48 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.complexIso r U P).hom ≫ Projection.map (r.obj ∘ U) P = |
| 49 | Projection.map U (r.op ⋙ P) ≫ (Reindex.iso r U P).hom := by |
| 50 | apply HomologicalComplex.Hom.ext |
| 51 | funext n |
| 52 | symm |
| 53 | change Projection.mapF U (r.op ⋙ P) n ≫ |
| 54 | (AugmentedOrdered.CechReindex.componentIso r U P (n+1)).hom = |
| 55 | (AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.componentIso r U P ⦋n⦌).hom ≫ |
| 56 | Projection.mapF (r.obj ∘ U) P n |
| 57 | have h := AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.productIso_natural |
| 58 | (fun a : Fin (n+1) → ι => P.mapIso (PreservesProduct.iso r (U ∘ a)).symm.op) |
| 59 | (fun a : Projection.Index (ι := ι) n => |
| 60 | P.mapIso (PreservesProduct.iso r (U ∘ a.val)).symm.op) |
| 61 | (fun a => a.val) (fun _ => 𝟙 _) (fun _ => 𝟙 _) |
| 62 | (by intro a; simp only [Category.id_comp, Category.comp_id]) |
| 63 | simp only [Category.comp_id] at h |
| 64 | dsimp only [Projection.mapF, Cech.TupleRestrictionFunctor.projection, |
| 65 | NonemptyCechDifferential.projection, AugmentedOrdered.CechReindex.componentIso, |
| 66 | AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.componentIso] |
| 67 | exact h |
| 68 | |
| 69 | end |
| 70 | |
| 71 | end OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.Reindex |