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.Presheaf.CoverCoefficients |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Ordered.EdgeCoefficientHomology |
| 3 | |
| 4 | /-! # Global Coefficients -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.GlobalCoefficients |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Exact coefficient change preserves the genuine principal-to-global |
| 11 | map through the inverse of the original ordered global edge. -/ |
| 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 | |
| 17 | private theorem global_square {C D : Type*} [Category C] [Category D] |
| 18 | (G : C ⥤ D) {L T S : C} {L' T' S' : D} |
| 19 | (eL : G.obj L ≅ L') (eT : G.obj T ≅ T') (eS : G.obj S ≅ S') |
| 20 | (c : L ⟶ T) (c' : L' ⟶ T') (a : S ⟶ T) (a' : S' ⟶ T') |
| 21 | [IsIso a] [IsIso a'] |
| 22 | (hc : G.map c ≫ eT.hom = eL.hom ≫ c') |
| 23 | (ha : G.map a ≫ eT.hom = eS.hom ≫ a') : |
| 24 | eL.hom ≫ c' ≫ inv a' ≫ eS.inv = G.map (c ≫ inv a) := by |
| 25 | have hi := Functor.InverseSquare.inverse G eS eT a a' ha |
| 26 | apply (cancel_mono eS.hom).mp |
| 27 | simp only [G.map_comp, Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 28 | rw [hi, ← Category.assoc (G.map c) eT.hom, hc, Category.assoc] |
| 29 | |
| 30 | universe u uA vA uB vB |
| 31 | variable {X : TopCat.{u}} |
| 32 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 33 | [HasFiniteBiproducts A] |
| 34 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] [HasCoproducts.{0} B] |
| 35 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] [PreservesLimitsOfSize.{u,u} G] |
| 36 | (K : CochainComplex ((Opens X)ᵒᵖ ⥤ A) ℕ) |
| 37 | |
| 38 | section Edge |
| 39 | variable {μ : Type u} [LinearOrder μ] (V : μ → Opens X) (q : ℕ) |
| 40 | [IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V K) q)] |
| 41 | |
| 42 | theorem edge_isIso : |
| 43 | IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V |
| 44 | (CoefficientHomology.mapped G K)) q) := |
| 45 | Functor.InverseSquare.isIso G |
| 46 | (((Presheaf.OrderedCechEdge.sections K).sc q).mapHomologyIso G).symm |
| 47 | (OrderedCech.CoefficientTotal.homologyIso V G K q) |
| 48 | (homologyMap (Presheaf.OrderedCechEdge.edge V K) q) |
| 49 | (homologyMap (Presheaf.OrderedCechEdge.edge V |
| 50 | (CoefficientHomology.mapped G K)) q) |
| 51 | (Ordered.EdgeCoefficientHomology.homology V G K q) |
| 52 | |
| 53 | end Edge |
| 54 | |
| 55 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 56 | {ι κ ν μ ρ : Type u} |
| 57 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 58 | (W : ι → C) |
| 59 | [∀ (n : ℕ) (z : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ z)) F] |
| 60 | (B₀ : κ → Opens X) (J : ν → Opens X) |
| 61 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 62 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B₀) |
| 63 | (V : μ → Opens X) (T : ρ → Opens X) |
| 64 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 65 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B₀)) |
| 66 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 67 | (q : ℕ) |
| 68 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B₀ J s K q)] |
| 69 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t K) q)] |
| 70 | [IsIso (homologyMap (Presheaf.OrderedCechEdge.edge V K) q)] |
| 71 | |
| 72 | theorem comparison : |
| 73 | letI := Presheaf.CoverCoefficients.relative_isIso G K (F.obj (⊤_ C)) B₀ J s q |
| 74 | letI := Presheaf.CoverCoefficients.ordered_isIso G K V T t q |
| 75 | letI := edge_isIso G K V q |
| 76 | (AugmentedCech.CoefficientTotal.homologyIso W G |
| 77 | (((AugmentedCech.AmbientTotal.restriction F).mapHomologicalComplex (.up ℕ)).obj K) q).hom ≫ |
| 78 | PresheafCover.Comparison.comparison F W B₀ J r s V T l t |
| 79 | (CoefficientHomology.mapped G K) q ≫ |
| 80 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V |
| 81 | (CoefficientHomology.mapped G K)) q) ≫ |
| 82 | (((Presheaf.OrderedCechEdge.sections K).sc q).mapHomologyIso G).hom = |
| 83 | G.map (PresheafCover.Comparison.comparison F W B₀ J r s V T l t K q ≫ |
| 84 | inv (homologyMap (Presheaf.OrderedCechEdge.edge V K) q)) := by |
| 85 | let := Presheaf.CoverCoefficients.relative_isIso G K (F.obj (⊤_ C)) B₀ J s q |
| 86 | let := Presheaf.CoverCoefficients.ordered_isIso G K V T t q |
| 87 | let := edge_isIso G K V q |
| 88 | exact global_square G |
| 89 | (AugmentedCech.CoefficientTotal.homologyIso W G |
| 90 | (((AugmentedCech.AmbientTotal.restriction F).mapHomologicalComplex (.up ℕ)).obj K) q) |
| 91 | (OrderedCech.CoefficientTotal.homologyIso V G K q) |
| 92 | (((Presheaf.OrderedCechEdge.sections K).sc q).mapHomologyIso G).symm |
| 93 | (PresheafCover.Comparison.comparison F W B₀ J r s V T l t K q) |
| 94 | (PresheafCover.Comparison.comparison F W B₀ J r s V T l t |
| 95 | (CoefficientHomology.mapped G K) q) |
| 96 | (homologyMap (Presheaf.OrderedCechEdge.edge V K) q) |
| 97 | (homologyMap (Presheaf.OrderedCechEdge.edge V (CoefficientHomology.mapped G K)) q) |
| 98 | (Presheaf.CoverCoefficients.principal G K F W B₀ J r s V T l t q) |
| 99 | (Ordered.EdgeCoefficientHomology.homology V G K q) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.GlobalCoefficients |