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.CoefficientHomology |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.PresheafCover |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Functor.InverseSquare |
| 4 | |
| 5 | /-! # Cover Coefficients -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CoverCoefficients |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Exact coefficient transport preserves every factor of the original |
| 12 | principal-to-global comparison, including the inverted refinements. -/ |
| 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 | |
| 17 | private theorem compose {D : Type*} [Category D] |
| 18 | {A B C A' B' C' : D} (f : A ⟶ B) (g : B ⟶ C) (f' : A' ⟶ B') (g' : B' ⟶ C') |
| 19 | (eA : A ⟶ A') (eB : B ⟶ B') (eC : C ⟶ C') |
| 20 | (hf : f ≫ eB = eA ≫ f') (hg : g ≫ eC = eB ≫ g') : |
| 21 | (f ≫ g) ≫ eC = eA ≫ (f' ≫ g') := by |
| 22 | rw [Category.assoc, hg, ← Category.assoc, hf, Category.assoc] |
| 23 | |
| 24 | universe u uA vA uB vB |
| 25 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.CoefficientHomology |
| 26 | variable {X : TopCat.{u}} |
| 27 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] |
| 28 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] |
| 29 | (G : A ⥤ B) [G.Additive] [PreservesLimitsOfSize.{u,u} G] [G.PreservesHomology] |
| 30 | [HasCoproducts.{0} A] [HasCoproducts.{0} B] [HasFiniteBiproducts A] |
| 31 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ A) ℕ) |
| 32 | {ι κ ν : Type u} [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] |
| 33 | |
| 34 | theorem relative_isIso (U : Opens X) (V : ι → Opens X) (T : ν → Opens X) |
| 35 | (r : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι V) (q : ℕ) |
| 36 | [IsIso (RelativeCech.Refinement.homology U V T r K q)] : |
| 37 | IsIso (RelativeCech.Refinement.homology U V T r (IntegralComparison.Principal.CoefficientHomology.mapped G K) q) := |
| 38 | Functor.InverseSquare.isIso G (IntegralComparison.Principal.CoefficientHomology.relativeIso G K U V q) (IntegralComparison.Principal.CoefficientHomology.relativeIso G K U T q) |
| 39 | (RelativeCech.Refinement.homology U V T r K q) |
| 40 | (RelativeCech.Refinement.homology U V T r (IntegralComparison.Principal.CoefficientHomology.mapped G K) q) |
| 41 | (IntegralComparison.Principal.CoefficientHomology.refinement G K U V T r q) |
| 42 | |
| 43 | theorem relative (U : Opens X) (V : ι → Opens X) (W : κ → Opens X) (T : ν → Opens X) |
| 44 | (r : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι V) |
| 45 | (s : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ W) (q : ℕ) |
| 46 | [IsIso (RelativeCech.Refinement.homology U W T s K q)] |
| 47 | [IsIso (RelativeCech.Refinement.homology U W T s (IntegralComparison.Principal.CoefficientHomology.mapped G K) q)] : |
| 48 | G.map (Relative.PresheafCommonRefinement.comparison U V W T r s K q) ≫ |
| 49 | (OrderedCech.CoefficientTotal.homologyIso (RelativeCech.Intersections.cover U W) G K q).hom = |
| 50 | (IntegralComparison.Principal.CoefficientHomology.relativeIso G K U V q).hom ≫ |
| 51 | Relative.PresheafCommonRefinement.comparison U V W T r s (IntegralComparison.Principal.CoefficientHomology.mapped G K) q := by |
| 52 | have hi := Functor.InverseSquare.inverse G (IntegralComparison.Principal.CoefficientHomology.relativeIso G K U W q) (IntegralComparison.Principal.CoefficientHomology.relativeIso G K U T q) |
| 53 | (RelativeCech.Refinement.homology U W T s K q) |
| 54 | (RelativeCech.Refinement.homology U W T s (IntegralComparison.Principal.CoefficientHomology.mapped G K) q) |
| 55 | (IntegralComparison.Principal.CoefficientHomology.refinement G K U W T s q) |
| 56 | have h₁ := compose _ _ _ _ _ _ _ (IntegralComparison.Principal.CoefficientHomology.refinement G K U V T r q) hi |
| 57 | have h₂ := compose _ _ _ _ _ _ _ h₁ (IntegralComparison.Principal.CoefficientHomology.extension G K U W q) |
| 58 | simpa only [Relative.PresheafCommonRefinement.comparison, G.map_comp, Category.assoc] using h₂ |
| 59 | |
| 60 | theorem ordered_isIso (V : ι → Opens X) (T : ν → Opens X) |
| 61 | (r : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι V) (q : ℕ) |
| 62 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T r K) q)] : |
| 63 | IsIso (homologyMap (OrderedCech.Refinement.totalMap V T r (IntegralComparison.Principal.CoefficientHomology.mapped G K)) q) := |
| 64 | Functor.InverseSquare.isIso G |
| 65 | (OrderedCech.CoefficientTotal.homologyIso V G K q) |
| 66 | (OrderedCech.CoefficientTotal.homologyIso T G K q) |
| 67 | (homologyMap (OrderedCech.Refinement.totalMap V T r K) q) |
| 68 | (homologyMap (OrderedCech.Refinement.totalMap V T r (IntegralComparison.Principal.CoefficientHomology.mapped G K)) q) |
| 69 | (Cech.RefinementCoefficientTotal.OrderedCechRefinementCoefficients.homology_natural V T r G K q) |
| 70 | |
| 71 | theorem ordered (U : ι → Opens X) (V : κ → Opens X) (T : ν → Opens X) |
| 72 | (r : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk ι U) |
| 73 | (s : FormalCoproduct.mk ν T ⟶ FormalCoproduct.mk κ V) (q : ℕ) |
| 74 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T s K) q)] |
| 75 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T s (IntegralComparison.Principal.CoefficientHomology.mapped G K)) q)] : |
| 76 | G.map (OrderedCover.Comparison.comparison U V T r s K q) ≫ |
| 77 | (OrderedCech.CoefficientTotal.homologyIso V G K q).hom = |
| 78 | (OrderedCech.CoefficientTotal.homologyIso U G K q).hom ≫ |
| 79 | OrderedCover.Comparison.comparison U V T r s (IntegralComparison.Principal.CoefficientHomology.mapped G K) q := by |
| 80 | have hi := Functor.InverseSquare.inverse G |
| 81 | (OrderedCech.CoefficientTotal.homologyIso V G K q) |
| 82 | (OrderedCech.CoefficientTotal.homologyIso T G K q) |
| 83 | (homologyMap (OrderedCech.Refinement.totalMap V T s K) q) |
| 84 | (homologyMap (OrderedCech.Refinement.totalMap V T s (IntegralComparison.Principal.CoefficientHomology.mapped G K)) q) |
| 85 | (Cech.RefinementCoefficientTotal.OrderedCechRefinementCoefficients.homology_natural V T s G K q) |
| 86 | have h := compose _ _ _ _ _ _ _ |
| 87 | (Cech.RefinementCoefficientTotal.OrderedCechRefinementCoefficients.homology_natural U T r G K q) hi |
| 88 | simpa only [OrderedCover.Comparison.comparison, G.map_comp] using h |
| 89 | |
| 90 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] |
| 91 | (F : C ⥤ Opens X) (W : ι → C) |
| 92 | [∀ (n : ℕ) (z : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F] |
| 93 | (C₀ : κ → Opens X) (J : ν → Opens X) |
| 94 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 95 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ C₀) |
| 96 | {μ ρ : Type u} [LinearOrder μ] [LinearOrder ρ] |
| 97 | (V : μ → Opens X) (T : ρ → Opens X) |
| 98 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 99 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) C₀)) |
| 100 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 101 | (q : ℕ) |
| 102 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) C₀ J s K q)] |
| 103 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t K) q)] |
| 104 | |
| 105 | theorem principal : |
| 106 | letI := relative_isIso G K (F.obj (⊤_ C)) C₀ J s q |
| 107 | letI := ordered_isIso G K V T t q |
| 108 | G.map (IntegralComparison.Principal.PresheafCover.Comparison.comparison F W C₀ J r s V T l t K q) ≫ |
| 109 | (OrderedCech.CoefficientTotal.homologyIso V G K q).hom = |
| 110 | (AugmentedCech.CoefficientTotal.homologyIso W G |
| 111 | (((AugmentedCech.AmbientTotal.restriction F).mapHomologicalComplex (.up ℕ)).obj K) q).hom ≫ |
| 112 | IntegralComparison.Principal.PresheafCover.Comparison.comparison F W C₀ J r s V T l t (IntegralComparison.Principal.CoefficientHomology.mapped G K) q := by |
| 113 | let := relative_isIso G K (F.obj (⊤_ C)) C₀ J s q |
| 114 | let := ordered_isIso G K V T t q |
| 115 | have h₁ := compose _ _ _ _ _ _ _ (IntegralComparison.Principal.CoefficientHomology.ambient G K F W q) |
| 116 | (relative G K (F.obj (⊤_ C)) (F.obj ∘ W) C₀ J r s q) |
| 117 | have h₂ := compose _ _ _ _ _ _ _ h₁ |
| 118 | (ordered G K (RelativeCech.Intersections.cover (F.obj (⊤_ C)) C₀) V T l t q) |
| 119 | simpa only [IntegralComparison.Principal.PresheafCover.Comparison.comparison, homologyMapIso_hom, |
| 120 | G.map_comp, Category.assoc] using h₂ |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CoverCoefficients |