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.CechRefinementTotal |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCech |
| 3 | |
| 4 | /-! # Supported Cech Refinement -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SupportedCechRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Supported refinement preserves the actual module-valued edge with |
| 11 | independent space, index and coefficient universes. Exact rows make the |
| 12 | refinement an isomorphism on homology. -/ |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Supported.OrderedCechEdge |
| 17 | |
| 18 | private theorem iso_of_triangle {D : Type*} [Category D] {A B C : D} |
| 19 | (a : A ⟶ B) (b : A ⟶ C) (f : B ⟶ C) [IsIso a] [IsIso b] |
| 20 | (h : a ≫ f = b) : IsIso f := by |
| 21 | have hf : f = inv a ≫ b := by |
| 22 | apply (cancel_epi a).mp |
| 23 | simpa only [Category.assoc, IsIso.hom_inv_id_assoc] using h |
| 24 | rw [hf] |
| 25 | infer_instance |
| 26 | |
| 27 | universe u v w z |
| 28 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 29 | {C : Type w} [Preorder C] [HasFiniteProducts C] |
| 30 | (F : C ⥤ Opens X) {ι κ : Type w} [LinearOrder ι] [LinearOrder κ] |
| 31 | (U : ι → C) (V : κ → C) |
| 32 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 33 | (O : Opens X) |
| 34 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 35 | (ModuleCat.{max u v w z} R)) ℕ) |
| 36 | (hU : ∀ i, F.obj (U i) ≤ O) (hV : ∀ i, F.obj (V i) ≤ O) |
| 37 | |
| 38 | local instance coefficient_limits [UnivLE.{w,z}] : HasLimitsOfSize.{w,w} (ModuleCat.{z} R) := |
| 39 | ModuleCat.hasLimitsOfSize.{w,w,z,u} |
| 40 | local instance coefficient_colimits : HasColimitsOfSize.{0,0} (ModuleCat.{z} R) := |
| 41 | ModuleCat.hasColimitsOfSize.{z,u,0,0} R |
| 42 | |
| 43 | theorem component (q : ℕ) : |
| 44 | Supported.OrderedCechEdge.component.{u,v,w,z} R X F U O K q ≫ |
| 45 | ((AugmentedOrdered.CechRefinementTotal.bicomplexMap U V r |
| 46 | (Supported.OrderedCechEdge.presheafComplex.{u,v,w,z} R X F K)).f q).f 0 = |
| 47 | Supported.OrderedCechEdge.component.{u,v,w,z} R X F V O K q := by |
| 48 | change (_ ≫ (AugmentedOrdered.CechZero.zeroIso U (F.op ⋙ (K.X q).obj)).inv) ≫ |
| 49 | (AugmentedOrdered.CechRefinement.map U V r (F.op ⋙ (K.X q).obj)).f 0 = _ |
| 50 | rw [AugmentedOrdered.CechRefinement.map_f_zero] |
| 51 | simp only [Category.assoc, Iso.inv_hom_id_assoc] |
| 52 | rfl |
| 53 | |
| 54 | theorem edge : Supported.OrderedCechEdge.map.{u,v,w,z} R X F U O K hU ≫ |
| 55 | AugmentedOrdered.CechRefinementTotal.totalMap U V r (Supported.OrderedCechEdge.presheafComplex.{u,v,w,z} R X F K) = |
| 56 | Supported.OrderedCechEdge.map.{u,v,w,z} R X F V O K hV := by |
| 57 | apply HomologicalComplex.Hom.ext |
| 58 | funext q |
| 59 | simp only [Supported.OrderedCechEdge.map, HomologicalComplex.comp_f, |
| 60 | AlgebraicGeometry.SheafCohomology.Cech.UpNatHorizontalEdge.HomologicalComplex₂.totalUpNatHorizontalEdge_f, |
| 61 | AugmentedOrdered.CechRefinementTotal.totalMap, Category.assoc, |
| 62 | HomologicalComplex₂.ιTotal_map] |
| 63 | exact (Category.assoc _ _ _).symm.trans |
| 64 | (congrArg (fun a => a ≫ (Supported.OrderedCechEdge.bicomplex.{u,v,w,z} R X F V K).ιTotal (.up ℕ) q 0 q rfl) |
| 65 | (component.{u,v,w,z} R X F U V r O K q)) |
| 66 | |
| 67 | theorem homology_edge (q : ℕ) : |
| 68 | homologyMap (Supported.OrderedCechEdge.map.{u,v,w,z} R X F U O K hU) q ≫ |
| 69 | homologyMap (AugmentedOrdered.CechRefinementTotal.totalMap U V r |
| 70 | (Supported.OrderedCechEdge.presheafComplex.{u,v,w,z} R X F K)) q = |
| 71 | homologyMap (Supported.OrderedCechEdge.map.{u,v,w,z} R X F V O K hV) q := by |
| 72 | simpa only [homologyMap_comp] using |
| 73 | congrArg (fun a => homologyMap a q) (edge.{u,v,w,z} R X F U V r O K hU hV) |
| 74 | |
| 75 | include hU hV in |
| 76 | theorem isIso |
| 77 | (hcU : F.obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (U i)) |
| 78 | (hcV : F.obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (V i)) |
| 79 | (hrU : ∀ q r, ((Supported.OrderedCechEdge.bicomplex.{u,v,w,z} R X F U K).X q).ExactAt (r+1)) |
| 80 | (hrV : ∀ q r, ((Supported.OrderedCechEdge.bicomplex.{u,v,w,z} R X F V K).X q).ExactAt (r+1)) (q : ℕ) : |
| 81 | IsIso (homologyMap (AugmentedOrdered.CechRefinementTotal.totalMap U V r |
| 82 | (Supported.OrderedCechEdge.presheafComplex.{u,v,w,z} R X F K)) q) := by |
| 83 | let := Supported.OrderedCech.Comparison.quasiIso.{u,v,w,z} R X F U O K hU hcU hrU |
| 84 | let := Supported.OrderedCech.Comparison.quasiIso.{u,v,w,z} R X F V O K hV hcV hrV |
| 85 | exact iso_of_triangle _ _ _ (homology_edge.{u,v,w,z} R X F U V r O K hU hV q) |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SupportedCechRefinement |