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.AlgebraicGeometry.Picard.PoincareBundle.Cech.OverlapInvariant |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.AdjunctionInvariant |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.InvariantCongr |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.OverlapImage |
| 5 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.OverlapGluing |
| 6 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.IsoDescent |
| 7 | |
| 8 | /-! # Overlap Invariant -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.OverlapInvariant |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! |
| 15 | # The actual geometric invariant sheaf is unchanged by an isomorphic overlap presentation |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | section |
| 21 | |
| 22 | /-- Compose three canonical comparison squares using an equality of whole invariant isomorphisms. -/ |
| 23 | theorem comparison_paste {C D : Type*} [Category C] [Category D] (F : C ⥤ D) |
| 24 | {A B C' D' : C} {M : D} (e : A ≅ D') (e₁ : A ≅ B) (e₂ : B ≅ C') (e₃ : C' ≅ D') |
| 25 | (a : F.obj A ⟶ M) (b : F.obj B ⟶ M) (c : F.obj C' ⟶ M) (d : F.obj D' ⟶ M) |
| 26 | (he : e = e₁ ≪≫ e₂ ≪≫ e₃) |
| 27 | (h₁ : F.map e₁.hom ≫ b = a) (h₂ : F.map e₂.hom ≫ c = b) (h₃ : F.map e₃.hom ≫ d = c) : |
| 28 | F.map e.hom ≫ d = a := by |
| 29 | subst e |
| 30 | simp only [Iso.trans_hom, F.map_comp, Category.assoc] |
| 31 | rw [h₃, h₂, h₁] |
| 32 | |
| 33 | end |
| 34 | |
| 35 | universe u |
| 36 | |
| 37 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.AdjointCechInvariant OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.OverlapImage OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.OverlapGluing |
| 38 | |
| 39 | variable {X Y Z W : Scheme.{u}} (f : X ⟶ Y) (p q : Z ⟶ X) |
| 40 | (h : p ≫ f = q ≫ f) (r : W ⟶ Z) (M : X.Modules) |
| 41 | (σ : (Scheme.Modules.pullback p).obj M ≅ (Scheme.Modules.pullback q).obj M) |
| 42 | |
| 43 | /-- The invariant with standard composite projection adjunctions and transported comparison data. -/ |
| 44 | def changedInvariant : Y.Modules := |
| 45 | AdjointCechInvariant.invariants (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ p)) |
| 46 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ q)) |
| 47 | (OverlapImage.compositeDirectImageIso f p q h r) |
| 48 | (Cech.AdjunctionChange.changedGluing (Scheme.Modules.pullbackComp r p) |
| 49 | (Scheme.Modules.pullbackComp r q) ((Scheme.Modules.pullback r).map σ.hom)) |
| 50 | |
| 51 | /-- The invariant before replacing composite adjunctions by the standard geometric ones. -/ |
| 52 | def extendedInvariant : Y.Modules := |
| 53 | AdjointCechInvariant.invariants ((Scheme.Modules.pullbackPushforwardAdjunction p).comp |
| 54 | (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 55 | ((Scheme.Modules.pullbackPushforwardAdjunction q).comp |
| 56 | (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 57 | (Cech.OverlapExtension.extendedRightIso |
| 58 | (CechInvariant.directImageIso f p q h) (K := Scheme.Modules.pushforward r)) |
| 59 | ((Scheme.Modules.pullback r).map σ.hom) |
| 60 | |
| 61 | def changedComparison : (Scheme.Modules.pullback f).obj (changedInvariant f p q h r M σ) ⟶ M := |
| 62 | AdjointCechInvariant.comparison (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 63 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ p)) |
| 64 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ q)) (OverlapImage.compositeDirectImageIso f p q h r) |
| 65 | (Cech.AdjunctionChange.changedGluing (Scheme.Modules.pullbackComp r p) |
| 66 | (Scheme.Modules.pullbackComp r q) ((Scheme.Modules.pullback r).map σ.hom)) |
| 67 | |
| 68 | def extendedComparison : (Scheme.Modules.pullback f).obj (extendedInvariant f p q h r M σ) ⟶ M := |
| 69 | AdjointCechInvariant.comparison (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 70 | ((Scheme.Modules.pullbackPushforwardAdjunction p).comp (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 71 | ((Scheme.Modules.pullbackPushforwardAdjunction q).comp (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 72 | (Cech.OverlapExtension.extendedRightIso |
| 73 | (CechInvariant.directImageIso f p q h) (K := Scheme.Modules.pushforward r)) |
| 74 | ((Scheme.Modules.pullback r).map σ.hom) |
| 75 | |
| 76 | /-- Identifying the right-image and gluing data retains the actual invariant object. -/ |
| 77 | def coordinateInvariantIso : |
| 78 | CechInvariant.invariantSheaf f (r ≫ p) (r ≫ q) (OverlapImage.liftedRelation f p q h r) M |
| 79 | (OverlapGluing.extendedGluing p q r M σ) ≅ changedInvariant f p q h r M σ := |
| 80 | Cech.InvariantCongr.invariantIso (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ p)) |
| 81 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ q)) |
| 82 | (OverlapImage.compositeDirectImageIso_eq f p q h r).symm (OverlapGluing.extendedGluing_hasChangedHom p q r M σ) |
| 83 | |
| 84 | theorem coordinateComparison_fac : |
| 85 | (Scheme.Modules.pullback f).map (coordinateInvariantIso f p q h r M σ).hom ≫ |
| 86 | changedComparison f p q h r M σ = |
| 87 | CechInvariant.comparison f (r ≫ p) (r ≫ q) (OverlapImage.liftedRelation f p q h r) M |
| 88 | (OverlapGluing.extendedGluing p q r M σ) := |
| 89 | Cech.InvariantCongr.comparison_fac (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 90 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ p)) |
| 91 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ q)) |
| 92 | (OverlapImage.compositeDirectImageIso_eq f p q h r).symm (OverlapGluing.extendedGluing_hasChangedHom p q r M σ) |
| 93 | |
| 94 | /-- Canonical mate comparisons identify the two choices of geometric projection adjunctions. -/ |
| 95 | def adjunctionInvariantIso : changedInvariant f p q h r M σ ≅ extendedInvariant f p q h r M σ := |
| 96 | Cech.AdjunctionInvariant.invariantIso |
| 97 | ((Scheme.Modules.pullbackPushforwardAdjunction p).comp (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 98 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ p)) |
| 99 | ((Scheme.Modules.pullbackPushforwardAdjunction q).comp (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 100 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ q)) |
| 101 | (Scheme.Modules.pullbackComp r p) (Scheme.Modules.pullbackComp r q) |
| 102 | (Scheme.Modules.pushforwardComp r p) (Scheme.Modules.pushforwardComp r q) |
| 103 | (Scheme.Modules.conjugateEquiv_pullbackComp_inv r p) |
| 104 | (Scheme.Modules.conjugateEquiv_pullbackComp_inv r q) |
| 105 | (Cech.OverlapExtension.extendedRightIso |
| 106 | (CechInvariant.directImageIso f p q h) (K := Scheme.Modules.pushforward r)) |
| 107 | ((Scheme.Modules.pullback r).map σ.hom) |
| 108 | |
| 109 | theorem adjunctionComparison_fac : |
| 110 | (Scheme.Modules.pullback f).map (adjunctionInvariantIso f p q h r M σ).hom ≫ |
| 111 | extendedComparison f p q h r M σ = changedComparison f p q h r M σ := |
| 112 | Cech.AdjunctionInvariant.comparison_commutes |
| 113 | ((Scheme.Modules.pullbackPushforwardAdjunction p).comp (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 114 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ p)) |
| 115 | ((Scheme.Modules.pullbackPushforwardAdjunction q).comp (Scheme.Modules.pullbackPushforwardAdjunction r)) |
| 116 | (Scheme.Modules.pullbackPushforwardAdjunction (r ≫ q)) |
| 117 | (Scheme.Modules.pullbackComp r p) (Scheme.Modules.pullbackComp r q) |
| 118 | (Scheme.Modules.pushforwardComp r p) (Scheme.Modules.pushforwardComp r q) |
| 119 | (Scheme.Modules.conjugateEquiv_pullbackComp_inv r p) |
| 120 | (Scheme.Modules.conjugateEquiv_pullbackComp_inv r q) |
| 121 | (Cech.OverlapExtension.extendedRightIso |
| 122 | (CechInvariant.directImageIso f p q h) (K := Scheme.Modules.pushforward r)) |
| 123 | ((Scheme.Modules.pullback r).map σ.hom) (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 124 | |
| 125 | variable [IsIso r] |
| 126 | |
| 127 | /-- An isomorphic overlap gives a fully faithful pullback functor, so extension retains invariants. -/ |
| 128 | def extensionInvariantIso : extendedInvariant f p q h r M σ ≅ |
| 129 | CechInvariant.invariantSheaf f p q h M σ := by |
| 130 | have : (Scheme.Modules.pullback r).IsEquivalence := IsoDescent.pullback_isEquivalence (asIso r) |
| 131 | exact Cech.OverlapInvariant.invariantIso (Scheme.Modules.pullbackPushforwardAdjunction p) |
| 132 | (Scheme.Modules.pullbackPushforwardAdjunction q) (CechInvariant.directImageIso f p q h) |
| 133 | (Scheme.Modules.pullbackPushforwardAdjunction r) σ.hom |
| 134 | |
| 135 | theorem extensionComparison_fac : |
| 136 | (Scheme.Modules.pullback f).map (extensionInvariantIso f p q h r M σ).hom ≫ |
| 137 | CechInvariant.comparison f p q h M σ = extendedComparison f p q h r M σ := by |
| 138 | have : (Scheme.Modules.pullback r).IsEquivalence := IsoDescent.pullback_isEquivalence (asIso r) |
| 139 | exact Cech.OverlapInvariant.comparison_commutes (Scheme.Modules.pullbackPushforwardAdjunction p) |
| 140 | (Scheme.Modules.pullbackPushforwardAdjunction q) (CechInvariant.directImageIso f p q h) |
| 141 | (Scheme.Modules.pullbackPushforwardAdjunction r) σ.hom (Scheme.Modules.pullbackPushforwardAdjunction f) |
| 142 | |
| 143 | /-- The actual geometric Čech invariant is independent of the chosen isomorphic overlap scheme. -/ |
| 144 | def invariantIso : |
| 145 | CechInvariant.invariantSheaf f (r ≫ p) (r ≫ q) (OverlapImage.liftedRelation f p q h r) M |
| 146 | (OverlapGluing.extendedGluing p q r M σ) ≅ CechInvariant.invariantSheaf f p q h M σ := |
| 147 | coordinateInvariantIso f p q h r M σ ≪≫ adjunctionInvariantIso f p q h r M σ ≪≫ |
| 148 | extensionInvariantIso f p q h r M σ |
| 149 | |
| 150 | /-- Its canonical isomorphism also retains the actual pullback comparison. -/ |
| 151 | theorem comparison_commutes : |
| 152 | (Scheme.Modules.pullback f).map (invariantIso f p q h r M σ).hom ≫ |
| 153 | CechInvariant.comparison f p q h M σ = |
| 154 | CechInvariant.comparison f (r ≫ p) (r ≫ q) (OverlapImage.liftedRelation f p q h r) M |
| 155 | (OverlapGluing.extendedGluing p q r M σ) := |
| 156 | comparison_paste (Scheme.Modules.pullback f) (invariantIso f p q h r M σ) |
| 157 | (coordinateInvariantIso f p q h r M σ) (adjunctionInvariantIso f p q h r M σ) |
| 158 | (extensionInvariantIso f p q h r M σ) _ (changedComparison f p q h r M σ) |
| 159 | (extendedComparison f p q h r M σ) _ rfl |
| 160 | (coordinateComparison_fac f p q h r M σ) (adjunctionComparison_fac f p q h r M σ) |
| 161 | (extensionComparison_fac f p q h r M σ) |
| 162 | |
| 163 | /-- Invertibility of the actual invariant comparison is unchanged by an isomorphic overlap scheme. -/ |
| 164 | theorem comparison_isIso_iff : |
| 165 | IsIso (CechInvariant.comparison f (r ≫ p) (r ≫ q) (OverlapImage.liftedRelation f p q h r) M |
| 166 | (OverlapGluing.extendedGluing p q r M σ)) ↔ IsIso (CechInvariant.comparison f p q h M σ) := by |
| 167 | rw [← comparison_commutes f p q h r M σ] |
| 168 | exact isIso_comp_left_iff _ _ |
| 169 | |
| 170 | end |
| 171 | |
| 172 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.OverlapInvariant |