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.CechPushforwardSingle |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ComplexCoefficientIso |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Cech.ReindexIsomorphism |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.NestedSinglePushforward |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.OrderedInjective |
| 6 | |
| 7 | /-! # Nested Pushforward -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.NestedPushforward |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The original nested module pushforward comparison equals the |
| 14 | source single-sheaf comparison in literal ordered coefficient coordinates. -/ |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.TopologicalSpace Opposite _root_.HomologicalComplex |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | variable {Y X Z : Scheme.{0}} (f : Y ⟶ X) (i : X ⟶ Z) |
| 20 | {C : Type} [Preorder C] [HasFiniteProducts C] (F : C ⥤ Z.Opens) |
| 21 | {ι κ ν μ ρ : Type} |
| 22 | [LinearOrder ι] [LinearOrder κ] [LinearOrder ν] [LinearOrder μ] [LinearOrder ρ] |
| 23 | (W : ι → C) |
| 24 | [∀ (n : ℕ) (a : Fin (n+1) → ι), PreservesLimit (Discrete.functor (W ∘ a)) F] |
| 25 | (B : κ → Z.Opens) (J : ν → Z.Opens) |
| 26 | (r : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk ι (F.obj ∘ W)) |
| 27 | (s : FormalCoproduct.mk ν J ⟶ FormalCoproduct.mk κ B) |
| 28 | (V : μ → Z.Opens) (T : ρ → Z.Opens) |
| 29 | (l : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk (WithBot κ) |
| 30 | (RelativeCech.Intersections.cover (F.obj (⊤_ C)) B)) |
| 31 | (t : FormalCoproduct.mk ρ T ⟶ FormalCoproduct.mk μ V) |
| 32 | (N : Y.Modules) (c g : ℕ) |
| 33 | attribute [local instance] RelativeCech.ReindexData.preimage_limits |
| 34 | CechPushforwardCoordinates.pulled_products |
| 35 | |
| 36 | abbrev image := PrincipalSource.OpenRestriction.image f i N |
| 37 | abbrev coefficient := Reference.SinglePresheafCoordinates.presheaf N |
| 38 | abbrev original := Relative.AdditiveCechConcentration.coefficients |
| 39 | ((single Z.Modules (.up ℕ) c).obj (image f i N)) |
| 40 | abbrev plain := (single (Y.Opensᵒᵖ ⥤ AddCommGrpCat) (.up ℕ) c).obj (coefficient N) |
| 41 | abbrev ambientPlain := (single (Z.Opensᵒᵖ ⥤ AddCommGrpCat) (.up ℕ) c).obj |
| 42 | (Reference.SinglePresheafCoordinates.presheaf (image f i N)) |
| 43 | abbrev sourceFunctor := sheafToPresheaf (Opens.grothendieckTopology Y) AddCommGrpCat |
| 44 | |
| 45 | variable |
| 46 | [IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s (original f i N c) (g+c))] |
| 47 | [IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (original f i N c)) (g+c))] |
| 48 | |
| 49 | local instance ambient_plain_relative : |
| 50 | IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s (ambientPlain f i N c) (g+c)) := |
| 51 | Cech.ComplexCoefficientIso.relative (Reference.SinglePresheafCoordinates.iso (image f i N) c) |
| 52 | (F.obj (⊤_ C)) B J s (g+c) |
| 53 | |
| 54 | local instance ambient_plain_ordered : |
| 55 | IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t (ambientPlain f i N c)) (g+c)) := |
| 56 | Cech.ComplexCoefficientIso.ordered (Reference.SinglePresheafCoordinates.iso (image f i N) c) |
| 57 | V T t (g+c) |
| 58 | |
| 59 | local instance pushed_relative : |
| 60 | IsIso (RelativeCech.Refinement.homology (F.obj (⊤_ C)) B J s |
| 61 | (RelativeCech.ReindexTotal.pushed (f ≫ i).base (plain N c)) (g+c)) := |
| 62 | Cech.ComplexCoefficientIso.relative (NestedSinglePushforward.plainIso f i N c) |
| 63 | (F.obj (⊤_ C)) B J s (g+c) |
| 64 | |
| 65 | local instance pushed_ordered : |
| 66 | IsIso (homologyMap (OrderedCech.Refinement.totalMap V T t |
| 67 | (RelativeCech.ReindexTotal.pushed (f ≫ i).base (plain N c))) (g+c)) := |
| 68 | Cech.ComplexCoefficientIso.ordered (NestedSinglePushforward.plainIso f i N c) V T t (g+c) |
| 69 | |
| 70 | local instance source_plain_relative : |
| 71 | IsIso (RelativeCech.Refinement.homology |
| 72 | ((CechPushforwardCoordinates.pulled (f ≫ i).base F).obj (⊤_ C)) |
| 73 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 74 | (RelativeCech.Reindex.mapped (f ≫ i).base B J s) (plain N c) (g+c)) := |
| 75 | Cech.ReindexIsomorphism.relative_source (f ≫ i).base (F.obj (⊤_ C)) B J s (plain N c) (g+c) |
| 76 | |
| 77 | local instance source_plain_ordered : |
| 78 | IsIso (homologyMap (OrderedCech.Refinement.totalMap |
| 79 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ V) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ T) |
| 80 | (RelativeCech.ReindexGlobal.rightRefinement (f ≫ i).base V T t) (plain N c)) (g+c)) := |
| 81 | Cech.ReindexIsomorphism.ordered_source (f ≫ i).base V T t (plain N c) (g+c) |
| 82 | |
| 83 | local instance source_sheaf_relative : |
| 84 | IsIso (RelativeCech.Refinement.homology |
| 85 | ((CechPushforwardCoordinates.pulled (f ≫ i).base F).obj (⊤_ C)) |
| 86 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 87 | (RelativeCech.Reindex.mapped (f ≫ i).base B J s) (Affine.OrderedInjective.Comparison.sourcePresheaf N c) (g+c)) := |
| 88 | Cech.ComplexCoefficientIso.relative (Reference.SinglePresheafCoordinates.lastIso N c).symm |
| 89 | ((CechPushforwardCoordinates.pulled (f ≫ i).base F).obj (⊤_ C)) |
| 90 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 91 | (RelativeCech.Reindex.mapped (f ≫ i).base B J s) (g+c) |
| 92 | |
| 93 | local instance source_sheaf_ordered : |
| 94 | IsIso (homologyMap (OrderedCech.Refinement.totalMap |
| 95 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ V) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ T) |
| 96 | (RelativeCech.ReindexGlobal.rightRefinement (f ≫ i).base V T t) |
| 97 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) (g+c)) := |
| 98 | Cech.ComplexCoefficientIso.ordered (Reference.SinglePresheafCoordinates.lastIso N c).symm |
| 99 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ V) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ T) |
| 100 | (RelativeCech.ReindexGlobal.rightRefinement (f ≫ i).base V T t) (g+c) |
| 101 | |
| 102 | local instance source_mapped_relative : |
| 103 | IsIso (RelativeCech.Refinement.homology |
| 104 | ((CechPushforwardCoordinates.pulled (f ≫ i).base F).obj (⊤_ C)) |
| 105 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 106 | (RelativeCech.Reindex.mapped (f ≫ i).base B J s) |
| 107 | (MappedSingleCoordinates.source (sourceFunctor (Y := Y)) |
| 108 | (AffinePrincipal.Injective.Comparison.sheaf N) c) (g+c)) := |
| 109 | (inferInstance : IsIso (RelativeCech.Refinement.homology |
| 110 | ((CechPushforwardCoordinates.pulled (f ≫ i).base F).obj (⊤_ C)) |
| 111 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 112 | (RelativeCech.Reindex.mapped (f ≫ i).base B J s) (Affine.OrderedInjective.Comparison.sourcePresheaf N c) (g+c))) |
| 113 | |
| 114 | local instance source_mapped_ordered : |
| 115 | IsIso (homologyMap (OrderedCech.Refinement.totalMap |
| 116 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ V) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ T) |
| 117 | (RelativeCech.ReindexGlobal.rightRefinement (f ≫ i).base V T t) |
| 118 | (MappedSingleCoordinates.source (sourceFunctor (Y := Y)) |
| 119 | (AffinePrincipal.Injective.Comparison.sheaf N) c)) (g+c)) := |
| 120 | (inferInstance : IsIso (homologyMap (OrderedCech.Refinement.totalMap |
| 121 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ V) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ T) |
| 122 | (RelativeCech.ReindexGlobal.rightRefinement (f ≫ i).base V T t) |
| 123 | (Affine.OrderedInjective.Comparison.sourcePresheaf N c)) (g+c))) |
| 124 | |
| 125 | local instance source_plain_raw_relative : |
| 126 | IsIso (RelativeCech.Refinement.homology ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj (F.obj (⊤_ C))) |
| 127 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 128 | (RelativeCech.Reindex.mapped (f ≫ i).base B J s) (CechPushforwardSingle.singleComplex (coefficient N) c) (g+c)) := |
| 129 | (inferInstance : IsIso (RelativeCech.Refinement.homology |
| 130 | ((CechPushforwardCoordinates.pulled (f ≫ i).base F).obj (⊤_ C)) |
| 131 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 132 | (RelativeCech.Reindex.mapped (f ≫ i).base B J s) (plain N c) (g+c))) |
| 133 | |
| 134 | theorem comparison : |
| 135 | PresheafSingleCoordinates.coefficientComparison |
| 136 | (Reference.SinglePresheafCoordinates.presheaf (image f i N)) c g F W B J r s V T l t ≫ |
| 137 | homologyMap (OrderedCech.Reindex.iso (RelativeCech.ReindexData.preimage (f ≫ i).base) V (coefficient N)).hom g = |
| 138 | MappedSingleCoordinates.coefficientComparison (sourceFunctor (Y := Y)) |
| 139 | (AffinePrincipal.Injective.Comparison.sheaf N) c g |
| 140 | (CechPushforwardCoordinates.pulled (f ≫ i).base F) W |
| 141 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ B) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ J) |
| 142 | (RelativeCech.Reindex.mapped (f ≫ i).base (F.obj ∘ W) J r) (RelativeCech.Reindex.mapped (f ≫ i).base B J s) |
| 143 | ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ V) ((RelativeCech.ReindexData.preimage (f ≫ i).base).obj ∘ T) |
| 144 | (RelativeCech.ReindexGlobal.leftRefinement (f ≫ i).base (F.obj (⊤_ C)) B T l) (RelativeCech.ReindexGlobal.rightRefinement (f ≫ i).base V T t) := |
| 145 | CechPushforwardSingle.comparison (f ≫ i).base F W B J r s V T l t (coefficient N) c g |
| 146 | |
| 147 | end |
| 148 | |
| 149 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Principal.NestedPushforward |