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.PELModuli.CMPoints.BlocksProjectors |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterSheaf |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.ActionData |
| 4 | |
| 5 | /-! # Duality Pairing -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.DualityPairing |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | section |
| 12 | |
| 13 | /-! |
| 14 | Cartier characters are natural characters on the big site. The duality |
| 15 | predicate below uses the actual polarization map to the specified dual |
| 16 | abelian scheme, and restricts its torsion pairing to the constructed blocks. |
| 17 | Existence of the ambient torsion-character identification and perfection of |
| 18 | its restriction are conclusions; no perfect pairing is stored as data. |
| 19 | -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 22 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 23 | open scoped _root_.CategoryTheory.MonObj |
| 24 | |
| 25 | variable {S : Scheme} {g N q : ℕ} {δ : Fin g → ℕ} [Fact q.Prime] |
| 26 | {O : Type} [CommRing O] |
| 27 | |
| 28 | def cartierCharacters (F : (Over S)ᵒᵖ ⥤ GrpCat) : (Over S)ᵒᵖ ⥤ Type 1 := |
| 29 | presheafHom F |
| 30 | (yonedaGrp.obj (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S)) |
| 31 | |
| 32 | def restrictCharacters {F G : (Over S)ᵒᵖ ⥤ GrpCat} (i : F ⟶ G) : |
| 33 | cartierCharacters G ⟶ cartierCharacters F where |
| 34 | app T := ↾(fun χ => Functor.whiskerLeft (Over.forget T.unop).op i ≫ χ) |
| 35 | naturality _ _ _ := by ext χ; rfl |
| 36 | |
| 37 | /-- Restriction of an actual abelian-scheme homomorphism to n-torsion. -/ |
| 38 | def homOnTorsion (A B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 39 | (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 40 | (n : ℕ) : A.torsionFunctor n ⟶ B.torsionFunctor n where |
| 41 | app T := GrpCat.ofHom { |
| 42 | toFun x := ⟨x.val ≫ f, by |
| 43 | change (x.val ≫ f) ^ n = 1 |
| 44 | have hx : x.val ^ n = 1 := x.property |
| 45 | rw [← MonObj.pow_comp, hx, MonObj.one_comp]⟩ |
| 46 | map_one' := Subtype.ext (MonObj.one_comp _) |
| 47 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val _) } |
| 48 | naturality _ _ _ := by ext x; exact Subtype.ext (Category.assoc _ _ _) |
| 49 | |
| 50 | def polarizationOnTorsion (P : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 51 | (n : ℕ) : P.abelian.torsionFunctor n ⟶ P.dual.abelian.torsionFunctor n := |
| 52 | homOnTorsion P.abelian P.dual.abelian P.polarization.isogeny.hom n |
| 53 | |
| 54 | /-- Dual endomorphisms are recognized through the actual Poincare bundle, |
| 55 | as in ReferenceFamily's Rosati condition. This fixes which integral action the Cartier |
| 56 | identification must intertwine. -/ |
| 57 | def PoincareAdjoint (P : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 58 | (f : P.abelian.scheme ⟶ P.abelian.scheme) |
| 59 | (d : P.dual.abelian.scheme ⟶ P.dual.abelian.scheme) : Prop := |
| 60 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (d ⊗ₘ 𝟙 P.abelian.scheme).left |
| 61 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf P.dual.poincare) = |
| 62 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (𝟙 P.dual.abelian.scheme ⊗ₘ f).left |
| 63 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf P.dual.poincare) |
| 64 | |
| 65 | /-- Cartier duality through the specified dual abelian scheme and the |
| 66 | actual polarization: its right adjoint on the two blocks is an isomorphism. |
| 67 | The quantification covers all finite levels and all test schemes. -/ |
| 68 | def PolarizationDuality (P : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 69 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction O P.abelian) |
| 70 | (χ χc : O →+* PadicInt q) : Prop := |
| 71 | ∀ n : ℕ, |
| 72 | ∃ e : P.dual.abelian.torsionFunctor (q ^ n) ⋙ forget GrpCat ⋙ uliftFunctor.{1, 0} ≅ |
| 73 | cartierCharacters (P.abelian.torsionFunctor (q ^ n)), |
| 74 | (∀ (T : Over S) |
| 75 | (y z : (P.dual.abelian.torsionFunctor (q ^ n)).obj (.op T)) |
| 76 | (U : Over T) (x : (P.abelian.torsionFunctor (q ^ n)).obj (.op U.left)), |
| 77 | (((e.hom.app (.op T)) (ULift.up (y * z))).app (.op U)) x = |
| 78 | ((((e.hom.app (.op T)) (ULift.up y)).app (.op U)) x) * |
| 79 | ((((e.hom.app (.op T)) (ULift.up z)).app (.op U)) x)) ∧ |
| 80 | (∀ a : O, |
| 81 | ∃ (d : P.dual.abelian.scheme ⟶ P.dual.abelian.scheme) (hd : IsMonHom d), |
| 82 | letI := hd |
| 83 | PoincareAdjoint P (ρ.map a) d ∧ |
| 84 | Functor.whiskerRight (homOnTorsion P.dual.abelian P.dual.abelian d (q ^ n)) |
| 85 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ e.hom = |
| 86 | e.hom ≫ restrictCharacters (homOnTorsion P.abelian P.abelian (ρ.map a) (q ^ n))) ∧ |
| 87 | IsIso |
| 88 | (Functor.whiskerRight |
| 89 | (BlocksProjectors.blockInclusion P.abelian ρ χc n ≫ polarizationOnTorsion P (q ^ n)) |
| 90 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ |
| 91 | e.hom ≫ restrictCharacters (BlocksProjectors.blockInclusion P.abelian ρ χ n)) |
| 92 | |
| 93 | end |
| 94 | |
| 95 | section |
| 96 | |
| 97 | /-! Character-isomorphism predicates and the legacy all-base ambient |
| 98 | duality interface. The completed CMPoints theorem constructs its geometric |
| 99 | pairing from native CartierDuality and uses only `PoincareTorsionNaturalityInput`; |
| 100 | it does not take `PolarizedTorsionCartierInput` as a hypothesis. -/ |
| 101 | |
| 102 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 103 | open scoped _root_.CategoryTheory.MonObj |
| 104 | |
| 105 | variable {S : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 106 | (P : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (m : ℕ) |
| 107 | |
| 108 | abbrev TorsionCharacterIso := |
| 109 | P.dual.abelian.torsionFunctor m ⋙ forget GrpCat ⋙ uliftFunctor.{1, 0} ≅ |
| 110 | cartierCharacters (P.abelian.torsionFunctor m) |
| 111 | |
| 112 | def TorsionCharacterAdditive (e : TorsionCharacterIso P m) : Prop := |
| 113 | ∀ (T : Over S) (y z : (P.dual.abelian.torsionFunctor m).obj (.op T)) |
| 114 | (U : Over T) (x : (P.abelian.torsionFunctor m).obj (.op U.left)), |
| 115 | (((e.hom.app (.op T)) (ULift.up (y * z))).app (.op U)) x = |
| 116 | ((((e.hom.app (.op T)) (ULift.up y)).app (.op U)) x) * |
| 117 | ((((e.hom.app (.op T)) (ULift.up z)).app (.op U)) x) |
| 118 | |
| 119 | def TorsionCharacterAdjoint (e : TorsionCharacterIso P m) : Prop := |
| 120 | ∀ (f : P.abelian.scheme ⟶ P.abelian.scheme) (hf : IsMonHom f) |
| 121 | (d : P.dual.abelian.scheme ⟶ P.dual.abelian.scheme) (hd : IsMonHom d), |
| 122 | letI := hf |
| 123 | letI := hd |
| 124 | PoincareAdjoint P f d → |
| 125 | Functor.whiskerRight (homOnTorsion P.dual.abelian P.dual.abelian d m) |
| 126 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ e.hom = |
| 127 | e.hom ≫ restrictCharacters (homOnTorsion P.abelian P.abelian f m) |
| 128 | |
| 129 | /-- General Poincare torsion duality and perfection of the ambient |
| 130 | polarization pairing away from its degree. The bilinearity and adjoint |
| 131 | conditions use the actual Poincare line bundle and actual polarization. -/ |
| 132 | def PolarizedTorsionCartierInput : Prop := |
| 133 | ∀ (S : Scheme.{0}) (g : ℕ) (δ : Fin g → ℕ) (N : ℕ) |
| 134 | (P : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (m : ℕ), |
| 135 | 0 < m → m.Coprime (∏ i, δ i) → |
| 136 | ∃ e : TorsionCharacterIso P m, |
| 137 | TorsionCharacterAdditive P m e ∧ TorsionCharacterAdjoint P m e ∧ |
| 138 | IsIso (Functor.whiskerRight (polarizationOnTorsion P m) |
| 139 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ e.hom) |
| 140 | |
| 141 | end |
| 142 | |
| 143 | /-! Composition of actual homomorphisms on torsion, and the adjoint |
| 144 | identity for the ambient polarization pairing. -/ |
| 145 | |
| 146 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 147 | open scoped _root_.CategoryTheory.MonObj |
| 148 | |
| 149 | variable {S : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 150 | |
| 151 | theorem homOnTorsion_comp (A B C : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 152 | (f : A.scheme ⟶ B.scheme) (h : B.scheme ⟶ C.scheme) |
| 153 | [IsMonHom f] [IsMonHom h] (m : ℕ) : |
| 154 | homOnTorsion A C (f ≫ h) m = homOnTorsion A B f m ≫ homOnTorsion B C h m := by |
| 155 | ext T x |
| 156 | exact Subtype.ext (Category.assoc _ _ _).symm |
| 157 | |
| 158 | theorem homOnTorsion_id (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (m : ℕ) : |
| 159 | homOnTorsion A A (𝟙 A.scheme) m = 𝟙 (A.torsionFunctor m) := by |
| 160 | ext T x |
| 161 | exact Subtype.ext (Category.comp_id _) |
| 162 | |
| 163 | variable {E : Type} [Field E] [NumberField E] [NumberField.IsCMField E] |
| 164 | (P : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) |
| 165 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) P.abelian) |
| 166 | |
| 167 | theorem rosati_on_torsion (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation P ρ) (m : ℕ) |
| 168 | (a : NumberField.RingOfIntegers E) : |
| 169 | ∃ (d : P.dual.abelian.scheme ⟶ P.dual.abelian.scheme) (hd : IsMonHom d), |
| 170 | let := hd |
| 171 | PoincareAdjoint P (ρ.map a) d ∧ |
| 172 | polarizationOnTorsion P m ≫ homOnTorsion P.dual.abelian P.dual.abelian d m = |
| 173 | homOnTorsion P.abelian P.abelian |
| 174 | (ρ.map (NumberField.IsCMField.ringOfIntegersComplexConj E a)) m ≫ |
| 175 | polarizationOnTorsion P m := by |
| 176 | obtain ⟨d, hd, hp, ha⟩ := hρ a |
| 177 | let := hd |
| 178 | refine ⟨d, hd, hp, ?_⟩ |
| 179 | change homOnTorsion _ _ _ _ ≫ homOnTorsion _ _ _ _ = |
| 180 | homOnTorsion _ _ _ _ ≫ homOnTorsion _ _ _ _ |
| 181 | rw [← homOnTorsion_comp, ← homOnTorsion_comp] |
| 182 | ext T x |
| 183 | exact Subtype.ext (congrArg (fun f => x.val ≫ f) ha) |
| 184 | |
| 185 | theorem polarization_character_adjoint (hρ : AbelianModuli.ReferenceFamily.ActionData.RosatiConjugation P ρ) |
| 186 | (m : ℕ) (e : TorsionCharacterIso P m) (he : TorsionCharacterAdjoint P m e) |
| 187 | (a : NumberField.RingOfIntegers E) : |
| 188 | Functor.whiskerRight |
| 189 | (homOnTorsion P.abelian P.abelian |
| 190 | (ρ.map (NumberField.IsCMField.ringOfIntegersComplexConj E a)) m) |
| 191 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ |
| 192 | (Functor.whiskerRight (polarizationOnTorsion P m) |
| 193 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ e.hom) = |
| 194 | (Functor.whiskerRight (polarizationOnTorsion P m) |
| 195 | (forget GrpCat ⋙ uliftFunctor.{1, 0}) ≫ e.hom) ≫ |
| 196 | restrictCharacters (homOnTorsion P.abelian P.abelian (ρ.map a) m) := by |
| 197 | obtain ⟨d, hd, hp, ha⟩ := rosati_on_torsion P ρ hρ m a |
| 198 | let := hd |
| 199 | have hpair := he (ρ.map a) inferInstance d hd hp |
| 200 | have ht := congrArg (fun f => Functor.whiskerRight f |
| 201 | (forget GrpCat ⋙ uliftFunctor.{1, 0})) ha |
| 202 | rw [Functor.whiskerRight_comp, Functor.whiskerRight_comp] at ht |
| 203 | rw [← Category.assoc, ← ht, Category.assoc, hpair, Category.assoc] |
| 204 | |
| 205 | end |
| 206 | |
| 207 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.DualityPairing |