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.AbelianScheme.CartierDuality.Characters |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Block |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterSheaf |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Naturality |
| 5 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SliceCharacters |
| 6 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.BaseChange |
| 7 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.DualMaps |
| 8 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterGroups |
| 9 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineCategory |
| 10 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffinePullback |
| 11 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafDescent |
| 12 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineSheafIso |
| 13 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterFunctor |
| 14 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterBaseChange |
| 15 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SmallCharacters |
| 16 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RelativeGluing |
| 17 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RelativeRepresentabilityP |
| 18 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LocalRepresentatives |
| 19 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RepresentabilityDescent |
| 20 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.GroupRepresentatives |
| 21 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Evaluation |
| 22 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineCharacterGroups |
| 23 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineEvaluationInv |
| 24 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.BidualCriterionEq |
| 25 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RepresentationMorphisms |
| 26 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.EvaluationBaseChange |
| 27 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LocalIsomorphismsIs |
| 28 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafBidual |
| 29 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafQuotients |
| 30 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IntrinsicQuotients |
| 31 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RepresentedMorphisms |
| 32 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.QuotientRepresentability |
| 33 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.DoubleAnnihilator |
| 34 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AnnihilatorBaseChange |
| 35 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafBlocks |
| 36 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FiniteLocallyFreeCoordinates |
| 37 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.SheafRetracts |
| 38 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.TorsionGeometry |
| 39 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FrobeniusReduction |
| 40 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Torsion |
| 41 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IntrinsicRankAnnihilation |
| 42 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RelativeCoprimeTorsion |
| 43 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RelativeTorsion |
| 44 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LineCharacterIndependence |
| 45 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.EffectiveLineDescent |
| 46 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.AffineIntrinsicLineDescent |
| 47 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ScalarLineGluing |
| 48 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.MultiplicationCovers |
| 49 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.HopfScalarsOf |
| 50 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.KernelCharacterGluing |
| 51 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.DescentRelationMorphisms |
| 52 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IntrinsicInvariantDescent |
| 53 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IntrinsicDescentRecovery |
| 54 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FramedRecovery |
| 55 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LineRecoveryUniqueness |
| 56 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.KernelScalarRecovery |
| 57 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FramedBaseChange |
| 58 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.DescentOverlapCharts |
| 59 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.OrdinaryGlobalLineDescent |
| 60 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.EffectiveKernelCharacters |
| 61 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.LineCharacterCorrespondence |
| 62 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ScalarDescentSymmetry |
| 63 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterTranslations |
| 64 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.KernelCharacterBaseChange |
| 65 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineBaseChange |
| 66 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FppfCoverDetection |
| 67 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.HomogeneousCoverCriterion |
| 68 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.UnitFamilyCoordinates |
| 69 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.HomogeneousCharacterLines |
| 70 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterDualPoints |
| 71 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterUnitValues |
| 72 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterizedCharacterLines |
| 73 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.TensorFrames |
| 74 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.TensorCanonicalDescent |
| 75 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineProducts |
| 76 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterizedCharacterProducts |
| 77 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterTorsionFactor |
| 78 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterFamily |
| 79 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterKernelPoints |
| 80 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterGroupPoints |
| 81 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterCharacterRestriction |
| 82 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterLineNaturality |
| 83 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardHomomorphism |
| 84 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardSheaf |
| 85 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.UnitValueDetection |
| 86 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineFaithfulness |
| 87 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardMonomorphism |
| 88 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Rank |
| 89 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.FiniteGroupRankIso |
| 90 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.DomainRank |
| 91 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IntegralDegree |
| 92 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.IsogenyTorsionRank |
| 93 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.PicardRankIso |
| 94 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.MultiplicationIso |
| 95 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RestrictedSheafInjection |
| 96 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.GeometricCharacterMonomorphism |
| 97 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RelativeTorsionRank |
| 98 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.RelativeIso |
| 99 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.KernelTorsionComparison |
| 100 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.WeilPairing |
| 101 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.Polarizations |
| 102 | import Mathlib.AlgebraicGeometry.Group.Affine |
| 103 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 104 | import Mathlib.AlgebraicGeometry.Morphisms.Flat |
| 105 | import Mathlib.AlgebraicGeometry.Morphisms.FinitePresentation |
| 106 | import Mathlib.RingTheory.Finiteness.ModuleFinitePresentation |
| 107 | import Mathlib.RingTheory.Flat.EquationalCriterion |
| 108 | |
| 109 | /-! # Polarized Torsion -/ |
| 110 | |
| 111 | namespace OAI.AlgebraicGeometry.CartierDuality.PolarizedTorsion |
| 112 | |
| 113 | noncomputable section |
| 114 | |
| 115 | /-! |
| 116 | # CartierDuality: Cartier duality and polarized torsion blocks |
| 117 | |
| 118 | This file proves both theorems of the CartierDuality schema in actual commutative |
| 119 | fppf sheaves, without importing any statement module: |
| 120 | |
| 121 | * `Hodge.CartierDuality.cartier_duality` proves finite locally free |
| 122 | representability of the actual internal-Hom character sheaf, perfection |
| 123 | of evaluation, canonical biduality, and arbitrary base change. |
| 124 | * `Hodge.CartierDuality.polarization_blocks_and_annihilators` proves perfection |
| 125 | on adjoint torsion blocks, finite locally free annihilators, the canonical |
| 126 | quotient-dual isomorphism, double annihilation, and arbitrary base change. |
| 127 | |
| 128 | The geometric interface uses native smooth proper geometrically connected |
| 129 | commutative group schemes and polarizations with their normalized Poincare |
| 130 | representation and actual geometric ampleness. Positive torsion is proved |
| 131 | finite locally free over arbitrary bases, allowing varying relative |
| 132 | dimension and all residue characteristics. |
| 133 | |
| 134 | The Weil pairing is constructed from actual line descent. An internal-Hom |
| 135 | character of the multiplication kernel gives an ordinary descent cocycle; |
| 136 | its descended homogeneous line represents a point of the Picard dual. |
| 137 | This construction is natural on every parameter scheme and preserves the |
| 138 | Picard group law. It gives the canonical map from the Cartier dual of |
| 139 | A[n] to the actual dual n-torsion. On geometric fibers this map is monic |
| 140 | on all test schemes, including nonreduced schemes. The finite-flat degree |
| 141 | tower law gives equality of the two torsion ranks across an isogeny. |
| 142 | Geometric fibers then prove the original map is an isomorphism over the |
| 143 | arbitrary base. Its inverse supplies the actual Weil characters. |
| 144 | |
| 145 | `Polarization.torsionPairing` applies the polarization's canonical torsion |
| 146 | map in the second variable of this Weil pairing. Its construction uses |
| 147 | only the positive-n hypothesis, passed explicitly as `hn: 0 < n`. |
| 148 | Coprimality with the actual fiber degree is used solely to prove that the |
| 149 | polarization's torsion map is an isomorphism. No invertibility of n on the |
| 150 | base, block representability assumption, or assumed ambient perfection is |
| 151 | required. Actual product decompositions and pointwise adjoint projectors |
| 152 | then give all block and annihilator conclusions. |
| 153 | |
| 154 | The final command audits both public theorems and the constructed pairing |
| 155 | against Lean's standard logical axioms. |
| 156 | -/ |
| 157 | |
| 158 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 159 | open scoped _root_.CategoryTheory.MonObj |
| 160 | open scoped TensorProduct |
| 161 | |
| 162 | universe u |
| 163 | |
| 164 | namespace Construction |
| 165 | |
| 166 | /-- Commutativity of the affine group object forces cocommutativity of |
| 167 | its coordinate Hopf algebra, tested on the two universal tensor points. -/ |
| 168 | theorem cocomm_of_commutative_affineGroup |
| 169 | (R A : Type u) [CommRing R] [CommRing A] [Bialgebra R A] |
| 170 | [IsCommMonObj ((Spec (CommRingCat.of A)).asOver (Spec (CommRingCat.of R)))] : |
| 171 | Coalgebra.IsCocomm R A := by |
| 172 | let f : WithConv (A →ₐ[R] A ⊗[R] A) := |
| 173 | WithConv.toConv Algebra.TensorProduct.includeLeft |
| 174 | let g : WithConv (A →ₐ[R] A ⊗[R] A) := |
| 175 | WithConv.toConv Algebra.TensorProduct.includeRight |
| 176 | have hfg : f * g = g * f := by |
| 177 | apply (Spec.mapMulEquiv (R := R) (S := A) (T := A ⊗[R] A)).injective |
| 178 | rw [map_mul, map_mul] |
| 179 | exact mul_comm _ _ |
| 180 | have hleft : Algebra.TensorProduct.lift f.ofConv g.ofConv (fun _ _ => .all ..) = |
| 181 | AlgHom.id R (A ⊗[R] A) := by |
| 182 | apply AlgHom.toLinearMap_injective |
| 183 | apply TensorProduct.ext' |
| 184 | intro x y |
| 185 | simp [f, g] |
| 186 | have hright : Algebra.TensorProduct.lift g.ofConv f.ofConv (fun _ _ => .all ..) = |
| 187 | (Algebra.TensorProduct.comm R A A).toAlgHom := by |
| 188 | apply AlgHom.toLinearMap_injective |
| 189 | apply TensorProduct.ext' |
| 190 | intro x y |
| 191 | simp [f, g] |
| 192 | constructor |
| 193 | apply LinearMap.ext |
| 194 | intro x |
| 195 | change TensorProduct.comm R A A (Coalgebra.comul x) = Coalgebra.comul x |
| 196 | have h := congrArg (fun k : WithConv (A →ₐ[R] A ⊗[R] A) => k x) hfg |
| 197 | rw [AlgHom.convMul_apply, AlgHom.convMul_apply, hleft, hright] at h |
| 198 | exact h.symm |
| 199 | |
| 200 | /-- A finite locally free commutative group scheme over an affine base has |
| 201 | the finite projective commutative, cocommutative Hopf presentation required |
| 202 | by the dual construction. -/ |
| 203 | theorem exists_finiteProjective_commutative_hopfPresentation |
| 204 | (R : CommRingCat.{u}) (G : Grp (Over (Spec R))) [IsCommMonObj G.X] |
| 205 | [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] : |
| 206 | ∃ A : CommHopfAlgCat R, |
| 207 | Module.Finite R A ∧ Module.Projective R A ∧ Coalgebra.IsCocomm R A ∧ |
| 208 | Nonempty ((hopfSpec R).obj (Opposite.op A) ≅ G) := by |
| 209 | obtain ⟨A, hf, hp, ⟨e⟩⟩ := AbelianScheme.CartierDuality.FiniteLocallyFreeCoordinates.Construction.exists_finiteProjective_hopfPresentation R G |
| 210 | let i : ((hopfSpec R).obj (Opposite.op A)).X ≅ G.X := (Grp.forget _).mapIso e |
| 211 | have : IsMonHom i.hom := inferInstanceAs (IsMonHom e.hom.hom.hom) |
| 212 | have hcomm : IsCommMonObj ((hopfSpec R).obj (Opposite.op A)).X := by |
| 213 | apply (isCommMonObj_iff_isMulCommutative _).mpr |
| 214 | intro X |
| 215 | refine ⟨⟨fun a b => ?_⟩⟩ |
| 216 | apply (cancel_mono i.hom).mp |
| 217 | rw [MonObj.mul_comp, MonObj.mul_comp] |
| 218 | exact mul_comm _ _ |
| 219 | let : IsCommMonObj |
| 220 | ((Spec (CommRingCat.of A)).asOver (Spec (CommRingCat.of R))) := hcomm |
| 221 | exact ⟨A, hf, hp, cocomm_of_commutative_affineGroup R A, ⟨e⟩⟩ |
| 222 | |
| 223 | variable (R A : Type u) [CommRing R] [CommRing A] |
| 224 | variable [HopfAlgebra R A] [Coalgebra.IsCocomm R A] |
| 225 | variable [Module.Finite R A] [Module.Projective R A] |
| 226 | |
| 227 | /-- The affine group scheme attached to the dual coordinate Hopf algebra. -/ |
| 228 | def dualCoordinateScheme : Over (Spec (CommRingCat.of R)) := |
| 229 | (Spec (CommRingCat.of (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A))).asOver (Spec (CommRingCat.of R)) |
| 230 | |
| 231 | instance dualCoordinateScheme_group : GrpObj (dualCoordinateScheme R A) := by |
| 232 | unfold dualCoordinateScheme |
| 233 | infer_instance |
| 234 | |
| 235 | instance dualCoordinateScheme_commutative : IsCommMonObj (dualCoordinateScheme R A) := by |
| 236 | unfold dualCoordinateScheme |
| 237 | infer_instance |
| 238 | |
| 239 | /-- The constructed dual affine group scheme is finite locally free. -/ |
| 240 | theorem dualCoordinateScheme_finiteLocallyFree : |
| 241 | IsFinite (dualCoordinateScheme R A).hom ∧ |
| 242 | Flat (dualCoordinateScheme R A).hom ∧ |
| 243 | LocallyOfFinitePresentation (dualCoordinateScheme R A).hom := by |
| 244 | change IsFinite (Spec.map (CommRingCat.ofHom (algebraMap R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A)))) ∧ |
| 245 | Flat (Spec.map (CommRingCat.ofHom (algebraMap R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A)))) ∧ |
| 246 | LocallyOfFinitePresentation |
| 247 | (Spec.map (CommRingCat.ofHom (algebraMap R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A)))) |
| 248 | exact (AbelianScheme.CartierDuality.FiniteLocallyFreeCoordinates.Construction.finiteLocallyFree_spec_iff R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A)).mpr |
| 249 | ⟨inferInstance, inferInstance⟩ |
| 250 | |
| 251 | /-- The constructed affine group scheme is canonically isomorphic to its |
| 252 | Cartier bidual, via the transpose of evaluation. -/ |
| 253 | def dualCoordinateSchemeBidualIso : |
| 254 | dualCoordinateScheme R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) ≅ |
| 255 | (Spec (CommRingCat.of A)).asOver (Spec (CommRingCat.of R)) := |
| 256 | (Grp.forget _).mapIso <| |
| 257 | (hopfSpec (CommRingCat.of R)).mapIso |
| 258 | (CommHopfAlgCat.isoMk (AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateBidualBialgEquiv R A)).op |
| 259 | |
| 260 | /-- On every affine test scheme, points of the constructed dual are |
| 261 | exactly group-scheme characters of the base-changed original group. |
| 262 | The tensor product here is the coordinate algebra of the scheme pullback. -/ |
| 263 | def affineCartierCharacterEquiv |
| 264 | (S : Type u) [CommRing S] [Algebra R S] : |
| 265 | ((Spec (CommRingCat.of S)).asOver (Spec (CommRingCat.of R)) ⟶ |
| 266 | dualCoordinateScheme R A) ≃ |
| 267 | (AbelianScheme.CartierDuality.Characters.Construction.affineHopfGroupScheme S (S ⊗[R] A) ⟶ AbelianScheme.CartierDuality.Characters.Construction.multiplicativeGroupScheme S) := |
| 268 | (AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) S).trans <| |
| 269 | (AbelianScheme.CartierDuality.DualAlgebra.Construction.affineDualPointsEquivCharacters R S A).trans <| |
| 270 | AbelianScheme.CartierDuality.Characters.Construction.groupLikeEquivSchemeCharacters S (S ⊗[R] A) |
| 271 | |
| 272 | namespace AffineSchemes |
| 273 | |
| 274 | variable (R : CommRingCat.{u}) |
| 275 | |
| 276 | /-- Native geometric hypotheses for a finite locally free commutative |
| 277 | group scheme over an affine base. -/ |
| 278 | def finiteLocallyFreeCommGroup : ObjectProperty (Grp (Over (Spec R))) := |
| 279 | fun G => IsFinite G.X.hom ∧ Flat G.X.hom ∧ |
| 280 | LocallyOfFinitePresentation G.X.hom ∧ IsCommMonObj G.X |
| 281 | |
| 282 | abbrev FiniteLocallyFreeCommGroup := (finiteLocallyFreeCommGroup R).FullSubcategory |
| 283 | |
| 284 | instance (G : FiniteLocallyFreeCommGroup R) : IsFinite G.obj.X.hom := G.property.1 |
| 285 | instance (G : FiniteLocallyFreeCommGroup R) : Flat G.obj.X.hom := G.property.2.1 |
| 286 | instance (G : FiniteLocallyFreeCommGroup R) : LocallyOfFinitePresentation G.obj.X.hom := |
| 287 | G.property.2.2.1 |
| 288 | instance (G : FiniteLocallyFreeCommGroup R) : IsCommMonObj G.obj.X := G.property.2.2.2 |
| 289 | |
| 290 | /-- Spectrum takes precisely the relevant Hopf coordinates to native |
| 291 | finite locally free commutative group schemes. -/ |
| 292 | def finiteProjectiveHopfSpec : |
| 293 | (AbelianScheme.CartierDuality.AffineCategory.Construction.FiniteProjectiveHopf R)ᵒᵖ ⥤ FiniteLocallyFreeCommGroup R where |
| 294 | obj A := ⟨(hopfSpec R).obj (Opposite.op A.unop.obj), by |
| 295 | have h := (AbelianScheme.CartierDuality.FiniteLocallyFreeCoordinates.Construction.finiteLocallyFree_spec_iff R A.unop.obj).mpr |
| 296 | ⟨inferInstance, inferInstance⟩ |
| 297 | have hc : IsCommMonObj |
| 298 | ((Spec (CommRingCat.of A.unop.obj)).asOver (Spec R)) := inferInstance |
| 299 | exact ⟨h.1, h.2.1, h.2.2, hc⟩⟩ |
| 300 | map f := ObjectProperty.homMk ((hopfSpec R).map f.unop.hom.op) |
| 301 | map_id A := by |
| 302 | apply ObjectProperty.hom_ext |
| 303 | exact (hopfSpec R).map_id (Opposite.op A.unop.obj) |
| 304 | map_comp f g := by |
| 305 | apply ObjectProperty.hom_ext |
| 306 | exact (hopfSpec R).map_comp f.unop.hom.op g.unop.hom.op |
| 307 | |
| 308 | def finiteProjectiveHopfSpec_fullyFaithful : |
| 309 | (finiteProjectiveHopfSpec R).FullyFaithful where |
| 310 | preimage f := (ObjectProperty.homMk |
| 311 | ((hopfSpec.fullyFaithful (R := R)).preimage f.hom).unop).op |
| 312 | map_preimage f := by |
| 313 | apply ObjectProperty.hom_ext |
| 314 | exact (hopfSpec.fullyFaithful (R := R)).map_preimage f.hom |
| 315 | preimage_map f := by |
| 316 | apply Quiver.Hom.unop_inj |
| 317 | apply ObjectProperty.hom_ext |
| 318 | exact congrArg Quiver.Hom.unop |
| 319 | ((hopfSpec.fullyFaithful (R := R)).preimage_map f.unop.hom.op) |
| 320 | |
| 321 | instance : (finiteProjectiveHopfSpec R).Full := (finiteProjectiveHopfSpec_fullyFaithful R).full |
| 322 | instance : (finiteProjectiveHopfSpec R).Faithful := |
| 323 | (finiteProjectiveHopfSpec_fullyFaithful R).faithful |
| 324 | |
| 325 | instance : (finiteProjectiveHopfSpec R).EssSurj where |
| 326 | mem_essImage G := by |
| 327 | obtain ⟨A, hf, hp, hc, ⟨e⟩⟩ := |
| 328 | exists_finiteProjective_commutative_hopfPresentation R G.obj |
| 329 | exact ⟨Opposite.op ⟨A, hf, hp, hc⟩, ⟨ObjectProperty.isoMk _ e⟩⟩ |
| 330 | |
| 331 | instance : (finiteProjectiveHopfSpec R).IsEquivalence where |
| 332 | |
| 333 | /-- The geometric finite locally free condition is equivalent to the |
| 334 | finite projective Hopf-coordinate condition over any affine base. -/ |
| 335 | def finiteProjectiveHopfSpecEquivalence : |
| 336 | (AbelianScheme.CartierDuality.AffineCategory.Construction.FiniteProjectiveHopf R)ᵒᵖ ≌ FiniteLocallyFreeCommGroup R := |
| 337 | (finiteProjectiveHopfSpec R).asEquivalence |
| 338 | |
| 339 | /-- The constructed Cartier operation is a contravariant equivalence of |
| 340 | native finite locally free commutative group schemes over an affine base. -/ |
| 341 | def affineGroupDualityEquivalence : |
| 342 | (FiniteLocallyFreeCommGroup R)ᵒᵖ ≌ FiniteLocallyFreeCommGroup R := |
| 343 | (finiteProjectiveHopfSpecEquivalence R).symm.leftOp.trans <| |
| 344 | (AbelianScheme.CartierDuality.AffineCategory.Construction.finiteProjectiveHopfDualEquivalence R).rightOp.trans <| |
| 345 | finiteProjectiveHopfSpecEquivalence R |
| 346 | |
| 347 | end AffineSchemes |
| 348 | |
| 349 | /-- Over an affine base, the actual character sheaf of every finite |
| 350 | locally free commutative group scheme is finite locally free representable. |
| 351 | The coordinate Hopf algebra is extracted from the geometric hypotheses. -/ |
| 352 | theorem affine_characterSheaf_finiteLocallyFree |
| 353 | (R : CommRingCat.{u}) (G : Grp (Over (Spec R))) [IsCommMonObj G.X] |
| 354 | [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] : |
| 355 | AbelianScheme.CartierDuality.CharacterFunctor.Construction.Schemes.FiniteLocallyFreeRepresentable (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec R) G) := by |
| 356 | obtain ⟨A, hf, hp, hc, ⟨e⟩⟩ := exists_finiteProjective_commutative_hopfPresentation R G |
| 357 | let : Module.Finite R A := hf |
| 358 | let : Module.Projective R A := hp |
| 359 | let : Coalgebra.IsCocomm R A := hc |
| 360 | obtain ⟨hfinite, hflat, hfp⟩ := dualCoordinateScheme_finiteLocallyFree R A |
| 361 | refine ⟨dualCoordinateScheme R A, hfinite, hflat, hfp, ?_⟩ |
| 362 | let i₀ := @asIso _ _ _ _ (AbelianScheme.CartierDuality.CharacterMap.Construction.affineCartierCharacterSheafMap R A) |
| 363 | (AbelianScheme.CartierDuality.AffineSheafIso.Construction.affineCartierCharacterSheafMap_isIso R A) |
| 364 | let i : AbelianScheme.CartierDuality.CharacterFunctor.Construction.Schemes.pointSheaf (Spec R) (dualCoordinateScheme R A) ≅ |
| 365 | AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf (Spec R) (AbelianScheme.CartierDuality.Characters.Construction.affineHopfGroupScheme R A) := |
| 366 | i₀ |
| 367 | exact ⟨i ≪≫ (AbelianScheme.CartierDuality.CharacterFunctor.Construction.Schemes.characterSheafIso e).symm⟩ |
| 368 | |
| 369 | /-- The affine representability theorem remains valid after an arbitrary, |
| 370 | possibly nonaffine and nonflat, change of base. -/ |
| 371 | theorem affine_characterSheaf_baseChange_finiteLocallyFree |
| 372 | (R : CommRingCat.{u}) (G : Grp (Over (Spec R))) [IsCommMonObj G.X] |
| 373 | [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] |
| 374 | (T : Scheme.{u}) (f : T ⟶ Spec R) : |
| 375 | AbelianScheme.CartierDuality.CharacterFunctor.Construction.Schemes.FiniteLocallyFreeRepresentable |
| 376 | (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf T ((Over.pullback f).mapGrp.obj G)) := |
| 377 | AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.characterRepresentability_baseChange f G (affine_characterSheaf_finiteLocallyFree R G) |
| 378 | |
| 379 | /-- The dual Hopf spectrum is a finite locally free commutative group |
| 380 | representative with its canonical character-group isomorphism. -/ |
| 381 | def affineCartierGroupRepresentation (R A : Type u) [CommRing R] [CommRing A] |
| 382 | [HopfAlgebra R A] [Coalgebra.IsCocomm R A] [Module.Finite R A] [Module.Projective R A] : |
| 383 | AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation (Spec (CommRingCat.of R)) (AbelianScheme.CartierDuality.Characters.Construction.affineHopfGroupScheme R A) where |
| 384 | dual := AbelianScheme.CartierDuality.Characters.Construction.affineHopfGroupScheme R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) |
| 385 | commutative := inferInstanceAs (IsCommMonObj (dualCoordinateScheme R A)) |
| 386 | finite := (dualCoordinateScheme_finiteLocallyFree R A).1 |
| 387 | flat := (dualCoordinateScheme_finiteLocallyFree R A).2.1 |
| 388 | finitelyPresented := (dualCoordinateScheme_finiteLocallyFree R A).2.2 |
| 389 | pointsIso := AbelianScheme.CartierDuality.AffineCharacterGroups.Construction.affineCartierGroupPointIso R A |
| 390 | |
| 391 | /-- The affine group representative gives the canonical universal |
| 392 | character section on every test scheme. -/ |
| 393 | theorem affineCartierGroupRepresentation_section (R A : Type u) [CommRing R] [CommRing A] |
| 394 | [HopfAlgebra R A] [Coalgebra.IsCocomm R A] [Module.Finite R A] [Module.Projective R A] |
| 395 | (T : Over (Spec (CommRingCat.of R))) |
| 396 | (f : T ⟶ (AbelianScheme.CartierDuality.Characters.Construction.affineHopfGroupScheme R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A)).X) : |
| 397 | (affineCartierGroupRepresentation R A).sectionEquiv T f = |
| 398 | (AbelianScheme.CartierDuality.CharacterMap.Construction.affineCartierCharacterMap R A).app (Opposite.op T) (ULift.up f) := |
| 399 | ((affineCartierGroupRepresentation R A).sectionEquiv_apply T f).trans |
| 400 | (AbelianScheme.CartierDuality.AffineCharacterGroups.Construction.affineCartierGroupPointIso_character R A T f) |
| 401 | |
| 402 | /-- On affine test points, evaluation for the canonical affine group |
| 403 | representative is the proved group-like character evaluation. -/ |
| 404 | theorem affineCartierGroupRepresentation_evaluation (R A B : Type u) |
| 405 | [CommRing R] [CommRing A] [CommRing B] [Algebra R B] |
| 406 | [HopfAlgebra R A] [Coalgebra.IsCocomm R A] [Module.Finite R A] [Module.Projective R A] |
| 407 | (p : A →ₐ[R] B) (q : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A →ₐ[R] B) : |
| 408 | (affineCartierGroupRepresentation R A).evaluationValue |
| 409 | ((Spec (CommRingCat.of B)).asOver (Spec (CommRingCat.of R))) |
| 410 | ((AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) B).symm q) |
| 411 | ((AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R A B).symm p) = |
| 412 | AbelianScheme.CartierDuality.AffineEvaluationInv.Construction.affineCartierPairValue R B A p q := by |
| 413 | let T := (Spec (CommRingCat.of B)).asOver (Spec (CommRingCat.of R)) |
| 414 | let d := (AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) B).symm q |
| 415 | have h₁ := affineCartierGroupRepresentation_section R A T d |
| 416 | have h₂ := AbelianScheme.CartierDuality.AffineSheafIso.Construction.affineCartierCharacterMap_apply_affine R B A d |
| 417 | have h₃ := congrArg (fun f => AbelianScheme.CartierDuality.AffineCharacterValues.Construction.affineGroupLikeSection R B A (AbelianScheme.CartierDuality.DualAlgebra.Construction.affineDualPointsEquivCharacters R B A f)) |
| 418 | ((AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) B).apply_symm_apply q) |
| 419 | exact (affineCartierGroupRepresentation R A).evaluationValue_of_section_eq T d |
| 420 | ((AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R A B).symm p) (h₁.trans (h₂.trans h₃)) |
| 421 | |
| 422 | /-- Canonical bidual evaluation agrees with the inverse coordinate |
| 423 | bidual isomorphism, as an actual morphism of affine group schemes. -/ |
| 424 | theorem affineCartierBidualEvaluation_eq_coordinate (R A : Type u) [CommRing R] [CommRing A] |
| 425 | [HopfAlgebra R A] [Coalgebra.IsCocomm R A] [Module.Finite R A] [Module.Projective R A] : |
| 426 | (affineCartierGroupRepresentation R A).bidualEvaluation |
| 427 | (affineCartierGroupRepresentation R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A)) = (AbelianScheme.CartierDuality.AffineEvaluationInv.Construction.coordinateBidualGroupIso R A).inv := by |
| 428 | apply AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation.bidualEvaluation_eq_of_affine_pairing |
| 429 | (CommRingCat.of R) (AbelianScheme.CartierDuality.Characters.Construction.affineHopfGroupScheme R A) |
| 430 | intro B x d |
| 431 | obtain ⟨p, rfl⟩ := (AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R A B).symm.surjective x |
| 432 | obtain ⟨q, rfl⟩ := (AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) B).symm.surjective d |
| 433 | have hp := AbelianScheme.CartierDuality.AffineEvaluationInv.Construction.coordinateBidualGroupIso_inv_point R B A p |
| 434 | have he := affineCartierGroupRepresentation_evaluation R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) B q |
| 435 | (AbelianScheme.CartierDuality.EvaluationSymmetry.Construction.bidualEvaluationAlgPoint R B A p) |
| 436 | have hs := AbelianScheme.CartierDuality.AffineEvaluationInv.Construction.affineCharacterEvaluation_value_symmetry R B A p q |
| 437 | have hd := affineCartierGroupRepresentation_evaluation R A B p q |
| 438 | have hpoint := congrArg |
| 439 | (fun y => (affineCartierGroupRepresentation R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A)).evaluationValue |
| 440 | ((Spec (CommRingCat.of B)).asOver (Spec (CommRingCat.of R))) y |
| 441 | ((AbelianScheme.CartierDuality.Characters.Construction.affineSchemePointsEquivAlgHom R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) B).symm q)) hp |
| 442 | have hsd := hs.symm.trans hd.symm |
| 443 | have hed := he.trans hsd |
| 444 | have hfinal := hpoint.trans hed |
| 445 | exact hfinal |
| 446 | |
| 447 | /-- The canonical evaluation map to the Cartier bidual is an isomorphism |
| 448 | for finite locally free commutative affine Hopf group schemes. -/ |
| 449 | theorem affineCartierBidualEvaluation_isIso (R A : Type u) [CommRing R] [CommRing A] |
| 450 | [HopfAlgebra R A] [Coalgebra.IsCocomm R A] [Module.Finite R A] [Module.Projective R A] : |
| 451 | IsIso ((affineCartierGroupRepresentation R A).bidualEvaluation |
| 452 | (affineCartierGroupRepresentation R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A))) := by |
| 453 | rw [affineCartierBidualEvaluation_eq_coordinate] |
| 454 | exact (AbelianScheme.CartierDuality.AffineEvaluationInv.Construction.coordinateBidualGroupIso R A).isIso_inv |
| 455 | |
| 456 | /-- Canonical bidual evaluation is perfect for every finite locally |
| 457 | free commutative group scheme over an affine base and every choice |
| 458 | of native first and second character representatives. -/ |
| 459 | theorem bidualEvaluation_isIso_affine (R : CommRingCat.{u}) (G : Grp (Over (Spec R))) |
| 460 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] |
| 461 | (D : AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation (Spec R) G) |
| 462 | (E : AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation (Spec R) D.dual) : |
| 463 | IsIso (D.bidualEvaluation E) := by |
| 464 | obtain ⟨A, hf, hp, hc, ⟨e⟩⟩ := exists_finiteProjective_commutative_hopfPresentation R G |
| 465 | let : Module.Finite R A := hf |
| 466 | let : Module.Projective R A := hp |
| 467 | let : Coalgebra.IsCocomm R A := hc |
| 468 | let D₀ := affineCartierGroupRepresentation R A |
| 469 | let E₀ := affineCartierGroupRepresentation R (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate R A) |
| 470 | let : IsIso (D₀.bidualEvaluation E₀) := affineCartierBidualEvaluation_isIso R A |
| 471 | let i : G ≅ AbelianScheme.CartierDuality.Characters.Construction.affineHopfGroupScheme R A := e.symm |
| 472 | exact D₀.bidualEvaluation_isIso_of_sourceIso D E₀ E i |
| 473 | |
| 474 | /-- The actual fppf character sheaf of a finite locally free commutative |
| 475 | group scheme over any base scheme is represented by a finite locally free |
| 476 | scheme. This follows from affine Hopf duality and open-base descent. -/ |
| 477 | theorem characterSheaf_finiteLocallyFree (S : Scheme.{u}) (G : Grp (Over S)) |
| 478 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 479 | [LocallyOfFinitePresentation G.X.hom] : |
| 480 | AbelianScheme.CartierDuality.CharacterFunctor.Construction.Schemes.FiniteLocallyFreeRepresentable (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf S G) := by |
| 481 | apply AbelianScheme.CartierDuality.RepresentabilityDescent.Construction.Schemes.character_finiteLocallyFree_of_openCover G S.affineCover |
| 482 | intro k |
| 483 | let G' := (Over.pullback (S.affineCover.f k)).mapGrp.obj G |
| 484 | let hc : IsCommMonObj G'.X := |
| 485 | Functor.isCommMonObj_obj (F := Over.pullback (S.affineCover.f k)) (M := G.X) |
| 486 | let hf : IsFinite G'.X.hom := |
| 487 | inferInstanceAs (IsFinite (CategoryTheory.Limits.pullback.snd G.X.hom (S.affineCover.f k))) |
| 488 | let hflat : Flat G'.X.hom := |
| 489 | inferInstanceAs (Flat (CategoryTheory.Limits.pullback.snd G.X.hom (S.affineCover.f k))) |
| 490 | let hfp : LocallyOfFinitePresentation G'.X.hom := |
| 491 | inferInstanceAs (LocallyOfFinitePresentation |
| 492 | (CategoryTheory.Limits.pullback.snd G.X.hom (S.affineCover.f k))) |
| 493 | exact @affine_characterSheaf_finiteLocallyFree _ G' hc hf hflat hfp |
| 494 | |
| 495 | /-- Canonical bidual evaluation is an isomorphism over an arbitrary |
| 496 | base scheme, for every choice of actual character representatives. -/ |
| 497 | theorem bidualEvaluation_isIso (S : Scheme.{u}) (G : Grp (Over S)) |
| 498 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] |
| 499 | (D : AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G) |
| 500 | (E : AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S D.dual) : IsIso (D.bidualEvaluation E) := by |
| 501 | apply AbelianScheme.CartierDuality.LocalIsomorphismsIs.Construction.Schemes.groupMap_isIso_of_openCover (D.bidualEvaluation E) S.affineCover |
| 502 | intro k |
| 503 | let f := S.affineCover.f k |
| 504 | let G' := (Over.pullback f).mapGrp.obj G |
| 505 | let hc : IsCommMonObj G'.X := Functor.isCommMonObj_obj (F := Over.pullback f) (M := G.X) |
| 506 | let hf : IsFinite G'.X.hom := |
| 507 | inferInstanceAs (IsFinite (CategoryTheory.Limits.pullback.snd G.X.hom f)) |
| 508 | let hflat : Flat G'.X.hom := |
| 509 | inferInstanceAs (Flat (CategoryTheory.Limits.pullback.snd G.X.hom f)) |
| 510 | let hfp : LocallyOfFinitePresentation G'.X.hom := |
| 511 | inferInstanceAs (LocallyOfFinitePresentation (CategoryTheory.Limits.pullback.snd G.X.hom f)) |
| 512 | have hb := @bidualEvaluation_isIso_affine _ G' hc hf hflat hfp (D.baseChange f) (E.baseChange f) |
| 513 | exact (D.bidualEvaluation_baseChange E f) ▸ hb |
| 514 | |
| 515 | /-- Cartier duality produces a native finite locally free commutative |
| 516 | group scheme over every base, representing the actual character groups. -/ |
| 517 | def cartierDualGroupRepresentation (S : Scheme.{u}) (G : Grp (Over S)) |
| 518 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 519 | [LocallyOfFinitePresentation G.X.hom] : AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation S G := |
| 520 | AbelianScheme.CartierDuality.GroupRepresentatives.Construction.Schemes.characterGroupRepresentationOfRepresentable S G (characterSheaf_finiteLocallyFree S G) |
| 521 | |
| 522 | /-- The native Cartier-dual group scheme, constructed from the proved |
| 523 | representation of the actual character groups. -/ |
| 524 | abbrev cartierDualGroupScheme (S : Scheme.{u}) (G : Grp (Over S)) |
| 525 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 526 | [LocallyOfFinitePresentation G.X.hom] : Grp (Over S) := |
| 527 | (cartierDualGroupRepresentation S G).dual |
| 528 | |
| 529 | instance cartierDualGroupScheme_commutative (S : Scheme.{u}) (G : Grp (Over S)) |
| 530 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 531 | [LocallyOfFinitePresentation G.X.hom] : IsCommMonObj (cartierDualGroupScheme S G).X := |
| 532 | (cartierDualGroupRepresentation S G).commutative |
| 533 | |
| 534 | instance cartierDualGroupScheme_finite (S : Scheme.{u}) (G : Grp (Over S)) |
| 535 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 536 | [LocallyOfFinitePresentation G.X.hom] : IsFinite (cartierDualGroupScheme S G).X.hom := |
| 537 | (cartierDualGroupRepresentation S G).finite |
| 538 | |
| 539 | instance cartierDualGroupScheme_flat (S : Scheme.{u}) (G : Grp (Over S)) |
| 540 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 541 | [LocallyOfFinitePresentation G.X.hom] : Flat (cartierDualGroupScheme S G).X.hom := |
| 542 | (cartierDualGroupRepresentation S G).flat |
| 543 | |
| 544 | instance cartierDualGroupScheme_finitelyPresented (S : Scheme.{u}) (G : Grp (Over S)) |
| 545 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 546 | [LocallyOfFinitePresentation G.X.hom] : |
| 547 | LocallyOfFinitePresentation (cartierDualGroupScheme S G).X.hom := |
| 548 | (cartierDualGroupRepresentation S G).finitelyPresented |
| 549 | |
| 550 | /-- Canonical evaluation into the native double Cartier dual over an |
| 551 | arbitrary base scheme. Its character formula is proved in `Evaluation`. -/ |
| 552 | def cartierBidualEvaluation (S : Scheme.{u}) (G : Grp (Over S)) |
| 553 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] |
| 554 | [LocallyOfFinitePresentation G.X.hom] : |
| 555 | G ⟶ cartierDualGroupScheme S (cartierDualGroupScheme S G) := |
| 556 | (cartierDualGroupRepresentation S G).bidualEvaluation |
| 557 | (cartierDualGroupRepresentation S (cartierDualGroupScheme S G)) |
| 558 | |
| 559 | /-- The chosen global Cartier construction has perfect canonical |
| 560 | bidual evaluation whenever the base is affine. -/ |
| 561 | theorem cartierBidualEvaluation_isIso_affine (R : CommRingCat.{u}) (G : Grp (Over (Spec R))) |
| 562 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] : |
| 563 | IsIso (cartierBidualEvaluation (Spec R) G) := |
| 564 | bidualEvaluation_isIso_affine R G (cartierDualGroupRepresentation (Spec R) G) |
| 565 | (cartierDualGroupRepresentation (Spec R) (cartierDualGroupScheme (Spec R) G)) |
| 566 | |
| 567 | /-- The canonical evaluation into the double Cartier dual is an |
| 568 | isomorphism over every base scheme. -/ |
| 569 | theorem cartierBidualEvaluation_isIso (S : Scheme.{u}) (G : Grp (Over S)) |
| 570 | [IsCommMonObj G.X] [IsFinite G.X.hom] [Flat G.X.hom] [LocallyOfFinitePresentation G.X.hom] : |
| 571 | IsIso (cartierBidualEvaluation S G) := |
| 572 | bidualEvaluation_isIso S G (cartierDualGroupRepresentation S G) |
| 573 | (cartierDualGroupRepresentation S (cartierDualGroupScheme S G)) |
| 574 | |
| 575 | /-- Cartier duality for actual finite locally free representable |
| 576 | commutative fppf sheaves: representability, perfect canonical evaluation, |
| 577 | canonical biduality, and arbitrary base change. -/ |
| 578 | theorem cartier_duality {S : Scheme.{u}} (F : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S) |
| 579 | (hF : AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S F) : |
| 580 | AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf F) ∧ |
| 581 | (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.cartierEvaluationPairing F).IsPerfect ∧ |
| 582 | IsIso (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation F) ∧ |
| 583 | (∀ (T : Scheme.{u}) (f : T ⟶ S), IsIso (AbelianScheme.CartierDuality.SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f F).hom) := by |
| 584 | obtain ⟨G, hc, hf, hflat, hfp, ⟨e⟩⟩ := hF |
| 585 | let : IsCommMonObj G.X := hc |
| 586 | let : IsFinite G.X.hom := hf |
| 587 | let : Flat G.X.hom := hflat |
| 588 | let : LocallyOfFinitePresentation G.X.hom := hfp |
| 589 | let D := cartierDualGroupRepresentation S G |
| 590 | let : IsCommMonObj D.dual.X := D.commutative |
| 591 | let : IsFinite D.dual.X.hom := D.finite |
| 592 | let : Flat D.dual.X.hom := D.flat |
| 593 | let : LocallyOfFinitePresentation D.dual.X.hom := D.finitelyPresented |
| 594 | let E := cartierDualGroupRepresentation S D.dual |
| 595 | let hn : IsIso (D.bidualEvaluation E) := bidualEvaluation_isIso S G D E |
| 596 | let hr : IsIso (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S G)) := |
| 597 | D.sheafBidualEvaluation_isIso E |
| 598 | have hb : IsIso (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation F) := |
| 599 | AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation_isIso_of_iso e.symm |
| 600 | have hd : AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf F) := |
| 601 | D.sheafDual_finiteLocallyFree.of_iso ((AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).mapIso e.symm.op) |
| 602 | exact ⟨hd, (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.cartierEvaluationPairing_isPerfect_iff F).mpr hb, hb, |
| 603 | fun T f => (AbelianScheme.CartierDuality.SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f F).isIso_hom⟩ |
| 604 | |
| 605 | /-- A finite locally free subgroup of a finite locally free group has |
| 606 | a finite locally free annihilator under a perfect pairing. -/ |
| 607 | theorem annihilator_finiteLocallyFree {S : Scheme.{u}} {G K : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 608 | (e : AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing G K) (H : Subobject G) (he : e.IsPerfect) |
| 609 | (hG : AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S G) |
| 610 | (hH : AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (H : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S)) : |
| 611 | AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafAnnihilator e H : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S) := |
| 612 | (cartier_duality (AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafQuotient H) |
| 613 | (AbelianScheme.CartierDuality.QuotientRepresentability.Construction.Schemes.sheafQuotient_finiteLocallyFree H hG hH)).1.of_iso |
| 614 | (AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.annihilatorQuotientDualIso e H he).symm |
| 615 | |
| 616 | /-- Taking the annihilator twice under a perfect pairing recovers |
| 617 | every finite locally free subgroup of a finite locally free group. -/ |
| 618 | theorem annihilator_double {S : Scheme.{u}} {G K : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S} |
| 619 | (e : AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing G K) (H : Subobject G) (he : e.IsPerfect) |
| 620 | (hG : AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S G) |
| 621 | (hH : AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S (H : AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S)) : |
| 622 | AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafAnnihilator e.flip (AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafAnnihilator e H) = H := by |
| 623 | let : IsIso (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation (AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafQuotient H)) := |
| 624 | (cartier_duality (AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafQuotient H) |
| 625 | (AbelianScheme.CartierDuality.QuotientRepresentability.Construction.Schemes.sheafQuotient_finiteLocallyFree H hG hH)).2.2.1 |
| 626 | exact AbelianScheme.CartierDuality.DoubleAnnihilator.Construction.Schemes.sheafAnnihilator_double e H he |
| 627 | |
| 628 | end Construction |
| 629 | |
| 630 | section |
| 631 | |
| 632 | abbrev FppfAb (S : Scheme.{u}) := AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.FppfAb S |
| 633 | |
| 634 | abbrev FiniteLocallyFreeRepresentable {S : Scheme.{u}} (G : FppfAb S) := |
| 635 | AbelianScheme.CartierDuality.SheafCharacterComparison.Construction.Schemes.FiniteLocallyFreeFppfAb S G |
| 636 | |
| 637 | abbrev cartierDual {S : Scheme.{u}} (G : FppfAb S) := AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheaf G |
| 638 | |
| 639 | abbrev BilinearPairing {S : Scheme.{u}} (G K : FppfAb S) := AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing G K |
| 640 | |
| 641 | abbrev IsPerfectPairing {S : Scheme.{u}} {G K : FppfAb S} (e : BilinearPairing G K) := e.IsPerfect |
| 642 | |
| 643 | abbrev ProjectorsAdjoint {S : Scheme.{u}} {G K : FppfAb S} (e : BilinearPairing G K) |
| 644 | (p : G ⟶ G) (q : K ⟶ K) := AbelianScheme.CartierDuality.SheafBlocks.Construction.Schemes.ProjectorsAdjoint e p q |
| 645 | |
| 646 | abbrev SheafBlockDecomposition {S : Scheme.{u}} (G : FppfAb S) (I : Type u) := |
| 647 | AbelianScheme.CartierDuality.SheafBlocks.Construction.Schemes.SheafBlockDecomposition G I |
| 648 | |
| 649 | abbrev cartierEvaluation {S : Scheme.{u}} (G : FppfAb S) := AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.cartierEvaluationPairing G |
| 650 | |
| 651 | abbrev bidualEvaluation {S : Scheme.{u}} (G : FppfAb S) := AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.sheafBidualEvaluation G |
| 652 | |
| 653 | /-- The canonical character comparison for arbitrary scheme base change. -/ |
| 654 | def dualBaseChangeComparison {S T : Scheme.{u}} (f : T ⟶ S) (G : FppfAb S) : |
| 655 | (AbelianScheme.CartierDuality.SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj (cartierDual G) ⟶ |
| 656 | cartierDual ((AbelianScheme.CartierDuality.SheafBaseChange.Construction.Schemes.baseChangeFppfAb f).obj G) := |
| 657 | (AbelianScheme.CartierDuality.SheafBaseChange.Construction.Schemes.sheafDualBaseChangeIso f G).hom |
| 658 | |
| 659 | abbrev sheafQuotient {S : Scheme.{u}} {G : FppfAb S} (H : Subobject G) := |
| 660 | AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafQuotient H |
| 661 | |
| 662 | abbrev annihilator {S : Scheme.{u}} {G K : FppfAb S} (e : BilinearPairing G K) (H : Subobject G) := |
| 663 | AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.sheafAnnihilator e H |
| 664 | |
| 665 | abbrev baseChangeSubobject {S T : Scheme.{u}} (f : T ⟶ S) {G : FppfAb S} (H : Subobject G) := |
| 666 | AbelianScheme.CartierDuality.AnnihilatorBaseChange.Construction.Schemes.baseChangeSubobject f H |
| 667 | |
| 668 | abbrev baseChangePairing {S T : Scheme.{u}} (f : T ⟶ S) {G K : FppfAb S} |
| 669 | (e : BilinearPairing G K) := AbelianScheme.CartierDuality.AnnihilatorBaseChange.Construction.Schemes.baseChangePairing f e |
| 670 | |
| 671 | abbrev annihilatorToQuotientDual {S : Scheme.{u}} {G K : FppfAb S} |
| 672 | (e : BilinearPairing G K) (H : Subobject G) := |
| 673 | AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.annihilatorToQuotientDual e H |
| 674 | |
| 675 | /-- The canonical annihilator comparison for any perfect pairing of |
| 676 | commutative fppf sheaves is an isomorphism. -/ |
| 677 | theorem annihilatorToQuotientDual_isIso_of_perfect {S : Scheme.{u}} {G K : FppfAb S} |
| 678 | (e : BilinearPairing G K) (H : Subobject G) (he : IsPerfectPairing e) : |
| 679 | IsIso (annihilatorToQuotientDual e H) := |
| 680 | AbelianScheme.CartierDuality.SheafQuotients.Construction.Schemes.annihilatorToQuotientDual_isIso e H he |
| 681 | |
| 682 | /-- Cartier duality for finite locally free commutative group schemes, |
| 683 | expressed in the actual commutative fppf-sheaf interface of the CartierDuality schema. -/ |
| 684 | theorem cartier_duality {S : Scheme.{u}} (G : FppfAb S) (hG : FiniteLocallyFreeRepresentable G) : |
| 685 | FiniteLocallyFreeRepresentable (cartierDual G) ∧ |
| 686 | IsPerfectPairing (cartierEvaluation G) ∧ |
| 687 | IsIso (PolarizedTorsion.bidualEvaluation G) ∧ |
| 688 | (∀ (T : Scheme.{u}) (f : T ⟶ S), IsIso (dualBaseChangeComparison f G)) := |
| 689 | Construction.cartier_duality G hG |
| 690 | |
| 691 | /-- Annihilator representability, its canonical quotient-dual comparison, |
| 692 | double annihilation, and arbitrary base change for a perfect finite locally free pairing. -/ |
| 693 | theorem annihilator_duality {S : Scheme.{u}} {G K : FppfAb S} |
| 694 | (e : BilinearPairing G K) (H : Subobject G) (he : IsPerfectPairing e) |
| 695 | (hG : FiniteLocallyFreeRepresentable G) |
| 696 | (hH : FiniteLocallyFreeRepresentable (H : FppfAb S)) : |
| 697 | FiniteLocallyFreeRepresentable (annihilator e H : FppfAb S) ∧ |
| 698 | IsIso (annihilatorToQuotientDual e H) ∧ |
| 699 | annihilator e.flip (annihilator e H) = H ∧ |
| 700 | (∀ (T : Scheme.{u}) (f : T ⟶ S), |
| 701 | baseChangeSubobject f (annihilator e H) = |
| 702 | annihilator (baseChangePairing f e) (baseChangeSubobject f H)) := |
| 703 | ⟨Construction.annihilator_finiteLocallyFree e H he hG hH, |
| 704 | annihilatorToQuotientDual_isIso_of_perfect e H he, |
| 705 | Construction.annihilator_double e H he hG hH, |
| 706 | fun _ f => AbelianScheme.CartierDuality.AnnihilatorBaseChange.Construction.Schemes.sheafAnnihilator_baseChange f e H⟩ |
| 707 | |
| 708 | /-- The sheaf-theoretic block and annihilator conclusions, derived from |
| 709 | an ambient finite locally free group with a perfect pairing and pointwise |
| 710 | adjoint projectors. No block representability is assumed. -/ |
| 711 | theorem perfect_pairing_blocks_and_annihilators {S : Scheme.{u}} {G : FppfAb S} |
| 712 | (hG : FiniteLocallyFreeRepresentable G) (e : BilinearPairing G G) (he : IsPerfectPairing e) |
| 713 | {I : Type u} (B : SheafBlockDecomposition G I) (i j : I) |
| 714 | (hadjoint : ProjectorsAdjoint e (B.projector i) (B.projector j)) |
| 715 | (H : Subobject (B.block i)) (hH : FiniteLocallyFreeRepresentable (H : FppfAb S)) : |
| 716 | let b := B.restrictedPairing e i j |
| 717 | IsPerfectPairing b ∧ |
| 718 | FiniteLocallyFreeRepresentable (annihilator b H : FppfAb S) ∧ |
| 719 | IsIso (annihilatorToQuotientDual b H) ∧ |
| 720 | annihilator b.flip (annihilator b H) = H ∧ |
| 721 | (∀ (T : Scheme.{u}) (f : T ⟶ S), |
| 722 | baseChangeSubobject f (annihilator b H) = |
| 723 | annihilator (baseChangePairing f b) (baseChangeSubobject f H)) := by |
| 724 | have hb := B.restrictedPairing_isPerfect e he i j hadjoint |
| 725 | exact ⟨hb, annihilator_duality (B.restrictedPairing e i j) H hb |
| 726 | (B.block_finiteLocallyFree hG i) hH⟩ |
| 727 | |
| 728 | end |
| 729 | |
| 730 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 731 | |
| 732 | attribute [local instance] Over.cartesianMonoidalCategory |
| 733 | attribute [local instance] Picard.Homomorphisms.GroupDescent.Construction.groupHom_pow_isMonHom |
| 734 | |
| 735 | /-- A native smooth proper geometrically connected commutative group scheme. -/ |
| 736 | abbrev AbelianScheme (S : Scheme.{u}) := Picard.Homomorphisms.AbelianSchemes.Construction.AbelianScheme S |
| 737 | |
| 738 | /-- An actual polarization, with normalized Poincare representation and geometric ampleness. -/ |
| 739 | abbrev Polarization {S : Scheme.{u}} (A : AbelianScheme S) := Picard.Homomorphisms.Polarizations.Construction.Polarization A |
| 740 | |
| 741 | /-- The actual kernel of multiplication in commutative fppf sheaves. -/ |
| 742 | def AbelianScheme.torsionSheaf {S : Scheme.{u}} (A : AbelianScheme S) (n : ℕ) : FppfAb S := |
| 743 | AbelianScheme.CartierDuality.TorsionSheaves.Construction.Schemes.torsionFppfAb (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk A.toOver)) n |
| 744 | |
| 745 | /-- The degree on each fiber, computed from the finite-flat polarization map. -/ |
| 746 | def Polarization.fiberDegree {S : Scheme.{u}} {A : AbelianScheme S} (ell : Polarization A) (s : S) : ℕ := |
| 747 | ell.map.left.finrank (η[ell.dual.abelian].left s) |
| 748 | |
| 749 | /-- The polarization acts on torsion by the canonical morphism of sheaf kernels. -/ |
| 750 | def Polarization.torsionMap {S : Scheme.{u}} {A : AbelianScheme S} (ell : Polarization A) (n : ℕ) : |
| 751 | A.torsionSheaf n ⟶ AbelianScheme.CartierDuality.TorsionSheaves.Construction.Schemes.torsionFppfAb (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk ell.dual.abelian)) n := |
| 752 | AbelianScheme.CartierDuality.SheafTorsionMaps.Construction.Schemes.torsionSheafMap (AbelianScheme.CartierDuality.RepresentedMorphisms.Construction.Schemes.representedFppfAbMap |
| 753 | (@Grp.homMk (Over S) _ _ (Grp.mk A.toOver) (Grp.mk ell.dual.abelian) ell.map ell.preservesGroup)) n |
| 754 | |
| 755 | /-- Character-line descent identifies the actual Cartier dual of torsion with dual torsion. |
| 756 | The isomorphism exists for every positive n, independently of the polarization degree. -/ |
| 757 | def Polarization.torsionCartierIso {S : Scheme.{u}} {A : AbelianScheme S} |
| 758 | (ell : Polarization A) (n : ℕ) (hn : 0 < n) : |
| 759 | cartierDual (A.torsionSheaf n) ≅ AbelianScheme.CartierDuality.TorsionSheaves.Construction.Schemes.torsionFppfAb (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk ell.dual.abelian)) n := by |
| 760 | have : IsMonHom (show A.toOver ⟶ ell.dual.abelian from ell.map) := ell.preservesGroup |
| 761 | have : IsFinite (show A.toOver ⟶ ell.dual.abelian from ell.map).left := ell.finite |
| 762 | have : Flat (show A.toOver ⟶ ell.dual.abelian from ell.map).left := ell.flat |
| 763 | have : Surjective (show A.toOver ⟶ ell.dual.abelian from ell.map).left := ell.surjective |
| 764 | have hc := AbelianScheme.CartierDuality.MultiplicationCovers.Construction.RelativeAbelian.positive_power_cover A.toOver ell.dual ell.map n hn |
| 765 | have : IsFinite ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ n).left := hc.1 |
| 766 | have : Flat ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ n).left := hc.2.1 |
| 767 | have : Surjective ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ n).left := hc.2.2.1 |
| 768 | have : LocallyOfFinitePresentation ((𝟙 A.toOver : A.toOver ⟶ A.toOver) ^ n).left := hc.2.2.2 |
| 769 | let K := Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme ((𝟙 A.toOver) ^ n)) |
| 770 | have hK := AbelianScheme.CartierDuality.TorsionGeometry.Construction.Schemes.nativeTorsion_finiteLocallyFree_of_finite_power (Grp.mk A.toOver) n |
| 771 | have : IsCommMonObj K.X := Picard.Homomorphisms.KernelGroup.Construction.kernelSchemeGroup_commutative ((𝟙 A.toOver) ^ n) |
| 772 | have : IsFinite K.X.hom := hK.1 |
| 773 | have : Flat K.X.hom := hK.2.1 |
| 774 | have : LocallyOfFinitePresentation K.X.hom := hK.2.2 |
| 775 | exact AbelianScheme.CartierDuality.WeilPairing.Construction.KernelCharacters.torsionCartierPicardIso A.toOver ell.representation ell.map n hn |
| 776 | (Construction.cartierDualGroupRepresentation S K) |
| 777 | |
| 778 | /-- The Weil pairing evaluates the character corresponding to the dual point by actual line descent. -/ |
| 779 | def Polarization.weilPairing {S : Scheme.{u}} {A : AbelianScheme S} |
| 780 | (ell : Polarization A) (n : ℕ) (hn : 0 < n) : |
| 781 | BilinearPairing (A.torsionSheaf n) (AbelianScheme.CartierDuality.TorsionSheaves.Construction.Schemes.torsionFppfAb (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.representedFppfAb S (Grp.mk ell.dual.abelian)) n) := |
| 782 | (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.mk (ell.torsionCartierIso n hn).inv).flip |
| 783 | |
| 784 | /-- The induced pairing is the actual Weil pairing with the polarization applied in its second variable. -/ |
| 785 | def Polarization.torsionPairing {S : Scheme.{u}} {A : AbelianScheme S} |
| 786 | (ell : Polarization A) (n : ℕ) (hn : 0 < n) : BilinearPairing (A.torsionSheaf n) (A.torsionSheaf n) := |
| 787 | (ell.weilPairing n hn).restrict (𝟙 _) (ell.torsionMap n) |
| 788 | |
| 789 | /-- The actual character-line construction determines the Weil character uniquely. -/ |
| 790 | theorem Polarization.weilPairing_characterLine {S : Scheme.{u}} {A : AbelianScheme S} |
| 791 | (ell : Polarization A) (n : ℕ) (hn : 0 < n) : |
| 792 | (ell.torsionCartierIso n hn).hom ≫ (ell.weilPairing n hn).rightAdjoint = 𝟙 _ := by |
| 793 | have h : (ell.weilPairing n hn).rightAdjoint = (ell.torsionCartierIso n hn).inv := |
| 794 | congrArg AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.leftAdjoint |
| 795 | (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.flip_flip |
| 796 | (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.mk (ell.torsionCartierIso n hn).inv)) |
| 797 | rw [h] |
| 798 | exact (ell.torsionCartierIso n hn).hom_inv_id |
| 799 | |
| 800 | /-- Finite local freeness is proved from the abelian scheme and its actual polarization. -/ |
| 801 | theorem Polarization.torsion_finiteLocallyFree {S : Scheme.{u}} {A : AbelianScheme S} |
| 802 | (ell : Polarization A) (n : ℕ) (hn : 0 < n) : FiniteLocallyFreeRepresentable (A.torsionSheaf n) := by |
| 803 | have : IsMonHom (show A.toOver ⟶ ell.dual.abelian from ell.map) := ell.preservesGroup |
| 804 | have : IsFinite (show A.toOver ⟶ ell.dual.abelian from ell.map).left := ell.finite |
| 805 | exact AbelianScheme.CartierDuality.RelativeTorsion.Construction.RelativeAbelian.torsionFppfAb_finiteLocallyFree A.toOver ell.dual ell.map n hn |
| 806 | |
| 807 | /-- Both adjoints of the actual Weil pairing are isomorphisms over every base. -/ |
| 808 | theorem Polarization.weilPairing_isPerfect {S : Scheme.{u}} {A : AbelianScheme S} |
| 809 | (ell : Polarization A) (n : ℕ) (hn : 0 < n) : IsPerfectPairing (ell.weilPairing n hn) := by |
| 810 | have hb : IsIso (PolarizedTorsion.bidualEvaluation (A.torsionSheaf n)) := |
| 811 | (cartier_duality (A.torsionSheaf n) (ell.torsion_finiteLocallyFree n hn)).2.2.1 |
| 812 | constructor |
| 813 | · exact (@asIso _ _ _ _ (PolarizedTorsion.bidualEvaluation (A.torsionSheaf n)) hb ≪≫ |
| 814 | (AbelianScheme.CartierDuality.CommutativeSheavesAb.Construction.Schemes.cartierDualSheafFunctor S).mapIso (ell.torsionCartierIso n hn).symm.op).isIso_hom |
| 815 | · have h : (ell.weilPairing n hn).rightAdjoint = (ell.torsionCartierIso n hn).inv := |
| 816 | congrArg AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.leftAdjoint |
| 817 | (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.flip_flip |
| 818 | (AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.mk (ell.torsionCartierIso n hn).inv)) |
| 819 | rw [h] |
| 820 | exact (ell.torsionCartierIso n hn).isIso_inv |
| 821 | |
| 822 | /-- The degree condition makes the polarization-induced Weil pairing perfect; |
| 823 | there is no restriction on residue characteristic or on specialization. -/ |
| 824 | theorem Polarization.torsionPairing_isPerfect {S : Scheme.{u}} {A : AbelianScheme S} |
| 825 | (ell : Polarization A) (n : ℕ) (hn : 0 < n) |
| 826 | (hdegree : ∀ s : S, Nat.Coprime n (ell.fiberDegree s)) : |
| 827 | IsPerfectPairing (ell.torsionPairing n hn) := by |
| 828 | have : IsMonHom (show A.toOver ⟶ ell.dual.abelian from ell.map) := ell.preservesGroup |
| 829 | have : IsFinite (show A.toOver ⟶ ell.dual.abelian from ell.map).left := ell.finite |
| 830 | have : Flat (show A.toOver ⟶ ell.dual.abelian from ell.map).left := ell.flat |
| 831 | have : Surjective (show A.toOver ⟶ ell.dual.abelian from ell.map).left := ell.surjective |
| 832 | have hmap : IsIso (ell.torsionMap n) := |
| 833 | AbelianScheme.CartierDuality.RelativeTorsion.Construction.RelativeAbelian.torsionSheafMap_isIso A.toOver ell.dual ell.map n hn hdegree |
| 834 | exact AbelianScheme.CartierDuality.SheafEvaluation.Construction.Schemes.BilinearPairing.restrict_isPerfect_of_isIso |
| 835 | (ell.weilPairing n hn) (ell.weilPairing_isPerfect n hn) (𝟙 _) (ell.torsionMap n) |
| 836 | |
| 837 | /-- A product decomposition of the actual torsion sheaf, with its actual projectors. -/ |
| 838 | abbrev TorsionBlockDecomposition {S : Scheme.{u}} (A : AbelianScheme S) (n : ℕ) (I : Type u) := |
| 839 | SheafBlockDecomposition (A.torsionSheaf n) I |
| 840 | |
| 841 | /-- Polarization identifies adjoint torsion blocks and determines their actual annihilators, |
| 842 | compatibly with arbitrary base change. All geometric perfection and representability inputs are derived. -/ |
| 843 | theorem polarization_blocks_and_annihilators |
| 844 | {S : Scheme.{u}} (A : AbelianScheme S) (ell : Polarization A) |
| 845 | (n : ℕ) (hn : 0 < n) (hdegree : ∀ s : S, Nat.Coprime n (ell.fiberDegree s)) |
| 846 | (I : Type u) [Fintype I] (conj : I → I) (_hconj : Function.Involutive conj) |
| 847 | (B : TorsionBlockDecomposition A n I) |
| 848 | (hadjoint : ∀ i : I, ProjectorsAdjoint (ell.torsionPairing n hn) |
| 849 | (B.projector i) (B.projector (conj i))) |
| 850 | (i : I) (H : Subobject (B.block i)) (hH : FiniteLocallyFreeRepresentable (H : FppfAb S)) : |
| 851 | let e := B.restrictedPairing (ell.torsionPairing n hn) i (conj i) |
| 852 | IsPerfectPairing e ∧ |
| 853 | FiniteLocallyFreeRepresentable (annihilator e H : FppfAb S) ∧ |
| 854 | IsIso (annihilatorToQuotientDual e H) ∧ |
| 855 | annihilator e.flip (annihilator e H) = H ∧ |
| 856 | (∀ (T : Scheme.{u}) (f : T ⟶ S), |
| 857 | baseChangeSubobject f (annihilator e H) = |
| 858 | annihilator (baseChangePairing f e) (baseChangeSubobject f H)) := by |
| 859 | exact perfect_pairing_blocks_and_annihilators (ell.torsion_finiteLocallyFree n hn) |
| 860 | (ell.torsionPairing n hn) (ell.torsionPairing_isPerfect n hn hdegree) B i (conj i) |
| 861 | (hadjoint i) H hH |
| 862 | |
| 863 | end |
| 864 | |
| 865 | end OAI.AlgebraicGeometry.CartierDuality.PolarizedTorsion |