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.Module.SupportedCechRefinement |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueOrderedRows |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueOrderedGlobal |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.EdgeRefinement |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.RefinementQuasiIso |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.RelativeCech.Refinement |
| 7 | |
| 8 | /-! # Flasque Relative Cech Refinement -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueRelativeCechRefinement |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The actual relative and global ordered refinements of a flasque |
| 15 | module-sheaf complex are invertible, with independent coefficient universe. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | private theorem iso_of_triangle {D : Type*} [Category D] {A B C : D} |
| 21 | (a : A ⟶ B) (b : A ⟶ C) (f : B ⟶ C) [IsIso a] [IsIso b] |
| 22 | (h : a ≫ f = b) : IsIso f := by |
| 23 | have hf : f = inv a ≫ b := by |
| 24 | apply (cancel_epi a).mp |
| 25 | simpa only [Category.assoc, IsIso.hom_inv_id_assoc] using h |
| 26 | rw [hf] |
| 27 | infer_instance |
| 28 | |
| 29 | universe u w z |
| 30 | variable (R : Type u) [CommRing R] (X : Scheme.{0}) |
| 31 | (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 32 | (ModuleCat.{max u w} R)) ℕ) |
| 33 | (hK : ∀ q, TopCat.Presheaf.IsFlasque (X := X.toTopCat) (K.X q).obj) |
| 34 | |
| 35 | local instance coefficient_limits : HasLimitsOfSize.{0,0} (ModuleCat.{z} R) := |
| 36 | ModuleCat.hasLimitsOfSize.{0,0,z,u} |
| 37 | local instance coefficient_colimits : HasColimitsOfSize.{0,0} (ModuleCat.{z} R) := |
| 38 | ModuleCat.hasColimitsOfSize.{z,u,0,0} R |
| 39 | |
| 40 | abbrev presheaf := FlasqueOrderedGlobal.underlying.{u,w} R X.toTopCat K |
| 41 | |
| 42 | variable (A : X.Opens) {ι κ : Type} [LinearOrder ι] [LinearOrder κ] |
| 43 | (U : ι → X.Opens) (V : κ → X.Opens) |
| 44 | (r : FormalCoproduct.mk κ V ⟶ FormalCoproduct.mk ι U) |
| 45 | |
| 46 | include hK in |
| 47 | theorem rows (q n : ℕ) : |
| 48 | ((Supported.OrderedCechEdge.bicomplex.{u,0,0,w} R X.toTopCat |
| 49 | (RelativeCech.Intersections.intersect A) U K).X q).ExactAt (n+1) := by |
| 50 | let := hK q |
| 51 | let : ∀ (d : ℕ) (a : Fin (d+1) → ι), |
| 52 | PreservesLimit (Discrete.functor (U ∘ a)) (RelativeCech.Intersections.intersect A) := |
| 53 | fun _ a => RelativeCech.RefinementQuasiIso.intersection_preserves_product A (U ∘ a) |
| 54 | exact FlasqueOrderedRows.exactAt_succ.{u,w} R X.toTopCat |
| 55 | (RelativeCech.Intersections.intersect A) U (K.X q) n |
| 56 | |
| 57 | include hK in |
| 58 | theorem relative (O : X.Opens) (hU : ∀ i, A ⊓ U i ≤ O) (hV : ∀ i, A ⊓ V i ≤ O) |
| 59 | (hcU : A ⊓ O ≤ ⨆ i, A ⊓ U i) (hcV : A ⊓ O ≤ ⨆ i, A ⊓ V i) (q : ℕ) : |
| 60 | IsIso (RelativeCech.Refinement.homology A U V r (presheaf.{u,w} R X K) q) := by |
| 61 | change IsIso (homologyMap (AugmentedOrdered.CechRefinementTotal.totalMap U V r |
| 62 | (Supported.OrderedCechEdge.presheafComplex.{u,0,0,w} R X.toTopCat |
| 63 | (RelativeCech.Intersections.intersect A) K)) q) |
| 64 | exact Module.SupportedCechRefinement.isIso.{u,0,0,w} R X.toTopCat |
| 65 | (RelativeCech.Intersections.intersect A) U V r O K hU hV |
| 66 | (by exact (inf_le_inf_right O inf_le_left).trans hcU) |
| 67 | (by exact (inf_le_inf_right O inf_le_left).trans hcV) |
| 68 | (rows.{u,w} R X K hK A U) (rows.{u,w} R X K hK A V) q |
| 69 | |
| 70 | include hK in |
| 71 | theorem ordered (hU : iSup U = ⊤) (hV : iSup V = ⊤) (q : ℕ) : |
| 72 | IsIso (homologyMap (OrderedCech.Refinement.totalMap U V r (presheaf.{u,w} R X K)) q) := by |
| 73 | let := FlasqueOrderedGlobal.homology_isIso.{u,w} R X.toTopCat U K hU hK q |
| 74 | let := FlasqueOrderedGlobal.homology_isIso.{u,w} R X.toTopCat V K hV hK q |
| 75 | exact iso_of_triangle _ _ _ (OrderedCech.EdgeRefinement.homology U V r (presheaf.{u,w} R X K) q) |
| 76 | |
| 77 | end |
| 78 | |
| 79 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FlasqueRelativeCechRefinement |