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.RelativeCech.Total |
| 3 | |
| 4 | /-! # Ambient Coordinates -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.AmbientCoordinates |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A local diagram whose terminal object is an ambient open has the |
| 11 | same supported Čech complex as the relative open-cover construction. |
| 12 | Only its nonempty tuple products need to be preserved. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.CategoryTheory.Preadditive _root_.TopologicalSpace Opposite |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Intersections |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | universe u v |
| 21 | variable {X : TopCat.{u}} {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 22 | (F : C ⥤ Opens X) {ι : Type u} [LinearOrder ι] (U : ι → C) |
| 23 | [∀ (n : ℕ) (z : Fin (n + 1) → ι), PreservesLimit (Discrete.functor (U ∘ z)) F] |
| 24 | |
| 25 | def objectHom (n : ℕ) (a : AugmentedOrdered.Cech.Index ι n) : |
| 26 | F.obj ((AugmentedOrdered.Cech.formal U n).obj a) ⟶ |
| 27 | F.obj (⊤_ C) ⊓ (AugmentedOrdered.Cech.formal (F.obj ∘ U) n).obj a := |
| 28 | homOfLE (le_inf (leOfHom (F.map (terminal.from _))) |
| 29 | (leOfHom (piComparison F (U ∘ a.val)))) |
| 30 | |
| 31 | def objectInv (n : ℕ) (a : AugmentedOrdered.Cech.Index ι n) : |
| 32 | F.obj (⊤_ C) ⊓ (AugmentedOrdered.Cech.formal (F.obj ∘ U) n).obj a ⟶ |
| 33 | F.obj ((AugmentedOrdered.Cech.formal U n).obj a) := by |
| 34 | cases n with |
| 35 | | zero => exact homOfLE inf_le_left ≫ F.map (AugmentedOrdered.CechZero.emptyProductMap U a) |
| 36 | | succ n => exact homOfLE inf_le_right ≫ (PreservesProduct.iso F (U ∘ a.val)).inv |
| 37 | |
| 38 | def objectIso (n : ℕ) (a : AugmentedOrdered.Cech.Index ι n) : |
| 39 | F.obj ((AugmentedOrdered.Cech.formal U n).obj a) ≅ |
| 40 | F.obj (⊤_ C) ⊓ (AugmentedOrdered.Cech.formal (F.obj ∘ U) n).obj a where |
| 41 | hom := objectHom F U n a |
| 42 | inv := objectInv F U n a |
| 43 | |
| 44 | variable {D : Type v} [Category D] [Preadditive D] [HasProducts.{u} D] |
| 45 | (P : (Opens X)ᵒᵖ ⥤ D) |
| 46 | |
| 47 | def componentIso (n : ℕ) : AugmentedOrdered.Cech.object U (F.op ⋙ P) n ≅ |
| 48 | AugmentedOrdered.Cech.object (F.obj ∘ U) ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).op ⋙ P) n := |
| 49 | Pi.mapIso (fun a : AugmentedOrdered.Cech.Index ι n => P.mapIso (objectIso F U n a).symm.op) |
| 50 | |
| 51 | omit [Preadditive D] in |
| 52 | theorem component_hom_π (n : ℕ) (a : AugmentedOrdered.Cech.Index ι n) : |
| 53 | (componentIso F U P n).hom ≫ |
| 54 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι n => P.obj |
| 55 | (op (F.obj (⊤_ C) ⊓ (AugmentedOrdered.Cech.formal (F.obj ∘ U) n).obj b))) a = |
| 56 | Pi.π (fun b : AugmentedOrdered.Cech.Index ι n => P.obj (op (F.obj ((AugmentedOrdered.Cech.formal U n).obj b)))) a ≫ |
| 57 | P.map (objectIso F U n a).inv.op := Pi.mapIso_hom_π _ _ |
| 58 | |
| 59 | omit [Preadditive D] in |
| 60 | theorem coface_naturality (n : ℕ) (k : Fin (n + 1)) : |
| 61 | AugmentedOrdered.Cech.coface U (F.op ⋙ P) n k ≫ (componentIso F U P (n + 1)).hom = |
| 62 | (componentIso F U P n).hom ≫ |
| 63 | AugmentedOrdered.Cech.coface (F.obj ∘ U) ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).op ⋙ P) n k := by |
| 64 | apply AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.productIso_natural |
| 65 | (fun a : AugmentedOrdered.Cech.Index ι n => P.mapIso (objectIso F U n a).symm.op) |
| 66 | (fun a : AugmentedOrdered.Cech.Index ι (n + 1) => P.mapIso (objectIso F U (n + 1) a).symm.op) |
| 67 | (fun a => a.delete k) |
| 68 | (fun a => P.map (F.map ((AugmentedOrdered.Cech.face U n k).φ a)).op) |
| 69 | (fun a => P.map ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).map |
| 70 | ((AugmentedOrdered.Cech.face (F.obj ∘ U) n k).φ a)).op) |
| 71 | intro a |
| 72 | exact (P.map_comp _ _).symm.trans |
| 73 | ((congrArg P.map (Subsingleton.elim _ _)).trans (P.map_comp _ _)) |
| 74 | |
| 75 | theorem differential_naturality (n : ℕ) : |
| 76 | AugmentedOrdered.Cech.differential U (F.op ⋙ P) n ≫ (componentIso F U P (n + 1)).hom = |
| 77 | (componentIso F U P n).hom ≫ |
| 78 | AugmentedOrdered.Cech.differential (F.obj ∘ U) ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).op ⋙ P) n := by |
| 79 | simp only [AugmentedOrdered.Cech.differential, comp_sum, sum_comp, comp_zsmul, zsmul_comp, coface_naturality] |
| 80 | |
| 81 | def iso : AugmentedOrdered.Cech.complex U (F.op ⋙ P) ≅ |
| 82 | AugmentedOrdered.Cech.complex (F.obj ∘ U) ((RelativeCech.Intersections.intersect (F.obj (⊤_ C))).op ⋙ P) := |
| 83 | HomologicalComplex.Hom.isoOfComponents (componentIso F U P) (by |
| 84 | intro n m h |
| 85 | obtain rfl : m = n + 1 := h.symm |
| 86 | dsimp only [AugmentedOrdered.Cech.complex] |
| 87 | rw [CochainComplex.of_d, CochainComplex.of_d] |
| 88 | exact (differential_naturality F U P n).symm) |
| 89 | |
| 90 | theorem naturality {Q : (Opens X)ᵒᵖ ⥤ D} (a : P ⟶ Q) : |
| 91 | AugmentedOrdered.CechFunctor.complexMap U (Functor.whiskerLeft F.op a) ≫ (AmbientCoordinates.iso F U Q).hom = |
| 92 | (AmbientCoordinates.iso F U P).hom ≫ AugmentedOrdered.CechFunctor.complexMap (F.obj ∘ U) |
| 93 | (Functor.whiskerLeft (RelativeCech.Intersections.intersect (F.obj (⊤_ C))).op a) := by |
| 94 | apply HomologicalComplex.Hom.ext |
| 95 | funext n |
| 96 | apply AlgebraicGeometry.Crystalline.Cohomology.Cech.BaseChange.CechBaseChange.productIso_natural |
| 97 | (fun b : AugmentedOrdered.Cech.Index ι n => P.mapIso (objectIso F U n b).symm.op) |
| 98 | (fun b : AugmentedOrdered.Cech.Index ι n => Q.mapIso (objectIso F U n b).symm.op) |
| 99 | id (fun b => a.app (op (F.obj ((AugmentedOrdered.Cech.formal U n).obj b)))) |
| 100 | (fun b => a.app (op (F.obj (⊤_ C) ⊓ (AugmentedOrdered.Cech.formal (F.obj ∘ U) n).obj b))) |
| 101 | intro b |
| 102 | exact (a.naturality (objectIso F U n b).inv.op).symm |
| 103 | |
| 104 | def functorIso : |
| 105 | (Functor.whiskeringLeft Cᵒᵖ (Opens X)ᵒᵖ D).obj F.op ⋙ |
| 106 | AugmentedOrdered.CechFunctor.functor U ≅ |
| 107 | RelativeCech.Total.localFunctor (F.obj (⊤_ C)) (F.obj ∘ U) := |
| 108 | NatIso.ofComponents (AmbientCoordinates.iso F U) (fun {_ _} a => AmbientCoordinates.naturality F U _ a) |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.AmbientCoordinates |