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.MappedSingleCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Presheaf.CoverCoefficients |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AugmentedCech.SingleCoefficientCoordinates |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.OrderedCech.SingleCoefficientCoordinates |
| 5 | |
| 6 | /-! # Mapped Single Coefficients -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleCoefficients |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Exact coefficient change preserves the literal unshifted principal |
| 13 | comparison obtained from the original mapped-single coordinates. -/ |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | |
| 18 | private theorem descend {A B : Type*} [Category A] [Category B] (G : A ⥤ B) |
| 19 | {L T P Q : A} {L' T' P' Q' : B} |
| 20 | (l : L ≅ P) (t : T ≅ Q) (l' : L' ≅ P') (t' : T' ≅ Q') |
| 21 | (eL : G.obj L ≅ L') (eT : G.obj T ≅ T') |
| 22 | (a : L ⟶ T) (a' : L' ⟶ T') (b : P ⟶ Q) (b' : P' ⟶ Q') |
| 23 | (u : G.obj P ⟶ P') (v : G.obj Q ⟶ Q') |
| 24 | (ha : a ≫ t.hom = l.hom ≫ b) (ha' : a' ≫ t'.hom = l'.hom ≫ b') |
| 25 | (hc : G.map a ≫ eT.hom = eL.hom ≫ a') |
| 26 | (hl : eL.hom ≫ l'.hom = G.map l.hom ≫ u) |
| 27 | (ht : eT.hom ≫ t'.hom = G.map t.hom ≫ v) : |
| 28 | G.map b ≫ v = u ≫ b' := by |
| 29 | apply (cancel_epi (G.map l.hom)).mp |
| 30 | calc |
| 31 | G.map l.hom ≫ G.map b ≫ v = G.map a ≫ G.map t.hom ≫ v := by |
| 32 | rw [← Category.assoc, ← G.map_comp, ← ha, G.map_comp, Category.assoc] |
| 33 | _ = G.map a ≫ eT.hom ≫ t'.hom := by rw [ht] |
| 34 | _ = eL.hom ≫ a' ≫ t'.hom := by rw [← Category.assoc, hc, Category.assoc] |
| 35 | _ = eL.hom ≫ l'.hom ≫ b' := by rw [ha'] |
| 36 | _ = G.map l.hom ≫ u ≫ b' := by rw [← Category.assoc, hl, Category.assoc] |
| 37 | |
| 38 | universe u uA vA uB vB uS vS |
| 39 | variable {X : TopCat.{u}} |
| 40 | {A : Type uA} [Category.{vA} A] [Abelian A] [HasProducts.{u} A] [HasCoproducts.{0} A] |
| 41 | {B : Type uB} [Category.{vB} B] [Abelian B] [HasProducts.{u} B] [HasCoproducts.{0} B] |
| 42 | {S : Type uS} [Category.{vS} S] [Abelian S] |
| 43 | (G : A ⥤ B) [G.Additive] [G.PreservesHomology] [PreservesLimitsOfSize.{u,u} G] |
| 44 | (J : S ⥤ (Opens X)ᵒᵖ ⥤ A) [J.Additive] (M : S) (c g : ℕ) |
| 45 | |
| 46 | local instance : HasFiniteBiproducts A := Abelian.hasFiniteBiproducts |
| 47 | |
| 48 | abbrev mappedFunctor : S ⥤ (Opens X)ᵒᵖ ⥤ B := |
| 49 | J ⋙ (Functor.whiskeringRight (Opens X)ᵒᵖ A B).obj G |
| 50 | |
| 51 | variable {C : Type u} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Opens X) |
| 52 | {ι κ ν μ ρ : Type u} |
| 53 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 54 | (W : ι → C) |
| 55 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 56 | (B₀ : κ → Opens X) (E : ν → Opens X) |
| 57 | (r : FormalCoproduct.mk ν E ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 58 | (s : FormalCoproduct.mk ν E ⟶ FormalCoproduct.mk κ B₀) |
| 59 | (V : μ → Opens X) (T : ρ → Opens X) |
| 60 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 61 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B₀)) |
| 62 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 63 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B₀ E s |
| 64 | (MappedSingleCoordinates.source J M c) (g+c))] |
| 65 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 66 | (MappedSingleCoordinates.source J M c)) (g+c))] |
| 67 | |
| 68 | abbrev localCoefficientIso := AugmentedCech.SingleCoefficientCoordinates.coefficientIso W |
| 69 | (J ⋙ AugmentedCech.AmbientTotal.restriction F) G M g |
| 70 | abbrev globalCoefficientIso := OrderedCech.SingleCoefficientCoordinates.coefficientIso V J G M g |
| 71 | |
| 72 | theorem relative_isIso : IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B₀ E s |
| 73 | (MappedSingleCoordinates.source (mappedFunctor G J) M c) (g+c)) := |
| 74 | Presheaf.CoverCoefficients.relative_isIso G (MappedSingleCoordinates.source J M c) |
| 75 | (F.obj (⊤_ C)) B₀ E s (g+c) |
| 76 | |
| 77 | theorem ordered_isIso : IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 78 | (MappedSingleCoordinates.source (mappedFunctor G J) M c)) (g+c)) := |
| 79 | Presheaf.CoverCoefficients.ordered_isIso G (MappedSingleCoordinates.source J M c) |
| 80 | V T t (g+c) |
| 81 | |
| 82 | theorem comparison : |
| 83 | letI := relative_isIso G J M c g F B₀ E s |
| 84 | letI := ordered_isIso G J M c g V T t |
| 85 | G.map (MappedSingleCoordinates.coefficientComparison J M c g F W B₀ E r s V T l t) ≫ |
| 86 | (globalCoefficientIso G J M g V).hom = |
| 87 | (localCoefficientIso G J M g F W).hom ≫ |
| 88 | MappedSingleCoordinates.coefficientComparison (mappedFunctor G J) M c g F W B₀ E r s V T l t := by |
| 89 | let := relative_isIso G J M c g F B₀ E s |
| 90 | let := ordered_isIso G J M c g V T t |
| 91 | apply descend G |
| 92 | (MappedSingleCoordinates.localCoordinates J M c g F W) |
| 93 | (MappedSingleCoordinates.globalCoordinates J M c g V) |
| 94 | (MappedSingleCoordinates.localCoordinates (mappedFunctor G J) M c g F W) |
| 95 | (MappedSingleCoordinates.globalCoordinates (mappedFunctor G J) M c g V) |
| 96 | (AugmentedCech.CoefficientTotal.homologyIso W G |
| 97 | (((AugmentedCech.AmbientTotal.restriction F).mapHomologicalComplex (.up ℕ)).obj |
| 98 | (MappedSingleCoordinates.source J M c)) (g+c)) |
| 99 | (OrderedCech.CoefficientTotal.homologyIso V G |
| 100 | (MappedSingleCoordinates.source J M c) (g+c)) |
| 101 | (PresheafCover.Comparison.comparison F W B₀ E r s V T l t |
| 102 | (MappedSingleCoordinates.source J M c) (g+c)) |
| 103 | (PresheafCover.Comparison.comparison F W B₀ E r s V T l t |
| 104 | (MappedSingleCoordinates.source (mappedFunctor G J) M c) (g+c)) |
| 105 | · exact MappedSingleCoordinates.comparison J M c g F W B₀ E r s V T l t |
| 106 | · exact MappedSingleCoordinates.comparison (mappedFunctor G J) M c g F W B₀ E r s V T l t |
| 107 | · exact Presheaf.CoverCoefficients.principal G (MappedSingleCoordinates.source J M c) |
| 108 | F W B₀ E r s V T l t (g+c) |
| 109 | · exact AugmentedCech.SingleCoefficientCoordinates.comparison W |
| 110 | (J ⋙ AugmentedCech.AmbientTotal.restriction F) G M c g |
| 111 | · exact OrderedCech.SingleCoefficientCoordinates.comparison V J G M c g |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.MappedSingleCoefficients |