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.Principal.GlobalCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedCover |
| 3 | |
| 4 | /-! # Supported Global Coefficients -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedGlobalCoefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The exact coefficient-global principal square ends in the |
| 11 | original map forgetting support, and remains so after any target map. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 13 | set_option backward.defeqAttrib.useBackward true |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | universe u v z uB vB |
| 17 | variable (R : Type u) [CommRing R] (X : TopCat.{v}) |
| 18 | |
| 19 | local instance coefficient_limits [UnivLE.{v,z}] : HasLimitsOfSize.{v,v} (ModuleCat.{z} R) := |
| 20 | ModuleCat.hasLimitsOfSize.{v,v,z,u} |
| 21 | local instance coefficient_products [UnivLE.{v,z}] : HasProducts.{v} (ModuleCat.{z} R) := |
| 22 | fun J => by |
| 23 | let : HasLimitsOfSize.{v,v} (ModuleCat.{z} R) := ModuleCat.hasLimitsOfSize.{v,v,z,u} |
| 24 | exact HasLimitsOfSize.has_limits_of_shape (Discrete J) |
| 25 | local instance coefficient_biproducts : HasFiniteBiproducts (ModuleCat.{z} R) := |
| 26 | Abelian.hasFiniteBiproducts |
| 27 | local instance coefficient_coproducts : HasCoproducts.{0} (ModuleCat.{z} R) := |
| 28 | fun J => by |
| 29 | let : HasColimitsOfSize.{0,0} (ModuleCat.{z} R) := ModuleCat.hasColimitsOfSize.{z,u,0,0} R |
| 30 | exact HasColimitsOfSize.has_colimits_of_shape (Discrete J) |
| 31 | |
| 32 | variable (K : CochainComplex (Sheaf (Opens.grothendieckTopology X) |
| 33 | (ModuleCat.{max u v z} R)) ℕ) |
| 34 | {C : Type v} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 35 | {ι κ ν μ ρ : Type v} |
| 36 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 37 | (W : ι → C) |
| 38 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 39 | (B₀ : κ → Opens X) (J : ν → Opens X) |
| 40 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 41 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B₀) |
| 42 | (V : μ → Opens X) (T : ρ → Opens X) |
| 43 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 44 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B₀)) |
| 45 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 46 | (O : Opens X) (hW : ∀ i, F.obj (W i) ≤ O) (hB : ∀ i, B₀ i ≤ O) |
| 47 | (hglobal : F.obj (⊤_ C) ⊔ O = ⊤) (q : ℕ) |
| 48 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B₀ J s |
| 49 | (Relative.SupportedExtension.underlying.{u,v,z} R X K) q)] |
| 50 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 51 | (Relative.SupportedExtension.underlying.{u,v,z} R X K)) q)] |
| 52 | [IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V |
| 53 | (Relative.SupportedExtension.underlying.{u,v,z} R X K)) q)] |
| 54 | (hcover : F.obj (⊤_ C) ⊓ O ≤ ⨆ i, F.obj (W i)) |
| 55 | (hrows : ∀ n m, ((Supported.OrderedCechEdge.bicomplex.{u,v,v,z} R X F W K).X n).ExactAt (m+1)) |
| 56 | |
| 57 | include hB in |
| 58 | theorem forget_comparison : |
| 59 | PresheafCover.Comparison.comparison F W B₀ J r s V T l t |
| 60 | (Relative.SupportedExtension.underlying.{u,v,z} R X K) q ≫ |
| 61 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V |
| 62 | (Relative.SupportedExtension.underlying.{u,v,z} R X K)) q) = |
| 63 | Supported.OrderedCech.Comparison.forgetSupport.{u,v,v,z} |
| 64 | R X F W O K hW hcover hrows hglobal q := by |
| 65 | rw [SupportedCover.Comparison.comparison R X K F W B₀ J r s V T l t |
| 66 | O hW hB hglobal q hcover hrows] |
| 67 | simp only [Category.assoc, IsIso.hom_inv_id, Category.comp_id] |
| 68 | |
| 69 | variable {B : Type uB} [Category.{vB} B] [Abelian B] |
| 70 | [HasProducts.{v} B] [HasCoproducts.{0} B] |
| 71 | (G : ModuleCat.{max u v z} R ⥤ B) [G.Additive] [G.PreservesHomology] |
| 72 | [PreservesLimitsOfSize.{v,v} G] |
| 73 | |
| 74 | abbrev comparison := |
| 75 | (GlobalCoefficients.comparison G |
| 76 | (Relative.SupportedExtension.underlying.{u,v,z} R X K) F W B₀ J r s V T l t q).trans |
| 77 | (congrArg G.map (forget_comparison R X K F W B₀ J r s V T l t O hW hB hglobal q hcover hrows)) |
| 78 | |
| 79 | abbrev with_target (Z : ModuleCat.{max u v z} R) |
| 80 | (a : (Presheaf.OrderedCechEdge.sections |
| 81 | (Relative.SupportedExtension.underlying.{u,v,z} R X K)).homology q ⟶ Z) := |
| 82 | (congrArg (fun f => f ≫ G.map a) |
| 83 | (comparison R X K F W B₀ J r s V T l t O hW hB hglobal q hcover hrows G)).trans |
| 84 | (G.map_comp |
| 85 | (Supported.OrderedCech.Comparison.forgetSupport.{u,v,v,z} |
| 86 | R X F W O K hW hcover hrows hglobal q) a).symm |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.SupportedGlobalCoefficients |