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.CechCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechZero |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange |
| 4 | |
| 5 | /-! # Cech Reindex -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindex |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite-product-preserving reindexing of the actual augmented |
| 12 | ordered Čech complex, including its empty-intersection coordinate. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive Opposite |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v |
| 17 | variable {C D : Type u} [Preorder C] [HasFiniteProducts C] [Preorder D] [HasFiniteProducts D] |
| 18 | (r : C ⥤ D) [PreservesFiniteProducts r] |
| 19 | {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 20 | {A : Type v} [Category A] [Preadditive A] [HasProducts.{u} A] |
| 21 | (P : Dᵒᵖ ⥤ A) |
| 22 | |
| 23 | def componentIso (n : ℕ) : Cech.object U (r.op ⋙ P) n ≅ Cech.object (r.obj ∘ U) P n := |
| 24 | Pi.mapIso (fun a : Cech.Index ι n => |
| 25 | P.mapIso (PreservesProduct.iso r (fun j : Fin n => U (a.val j))).symm.op) |
| 26 | |
| 27 | omit [Preadditive A] in |
| 28 | theorem component_hom_π (n : ℕ) (a : Cech.Index ι n) : |
| 29 | (componentIso r U P n).hom ≫ |
| 30 | Pi.π (fun b : Cech.Index ι n => P.obj (op ((Cech.formal (r.obj ∘ U) n).obj b))) a = |
| 31 | Pi.π (fun b : Cech.Index ι n => P.obj (op (r.obj ((Cech.formal U n).obj b)))) a ≫ |
| 32 | P.map (PreservesProduct.iso r (fun j : Fin n => U (a.val j))).inv.op := |
| 33 | Pi.mapIso_hom_π _ _ |
| 34 | |
| 35 | omit [Preadditive A] in |
| 36 | theorem coface_naturality (n : ℕ) (k : Fin (n + 1)) : |
| 37 | Cech.coface U (r.op ⋙ P) n k ≫ (componentIso r U P (n + 1)).hom = |
| 38 | (componentIso r U P n).hom ≫ Cech.coface (r.obj ∘ U) P n k := by |
| 39 | apply AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.productIso_natural |
| 40 | (fun a : Cech.Index ι n => P.mapIso (PreservesProduct.iso r (fun j => U (a.val j))).symm.op) |
| 41 | (fun a : Cech.Index ι (n + 1) => P.mapIso (PreservesProduct.iso r (fun j => U (a.val j))).symm.op) |
| 42 | (fun a => a.delete k) |
| 43 | (fun a => P.map (r.map ((Cech.face U n k).φ a)).op) |
| 44 | (fun a => P.map ((Cech.face (r.obj ∘ U) n k).φ a).op) |
| 45 | intro a |
| 46 | change P.map _ ≫ P.map _ = P.map _ ≫ P.map _ |
| 47 | exact (P.map_comp _ _).symm.trans |
| 48 | ((congrArg P.map (Subsingleton.elim _ _)).trans (P.map_comp _ _)) |
| 49 | |
| 50 | theorem differential_naturality (n : ℕ) : |
| 51 | Cech.differential U (r.op ⋙ P) n ≫ (componentIso r U P (n + 1)).hom = |
| 52 | (componentIso r U P n).hom ≫ Cech.differential (r.obj ∘ U) P n := by |
| 53 | simp only [Cech.differential, comp_sum, sum_comp, comp_zsmul, zsmul_comp, coface_naturality] |
| 54 | |
| 55 | def iso : Cech.complex U (r.op ⋙ P) ≅ Cech.complex (r.obj ∘ U) P := |
| 56 | HomologicalComplex.Hom.isoOfComponents (fun n => componentIso r U P n) (by |
| 57 | intro n m h |
| 58 | obtain rfl : m = n + 1 := h.symm |
| 59 | dsimp only [Cech.complex] |
| 60 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 61 | exact (differential_naturality r U P n).symm) |
| 62 | |
| 63 | theorem hom_f (n : ℕ) : (CechReindex.iso r U P).hom.f n = (componentIso r U P n).hom := rfl |
| 64 | |
| 65 | theorem naturality {Q : Dᵒᵖ ⥤ A} (a : P ⟶ Q) : |
| 66 | CechFunctor.complexMap U (Functor.whiskerLeft r.op a) ≫ (CechReindex.iso r U Q).hom = |
| 67 | (CechReindex.iso r U P).hom ≫ CechFunctor.complexMap (r.obj ∘ U) a := by |
| 68 | apply HomologicalComplex.Hom.ext |
| 69 | funext n |
| 70 | apply AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.productIso_natural |
| 71 | (fun b : Cech.Index ι n => P.mapIso (PreservesProduct.iso r (fun j => U (b.val j))).symm.op) |
| 72 | (fun b : Cech.Index ι n => Q.mapIso (PreservesProduct.iso r (fun j => U (b.val j))).symm.op) |
| 73 | id (fun b => a.app (op (r.obj ((Cech.formal U n).obj b)))) |
| 74 | (fun b => a.app (op ((Cech.formal (r.obj ∘ U) n).obj b))) |
| 75 | intro b |
| 76 | exact (a.naturality (PreservesProduct.iso r (fun j => U (b.val j))).inv.op).symm |
| 77 | |
| 78 | def functorIso : |
| 79 | (Functor.whiskeringLeft Cᵒᵖ Dᵒᵖ A).obj r.op ⋙ CechFunctor.functor U ≅ |
| 80 | CechFunctor.functor (r.obj ∘ U) := |
| 81 | NatIso.ofComponents (fun P => CechReindex.iso r U P) (fun {_ _} a => CechReindex.naturality r U _ a) |
| 82 | |
| 83 | def terminalIso : (r.op ⋙ P).obj (op (⊤_ C)) ≅ P.obj (op (⊤_ D)) := |
| 84 | P.mapIso (PreservesTerminal.iso r).symm.op |
| 85 | |
| 86 | theorem zero : |
| 87 | (CechReindex.iso r U P).hom.f 0 ≫ (CechZero.zeroIso (r.obj ∘ U) P).hom = |
| 88 | (CechZero.zeroIso U (r.op ⋙ P)).hom ≫ (terminalIso r P).hom := by |
| 89 | change (componentIso r U P 0).hom ≫ |
| 90 | (Pi.π (fun b : Cech.Index ι 0 => P.obj (op ((Cech.formal (r.obj ∘ U) 0).obj b))) CechZero.emptyIndex ≫ |
| 91 | P.map (CechZero.emptyProductMap (r.obj ∘ U) CechZero.emptyIndex).op) = |
| 92 | (Pi.π (fun b : Cech.Index ι 0 => P.obj (op (r.obj ((Cech.formal U 0).obj b)))) CechZero.emptyIndex ≫ |
| 93 | P.map (r.map (CechZero.emptyProductMap U CechZero.emptyIndex)).op) ≫ |
| 94 | P.map (PreservesTerminal.iso r).inv.op |
| 95 | rw [← Category.assoc, component_hom_π, Category.assoc, Category.assoc, |
| 96 | ← P.map_comp, ← P.map_comp] |
| 97 | exact congrArg (fun z => |
| 98 | Pi.π (fun b : Cech.Index ι 0 => P.obj (op (r.obj ((Cech.formal U 0).obj b)))) CechZero.emptyIndex ≫ P.map z) |
| 99 | (Subsingleton.elim _ _) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedOrdered.CechReindex |