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.Supported.OrderedCechEdge |
| 2 | import Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing |
| 3 | import Mathlib.Algebra.Homology.ShortComplex.ModuleCat |
| 4 | |
| 5 | /-! # Ordered Cech Exact -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCechExact |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The first supported Čech row is exact by separatedness of the |
| 12 | original sheaf on the complement. No acyclicity assumption is used. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | universe u v w z |
| 20 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 21 | {C : Type w} [Preorder C] [HasFiniteProducts C] |
| 22 | (F : C ⥤ Opens X) {ι : Type w} [LinearOrder ι] (U : ι → C) (O : Opens X) |
| 23 | |
| 24 | local instance coefficient_limits [UnivLE.{w, z}] : |
| 25 | HasLimitsOfSize.{w, w} (ModuleCat.{z} R) := |
| 26 | ModuleCat.hasLimitsOfSize.{w, w, z, u} |
| 27 | |
| 28 | local notation "V" => F.obj (⊤_ C) |
| 29 | |
| 30 | variable (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 31 | (ModuleCat.{max u v w z} R)) ℕ) |
| 32 | (hO : ∀ i, F.obj (U i) ≤ O) |
| 33 | (hcover : F.obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (U i)) |
| 34 | |
| 35 | include hO hcover in |
| 36 | theorem exact (q : ℕ) : |
| 37 | (ShortComplex.mk (OrderedCechEdge.component.{u,v,w,z} R X F U O K q) |
| 38 | (((OrderedCechEdge.bicomplex.{u,v,w,z} R X F U K).X q).d 0 1) |
| 39 | (OrderedCechEdge.cocycle.{u,v,w,z} R X F U O K hO q)).Exact := by |
| 40 | rw [ShortComplex.moduleCat_exact_iff] |
| 41 | intro y hy |
| 42 | let P : Cᵒᵖ ⥤ ModuleCat.{max u v w z} R := F.op ⋙ (K.X q).obj |
| 43 | let e := AugmentedOrdered.CechZero.zeroIso (D := ModuleCat.{max u v w z} R) U P |
| 44 | let r := (SectionsExcision.restriction V (V ⊓ O) inf_le_left).app (K.X q) |
| 45 | let t := e.hom y |
| 46 | have het : e.inv t = y := by |
| 47 | exact ConcreteCategory.congr_hom e.hom_inv_id y |
| 48 | have ht : r t = 0 := by |
| 49 | apply TopCat.Sheaf.eq_of_locally_eq' (K.X q) (fun i => F.obj (U i)) (V ⊓ O) |
| 50 | (fun i => homOfLE (le_inf (leOfHom (F.map (terminal.from (U i)))) (hO i))) hcover |
| 51 | intro i |
| 52 | rw [map_zero] |
| 53 | let a : AugmentedOrdered.Cech.Index ι 1 := |
| 54 | ⟨fun _ => i, Subsingleton.strictMono (α := Fin 1) _⟩ |
| 55 | let T := (AugmentedOrdered.Cech.formal U 1).obj a |
| 56 | have hz : P.map (terminal.from T).op t = 0 := by |
| 57 | have hs := ConcreteCategory.congr_hom |
| 58 | (AugmentedOrdered.CechZero.zeroIso_inv_differential_π U P a) t |
| 59 | change (Pi.π (fun b : AugmentedOrdered.Cech.Index ι 1 => |
| 60 | P.obj (op ((AugmentedOrdered.Cech.formal U 1).obj b))) a) |
| 61 | (AugmentedOrdered.Cech.differential U P 0 (e.inv t)) = _ at hs |
| 62 | change AugmentedOrdered.Cech.differential U P 0 y = 0 at hy |
| 63 | rw [het, hy, map_zero] at hs |
| 64 | exact hs.symm |
| 65 | let σ : U i ⟶ T := Pi.lift (fun _ : Fin 1 => 𝟙 (U i)) |
| 66 | have hs := congrArg ((K.X q).obj.map (F.map σ).op) hz |
| 67 | rw [map_zero] at hs |
| 68 | change (K.X q).obj.map (F.map σ).op |
| 69 | ((K.X q).obj.map (F.map (terminal.from T)).op t) = 0 at hs |
| 70 | rw [← ConcreteCategory.comp_apply, ← Functor.map_comp, ← op_comp, |
| 71 | ← F.map_comp] at hs |
| 72 | change (K.X q).obj.map _ ((K.X q).obj.map _ t) = 0 |
| 73 | rw [← ConcreteCategory.comp_apply, ← Functor.map_comp, ← op_comp] |
| 74 | have he : (homOfLE (le_inf (leOfHom (F.map (terminal.from (U i)))) (hO i)) ≫ |
| 75 | (homOfLE inf_le_left : V ⊓ O ⟶ V)) = F.map (σ ≫ terminal.from T) := |
| 76 | Subsingleton.elim _ _ |
| 77 | rw [he] |
| 78 | exact hs |
| 79 | refine ⟨(ModuleCat.kernelIsoKer r).inv ⟨t, ht⟩, ?_⟩ |
| 80 | change e.inv (kernel.ι r ((ModuleCat.kernelIsoKer r).inv ⟨t, ht⟩)) = y |
| 81 | rw [ModuleCat.kernelIsoKer_inv_kernel_ι_apply] |
| 82 | exact het |
| 83 | |
| 84 | theorem mono (q : ℕ) : |
| 85 | Mono (OrderedCechEdge.component.{u,v,w,z} R X F U O K q) := by |
| 86 | change Mono ((SectionsExcision.inclusion V (V ⊓ O) inf_le_left).app (K.X q) ≫ |
| 87 | (AugmentedOrdered.CechZero.zeroIso (D := ModuleCat.{max u v w z} R) U |
| 88 | (F.op ⋙ (K.X q).obj)).inv) |
| 89 | change Mono (kernel.ι _ ≫ _) |
| 90 | infer_instance |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCechExact |