chars
int64
40
24k
content_type
stringclasses
9 values
id
stringlengths
13
64
source
stringclasses
5 values
subset
stringclasses
31 values
text
stringlengths
40
24k
635
leanexplore_declaration
leanexplore:380436
leanexplore_sqlite
leanexplore_declarations
/-- The functor of narrow `S`-lifts of `ρ`, consisting of representations of `GL₂` satisfying: 1. It is a lift of `ρ`. 2. Its determinant is equal to `εₗ`, the `l`-adic cyclotomic character. 3. It is unramified outside `l` and `S`. 4. Its trace is `2` on `Iᵥ`. 5. It is flat at all `v | l`. -/ def narrowSLiftFunctor : S...
119
leanexplore_declaration
leanexplore:380437
leanexplore_sqlite
leanexplore_declarations
lemma isCorepresentable_narrowSLiftFunctor : (narrowSLiftFunctor 𝓞 l S ρ).toFunctor.IsCorepresentable := by sorry
227
leanexplore_declaration
leanexplore:380438
leanexplore_sqlite
leanexplore_declarations
/-- The universal lifting ring `Rᵘⁿⁱᵛ` representing the functor of narrow `S`-lifts. -/ def narrowSLiftUniversalRing : ProartinianCat 𝓞 := (isCorepresentable_narrowSLiftFunctor 𝓞 hK l hl S hS ρ hρ).has_corepresentation.choose
349
leanexplore_declaration
leanexplore:380439
leanexplore_sqlite
leanexplore_declarations
/-- The universal lifting ring `Rᵘⁿⁱᵛ` represents the functor of narrow `S`-lifts. -/ def narrowSLiftUniversalRingCorepresentableBy : (narrowSLiftFunctor 𝓞 l S ρ).toFunctor.CorepresentableBy (narrowSLiftUniversalRing 𝓞 hK l hl S hS ρ hρ) := (isCorepresentable_narrowSLiftFunctor 𝓞 hK l hl S hS ρ hρ).has_c...
1,057
leanexplore_declaration
leanexplore:380440
leanexplore_sqlite
leanexplore_declarations
/-- Given a field extension, this is a map between its absolute galois group. Note that this relies on an arbitrarily chosen embedding of the algebraic closures -/ noncomputable def Field.absoluteGaloisGroup.mapAux (f : K →+* L) : Γ L →* Γ K where toFun σ := letI := f.toAlgebra letI := (AlgebraicClosure.map f...
1,361
leanexplore_declaration
leanexplore:380441
leanexplore_sqlite
leanexplore_declarations
/-- Given a field extension, this is a continuous map between its absolute galois group. Note that this relies on an arbitrarily chosen embedding of the algebraic closures -/ noncomputable def Field.absoluteGaloisGroup.map (f : K →+* L) : Γ L →ₜ* Γ K where __ := Field.absoluteGaloisGroup.mapAux f continuous_toFun :...
265
leanexplore_declaration
leanexplore:380442
leanexplore_sqlite
leanexplore_declarations
lemma Field.absoluteGaloisGroup.lift_map (f : K →+* L) (σ : Γ L) (x : Kᵃˡᵍ) : AlgebraicClosure.map f (map f σ x) = σ (AlgebraicClosure.map f x) := by letI := f.toAlgebra letI := (AlgebraicClosure.map f).toAlgebra exact AlgHom.restrictNormal_commutes _ _ _
693
leanexplore_declaration
leanexplore:380443
leanexplore_sqlite
leanexplore_declarations
instance finiteIndex_fixingSubgroup {K L : Type*} [Field K] [Field L] [Algebra K L] (E : IntermediateField K L) [FiniteDimensional K E] : E.fixingSubgroup.FiniteIndex := by let f : (L ≃ₐ[K] L) ⧸ E.fixingSubgroup → E →ₐ[K] L := Quotient.lift (fun f ↦ f.toAlgHom.comp E.val) (by rintro _ τ ⟨σ, rfl⟩; ext x; e...
3,022
leanexplore_declaration
leanexplore:380444
leanexplore_sqlite
leanexplore_declarations
instance {K L : Type*} [Field K] [Field L] [Algebra K L] [Algebra.IsAlgebraic K L] : CompactSpace (L ≃ₐ[K] L) := by classical letI := IsTopologicalGroup.rightUniformSpace (L ≃ₐ[K] L) rw [← isCompact_univ_iff, isCompact_iff_totallyBounded_isComplete] refine ⟨IsTopologicalGroup.totallyBounded fun s hs ↦ ?_, ?...
612
leanexplore_declaration
leanexplore:380445
leanexplore_sqlite
leanexplore_declarations
instance {K L : Type*} [Field K] [Field L] [Algebra K L] [Algebra.IsAlgebraic K L] : ContinuousSMulDiscrete (L ≃ₐ[K] L) L := by constructor intro x y rw [isOpen_iff_forall_mem_open] rintro σ (hσ : _ = _) have : FiniteDimensional K K⟮x⟯ := IntermediateField.adjoin.finiteDimensional (Algebra.IsAlgebra...
220
leanexplore_declaration
leanexplore:380446
leanexplore_sqlite
leanexplore_declarations
instance {K L : Type*} [Field K] [Field L] [Algebra K L] [IsGalois K L] : Algebra.IsInvariant K L (L ≃ₐ[K] L) := ⟨fun _ H ↦ (InfiniteGalois.fixedField_fixingSubgroup (⊥ : IntermediateField K L)).le fun _ ↦ H _⟩
1,305
leanexplore_declaration
leanexplore:380447
leanexplore_sqlite
leanexplore_declarations
lemma isIntegral_of_spectralNorm_le_one {K L Γ₀ : Type*} [LinearOrderedCommGroupWithZero Γ₀] [Field K] [Field L] [Valued K Γ₀] [(Valued.v : Valuation K Γ₀).RankOne] [Algebra K L] [Algebra.IsAlgebraic K L] {x : L} (hx : spectralNorm K L x ≤ 1) : IsIntegral (Valued.v : Valuation K Γ₀).integer x := by have :...
456
leanexplore_declaration
leanexplore:380448
leanexplore_sqlite
leanexplore_declarations
lemma spectralNorm_inv {K L : Type*} [NontriviallyNormedField K] [Field L] [Algebra K L] [IsUltrametricDist K] [CompleteSpace K] [Algebra.IsAlgebraic K L] (x : L) : spectralNorm K L (x⁻¹) = (spectralNorm K L x)⁻¹ := by by_cases H : x = 0 · simp [H, spectralNorm_zero] refine eq_inv_of_mul_eq_one_right ...
91
leanexplore_declaration
leanexplore:380449
leanexplore_sqlite
leanexplore_declarations
noncomputable instance : NontriviallyNormedField Kᵥ := Valued.toNontriviallyNormedField _ _
494
leanexplore_declaration
leanexplore:380450
leanexplore_sqlite
leanexplore_declarations
instance valuationRing_integralClosure {L : Type*} [Field L] [Algebra Kᵥ L] [Algebra.IsAlgebraic Kᵥ L] : ValuationRing (IntegralClosure 𝒪ᵥ L) := by refine ValuationSubring.instValuationRingSubtypeMem ⟨(integralClosure 𝒪ᵥ L).toSubring, ?_⟩ intro x obtain hx | hx := le_total (spectralNorm Kᵥ L x) 1 · ex...
233
leanexplore_declaration
leanexplore:380451
leanexplore_sqlite
leanexplore_declarations
/-- The local inertia subgroup of a number field at a prime, defined as a subgroup of the local galois group. -/ noncomputable def localInertiaGroup : Subgroup (Γ Kᵥ) := (𝔪 (IntegralClosure 𝒪ᵥ (Kᵥᵃˡᵍ))).toAddSubgroup.inertia (Γ Kᵥ)
716
leanexplore_declaration
leanexplore:380452
leanexplore_sqlite
leanexplore_declarations
/-- The subgroup of the local galois group which is the kernel of the canonical map `Iᵥ → k(v)ˣ`. Note that this definition is somewhat cheating, abusing the fact that the field corresponding to this subgroup is `Kᵘʳ(ᵖ⁻¹√ϖ)` (where `p` is `#k(v)` and not the characteristic) and that all units in `Kᵘʳ` have `p-1`-th roo...
105
leanexplore_declaration
leanexplore:380453
leanexplore_sqlite
leanexplore_declarations
instance : CharZero Kᵥ := ((algebraMap K Kᵥ).charZero_iff (algebraMap K Kᵥ).injective).mp inferInstance
64
leanexplore_declaration
leanexplore:380455
leanexplore_sqlite
leanexplore_declarations
instance : Finite (IsLocalRing.ResidueField 𝒪ᵥ) := inferInstance
391
leanexplore_declaration
leanexplore:380456
leanexplore_sqlite
leanexplore_declarations
instance finite_adicCompletionIntegers_quotient {I : Ideal 𝒪ᵥ} [I.IsPrime] [NeZero I] : Finite (𝒪ᵥ ⧸ I) := by obtain rfl := ((IsDiscreteValuationRing.iff_pid_with_one_nonzero_prime 𝒪ᵥ).mp inferInstance).2.unique ⟨NeZero.ne _, ‹I.IsPrime›⟩ ⟨IsDiscreteValuationRing.not_a_field 𝒪ᵥ, inferInstanceAs (�...
357
leanexplore_declaration
leanexplore:380457
leanexplore_sqlite
leanexplore_declarations
instance neZero_maximalIdeal_integralClosure : NeZero (𝔪 (IntegralClosure 𝒪ᵥ (Kᵥᵃˡᵍ))) := by have : 𝒪ᵥ ≠ ⊤ := by refine fun h ↦ IsDiscreteValuationRing.not_isField 𝒪ᵥ (h ▸ ?_) exact (Subring.topEquiv (R := Kᵥ)).isField (Semifield.toIsField Kᵥ) exact ⟨(Ideal.bot_lt_of_maximal (𝔪 _) (not_isField_...
215
leanexplore_declaration
leanexplore:380458
leanexplore_sqlite
leanexplore_declarations
/-- An arbitrary choice of an (arithmetic) frobenious element of a local galois group. -/ noncomputable def Field.AbsoluteGaloisGroup.adicArithFrob : Γ Kᵥ := arithFrobAt' 𝒪ᵥ (Γ Kᵥ) (𝔪 (IntegralClosure 𝒪ᵥ (Kᵥᵃˡᵍ)))
183
leanexplore_declaration
leanexplore:380459
leanexplore_sqlite
leanexplore_declarations
lemma Field.AbsoluteGaloisGroup.isArithFrobAt_adicArithFrob : IsArithFrobAt 𝒪ᵥ Frobᵥ (𝔪 (IntegralClosure 𝒪ᵥ (Kᵥᵃˡᵍ))) := .arithFrobAt' 𝒪ᵥ (Γ Kᵥ) (𝔪 (IntegralClosure 𝒪ᵥ (Kᵥᵃˡᵍ)))
434
leanexplore_declaration
leanexplore:380460
leanexplore_sqlite
leanexplore_declarations
/-- `ContinuousSMulDiscrete G M` means that the action `G × M → M` is continuous when `M` is given the discrete topology (See `continuousSMulDiscrete_iff`). This class is especially useful when `M` already has another topology and we cannot easily put the discrete topology on it. -/ class ContinuousSMulDiscrete (G M :...
501
leanexplore_declaration
leanexplore:380461
leanexplore_sqlite
leanexplore_declarations
lemma continuousSMulDiscrete_iff [TopologicalSpace M] [DiscreteTopology M] : ContinuousSMulDiscrete G M ↔ ContinuousSMul G M := by refine ⟨fun H ↦ ⟨continuous_discrete_rng.mpr fun y ↦ ?_⟩, fun H ↦ ⟨fun x y ↦ ?_⟩⟩ · convert_to IsOpen (⋃ x, { g : G | g • x = y } ×ˢ {x}) · ext; simp · exact isOpen_iUnion f...
163
leanexplore_declaration
leanexplore:380462
leanexplore_sqlite
leanexplore_declarations
instance (priority := low) [TopologicalSpace M] [DiscreteTopology M] [ContinuousSMulDiscrete G M] : ContinuousSMul G M := by rwa [← continuousSMulDiscrete_iff]
183
leanexplore_declaration
leanexplore:380463
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousSMulDiscrete.of_continuousSMul [TopologicalSpace M] [DiscreteTopology M] [ContinuousSMul G M] : ContinuousSMulDiscrete G M := by rwa [continuousSMulDiscrete_iff]
530
leanexplore_declaration
leanexplore:380464
leanexplore_sqlite
leanexplore_declarations
lemma continuousSMulDiscrete_iff_isOpen_stabilizer {G M : Type*} [TopologicalSpace G] [Group G] [ContinuousMul G] [MulAction G M] : ContinuousSMulDiscrete G M ↔ ∀ x : M, IsOpen (MulAction.stabilizer G x : Set G) := by refine ⟨fun H x ↦ ContinuousSMulDiscrete.isOpen_smul_eq _ _ _, fun H ↦ ⟨fun x y ↦ ?_⟩⟩ obt...
255
leanexplore_declaration
leanexplore:380465
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousSMulDiscrete.isOpen_stabilizer (G : Type*) {M : Type*} [TopologicalSpace G] [Group G] [MulAction G M] [ContinuousSMulDiscrete G M] (x : M) : IsOpen (MulAction.stabilizer G x : Set G) := ContinuousSMulDiscrete.isOpen_smul_eq _ _ _
183
leanexplore_declaration
leanexplore:380466
leanexplore_sqlite
leanexplore_declarations
instance {G H X Y : Type*} [Monoid G] [MulAction G X] [MulAction G Y] [SMul H Y] [SMulCommClass G H Y] : SMul H (X →[G] Y) where smul h f := ⟨h • f, by simp [smul_comm _ h]⟩
524
leanexplore_declaration
leanexplore:380467
leanexplore_sqlite
leanexplore_declarations
instance {G H X Y : Type*} [Monoid G] [MulAction G X] [Semiring Y] [MulSemiringAction G Y] [CommSemiring H] [Algebra H Y] [SMulCommClass G H Y] : Algebra H (X →[G] Y) where algebraMap := { toFun h := ⟨fun _ ↦ algebraMap H Y h, by simp⟩ map_one' := by ext; simp; rfl map_mul' _ _ := by ext; simp; rfl ...
445
leanexplore_declaration
leanexplore:380468
leanexplore_sqlite
leanexplore_declarations
/-- Composing `MulActionHom` on the left as an `AlgHom`. -/ def MulActionHom.compLeftAlgHom (G R Y : Type*) {X X' : Type*} [Monoid G] [MulAction G X] [MulAction G X'] [Semiring Y] [MulSemiringAction G Y] [CommSemiring R] [Algebra R Y] [SMulCommClass G R Y] (f : X →[G] X') : (X' →[G] Y) →ₐ[R] (X →[G] Y) wher...
394
leanexplore_declaration
leanexplore:380469
leanexplore_sqlite
leanexplore_declarations
/-- The coercion from `MulActionHom` to functions as an `AlgHom`. -/ def MulActionHom.toFunAlgHom {G H X Y : Type*} [Monoid G] [MulAction G X] [Semiring Y] [MulSemiringAction G Y] [CommSemiring H] [Algebra H Y] [SMulCommClass G H Y] : (X →[G] Y) →ₐ[H] (X → Y) where toFun f := f map_one' := rfl map_mul...
176
leanexplore_declaration
leanexplore:380470
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma MulAction.orbitRel.Quotient.mk_smul {G X : Type*} [Group G] [MulAction G X] (g : G) (x : X) : (⟦g • x⟧ : orbitRel.Quotient G X) = ⟦x⟧ := Quotient.sound ⟨g, rfl⟩
1,145
leanexplore_declaration
leanexplore:380471
leanexplore_sqlite
leanexplore_declarations
/-- Given a representative for each orbit of `X` under `G`, and for each `x : X` a choice of `σ` that sends `x` to the representative, we obtain a bijection between `G`-equivariant homs from `X` and the product of `Stab(x)`-fixed points over each orbit representative `x`. -/ @[simps] def MulAction.homEquivProdFixedPoin...
341
leanexplore_declaration
leanexplore:380472
leanexplore_sqlite
leanexplore_declarations
@[simps] def MulAction.homEquivProdFixedPoints {G X Y : Type*} [Group G] [MulAction G X] [MulAction G Y] (σ : X → G) (hσ : ∀ a b, orbitRel G X a b → σ a • a = σ b • b) : (X →[G] Y) ≃ Π i : Set.range (fun i ↦ σ i • i), fixedPoints (stabilizer G i.1) Y where toFun f i := ⟨f i, fun ⟨σ, hσ⟩ ↦ by simp [← map_smul,...
681
leanexplore_declaration
leanexplore:380474
leanexplore_sqlite
leanexplore_declarations
/-- Given a representative for each orbit of `X` under `G := Gal(L/K)`, and for each `x : X` a choice of `σ` that sends `x` to the representative, we obtain a `K`-algebra isomorphism between `G`-equivariant homs from `X` and the product of `Stab(x)`-fixed points over each orbit representative `x`. -/ def MulAction.etal...
331
leanexplore_declaration
leanexplore:380475
leanexplore_sqlite
leanexplore_declarations
lemma RingHom.exists_map_single_ne_zero {ι S : Type*} {R : ι → Type*} [_root_.Finite ι] [DecidableEq ι] [∀ i, Semiring (R i)] [Semiring S] [Nontrivial S] (f : (Π i, R i) →+* S) : ∃ i, f (Pi.single i 1) ≠ 0 := by cases nonempty_fintype ι by_contra! H simpa [H] using DFunLike.congr_arg f (Finset.univ_su...
361
leanexplore_declaration
leanexplore:380476
leanexplore_sqlite
leanexplore_declarations
/-- Given a map from a product of rings to a nontrivial ring, this is an arbitrary index whose corresponding component is not sent to zero. -/ noncomputable def RingHom.piIndex {ι S : Type*} {R : ι → Type*} [_root_.Finite ι] [DecidableEq ι] [∀ i, Semiring (R i)] [Semiring S] [Nontrivial S] (f : (Π i, R i) →+* S) : ...
258
leanexplore_declaration
leanexplore:380477
leanexplore_sqlite
leanexplore_declarations
lemma RingHom.single_piIndex_ne_zero {ι S : Type*} {R : ι → Type*} [_root_.Finite ι] [DecidableEq ι] [∀ i, Semiring (R i)] [Semiring S] [Nontrivial S] (f : (Π i, R i) →+* S) : f (Pi.single f.piIndex 1) ≠ 0 := f.exists_map_single_ne_zero.choose_spec
304
leanexplore_declaration
leanexplore:380478
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma RingHom.single_piIndex_one {ι S : Type*} {R : ι → Type*} [_root_.Finite ι] [DecidableEq ι] [∀ i, Semiring (R i)] [Semiring S] [IsDomain S] (f : (Π i, R i) →+* S) : f (Pi.single f.piIndex 1) = 1 := mul_left_injective₀ f.single_piIndex_ne_zero (by simp [← map_mul, ← Pi.single_mul])
347
leanexplore_declaration
leanexplore:380479
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma RingHom.single_piIndex {ι S : Type*} {R : ι → Type*} [_root_.Finite ι] [DecidableEq ι] [∀ i, Semiring (R i)] [Semiring S] [IsDomain S] (f : (Π i, R i) →+* S) (x : Π i, R i) : f (Pi.single f.piIndex (x _)) = f x := by conv_rhs => rw [← one_mul (f x), ← f.single_piIndex_one, ← f.map_mul] rw [← P...
272
leanexplore_declaration
leanexplore:380480
leanexplore_sqlite
leanexplore_declarations
/-- `Pi.single` as a `NonUnitalRingHom`. -/ noncomputable def NonUnitalRingHom.single {ι : Type*} (R : ι → Type*) [DecidableEq ι] [∀ i, NonUnitalNonAssocSemiring (R i)] (i) : R i →ₙ+* Π i, R i where __ := AddMonoidHom.single R i map_mul' _ _ := Pi.single_mul _ _ _
186
leanexplore_declaration
leanexplore:380481
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma NonUnitalRingHom.single_apply {ι : Type*} {R : ι → Type*} [DecidableEq ι] [∀ i, NonUnitalNonAssocSemiring (R i)] (i : ι) (x : R i) : single R i x = Pi.single i x := rfl
166
leanexplore_declaration
leanexplore:380482
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma RingHom.toNonUnitalRingHom_apply {R S : Type*} [NonAssocSemiring R] [NonAssocSemiring S] (f : R →+* S) (x : R) : f.toNonUnitalRingHom x = f x := rfl
426
leanexplore_declaration
leanexplore:380483
leanexplore_sqlite
leanexplore_declarations
/-- A map from a product of rings to a domain must factor through one of the components. This is the factor map. -/ @[simps!] noncomputable def RingHom.projPiIndex {ι S : Type*} {R : ι → Type*} [_root_.Finite ι] [DecidableEq ι] [∀ i, Semiring (R i)] [Semiring S] [IsDomain S] (f : (Π i, R i) →+* S) : R f.piIndex...
288
leanexplore_declaration
leanexplore:380484
leanexplore_sqlite
leanexplore_declarations
@[simps!] noncomputable def RingHom.projPiIndex {ι S : Type*} {R : ι → Type*} [_root_.Finite ι] [DecidableEq ι] [∀ i, Semiring (R i)] [Semiring S] [IsDomain S] (f : (Π i, R i) →+* S) : R f.piIndex →+* S where __ := f.toNonUnitalRingHom.comp (NonUnitalRingHom.single R f.piIndex)
780
leanexplore_declaration
leanexplore:380485
leanexplore_sqlite
leanexplore_declarations
/-- `Hom(∏ Rᵢ, S) ≃ ∐ Hom(Rᵢ, S)` when `S` is a domain. -/ @[simps! apply_fst apply_snd symm_apply_apply] noncomputable def Pi.ringHomEquivOfIsDomain {ι S : Type*} {R : ι → Type*} [Finite ι] [DecidableEq ι] [∀ i, Ring (R i)] [Ring S] [IsDomain S] : ((Π i, R i) →+* S) ≃ Σ i, R i →+* S where toFun f := ⟨f.piInd...
279
leanexplore_declaration
leanexplore:380486
leanexplore_sqlite
leanexplore_declarations
@[simps! apply_fst apply_snd symm_apply_apply] noncomputable def Pi.ringHomEquivOfIsDomain {ι S : Type*} {R : ι → Type*} [Finite ι] [DecidableEq ι] [∀ i, Ring (R i)] [Ring S] [IsDomain S] : ((Π i, R i) →+* S) ≃ Σ i, R i →+* S where toFun f := ⟨f.piIndex, f.projPiIndex⟩
950
leanexplore_declaration
leanexplore:380489
leanexplore_sqlite
leanexplore_declarations
/-- `Hom(∏ Rᵢ, S) ≃ ∐ Hom(Rᵢ, S)` when `S` is a domain. This is the `AlgHom` version of `Pi.ringHomEquivOfIsDomain`. -/ @[simps! apply_fst symm_apply_apply, simps! -isSimp apply_snd_apply] noncomputable def Pi.algHomEquivOfIsDomain {ι R₀ S : Type*} {R : ι → Type*} [Finite ι] [DecidableEq ι] [CommSemiring R₀] [∀...
415
leanexplore_declaration
leanexplore:380490
leanexplore_sqlite
leanexplore_declarations
@[simps! apply_fst symm_apply_apply, simps! -isSimp apply_snd_apply] noncomputable def Pi.algHomEquivOfIsDomain {ι R₀ S : Type*} {R : ι → Type*} [Finite ι] [DecidableEq ι] [CommSemiring R₀] [∀ i, Ring (R i)] [∀ i, Algebra R₀ (R i)] [Ring S] [Algebra R₀ S] [IsDomain S] : ((Π i, R i) →ₐ[R₀] S) ≃ Σ i, (R i →ₐ[...
1,030
leanexplore_declaration
leanexplore:380493
leanexplore_sqlite
leanexplore_declarations
/-- If `G` is a closed subgroup of the galois group `Γ := Gal(L/K)`, then `Γ/G` is in bijection with the `K`-linear embeddings of `Lᴳ` into `L`. Note that `G` is not necessarily normal here. -/ noncomputable def InfiniteGalois.quotientEquivFixedFieldEmb [IsGalois K L] (G : ClosedSubgroup (L ≃ₐ[K] L)) : ((L ≃ₐ[K] L...
348
leanexplore_declaration
leanexplore:380494
leanexplore_sqlite
leanexplore_declarations
instance {R S T G : Type*} [CommSemiring R] [Semiring S] [Semiring T] [Algebra R S] [Algebra R T] [Monoid G] [MulSemiringAction G T] [SMulCommClass G R T] : MulAction G (S →ₐ[R] T) where smul g := (MulSemiringAction.toAlgHom _ _ g).comp one_smul f := by ext x; exact one_smul G (f x) mul_smul g g' f := by ext ...
401
leanexplore_declaration
leanexplore:380495
leanexplore_sqlite
leanexplore_declarations
/-- Evaluating a `MulActionHom` is an `AlgHom`, bundled as a `MulActionHom`. -/ def MulActionHom.evalAlgHom (G R X Y : Type*) [CommSemiring R] [Semiring Y] [Algebra R Y] [Monoid G] [MulAction G X] [MulSemiringAction G Y] [SMulCommClass G R Y] : X →[G] ((X →[G] Y) →ₐ[R] Y) where toFun x := (Pi.evalAlgHom _ _ x...
230
leanexplore_declaration
leanexplore:380496
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma MulActionHom.evalAlgHom_apply {G R X Y : Type*} [CommSemiring R] [Semiring Y] [Algebra R Y] [Monoid G] [MulAction G X] [MulSemiringAction G Y] [SMulCommClass G R Y] (x f) : evalAlgHom G R X Y x f = f x := rfl
1,315
leanexplore_declaration
leanexplore:380497
leanexplore_sqlite
leanexplore_declarations
/-- Given a representative for each orbit of `X` under `G`, and for each `x : X` a choice of `σ` that sends `x` to the representative, we obtain a bijection between `X` and `∐ G/stab(x)` where the disjoint union runs through the representatives. -/ @[simps] def MulAction.sigmaRangeQuotientStabilizer {G X : Type*} [...
233
leanexplore_declaration
leanexplore:380498
leanexplore_sqlite
leanexplore_declarations
@[simps] def MulAction.sigmaRangeQuotientStabilizer {G X : Type*} [Group G] [MulAction G X] (σ : X → G) (hσ : ∀ a b, orbitRel G X a b → σ a • a = σ b • b) : (Σ i : Set.range (fun i ↦ σ i • i), G ⧸ stabilizer G i.1) ≃ X :=
1,036
leanexplore_declaration
leanexplore:380501
leanexplore_sqlite
leanexplore_declarations
lemma InfiniteGalois.evalAlgHom_bijective [IsGalois K L] [Finite X] [ContinuousSMulDiscrete (L ≃ₐ[K] L) X] : Function.Bijective (MulActionHom.evalAlgHom (L ≃ₐ[K] L) K X L) := by classical choose φ hφ using Quotient.mk_surjective (s := orbitRel (L ≃ₐ[K] L) X) choose σ hσ using fun x ↦ Quotient.eq''.mp (hφ ...
556
leanexplore_declaration
leanexplore:380502
leanexplore_sqlite
leanexplore_declarations
instance [IsGalois K L] [Finite X] : Algebra.FormallyEtale K (X →[L ≃ₐ[K] L] L) := by classical choose φ hφ using Quotient.mk_surjective (s := orbitRel (L ≃ₐ[K] L) X) choose σ hσ using fun x ↦ Quotient.eq''.mp (hφ ⟦x⟧) replace hσ : ∀ a b, orbitRel (L ≃ₐ[K] L) X a b → σ a • a = σ b • b := fun a b e ↦ ((hσ a)...
818
leanexplore_declaration
leanexplore:380503
leanexplore_sqlite
leanexplore_declarations
instance [IsGalois K L] [Finite X] [ContinuousSMulDiscrete (L ≃ₐ[K] L) X] : Module.Finite K (X →[L ≃ₐ[K] L] L) := by classical choose φ hφ using Quotient.mk_surjective (s := orbitRel (L ≃ₐ[K] L) X) choose σ hσ using fun x ↦ Quotient.eq''.mp (hφ ⟦x⟧) replace hσ : ∀ a b, orbitRel (L ≃ₐ[K] L) X a b → σ a • a =...
211
leanexplore_declaration
leanexplore:380504
leanexplore_sqlite
leanexplore_declarations
instance [IsGalois K L] [Finite X] [ContinuousSMulDiscrete (L ≃ₐ[K] L) X] : Algebra.Etale K (X →[L ≃ₐ[K] L] L) where finitePresentation := by rw [← Algebra.FinitePresentation.of_finiteType]; infer_instance
558
leanexplore_declaration
leanexplore:380505
leanexplore_sqlite
leanexplore_declarations
/-- Evaluating a `AlgHom` is an `MulActionHom`, bundled as a `AlgHom`. -/ def AlgHom.evalMulActionHom (G R A Y : Type*) [CommSemiring R] [Semiring Y] [Algebra R Y] [Monoid G] [Semiring A] [Algebra R A] [MulSemiringAction G Y] [SMulCommClass G R Y] : A →ₐ[R] ((A →ₐ[R] Y) →[G] Y) where toFun a := ⟨fun f ↦ f a, ...
803
leanexplore_declaration
leanexplore:380506
leanexplore_sqlite
leanexplore_declarations
instance [Module.Finite K A] : ContinuousSMulDiscrete (L ≃ₐ[K] L) (A →ₐ[K] L) := by refine continuousSMulDiscrete_iff_isOpen_stabilizer.mpr fun f ↦ ?_ have : FiniteDimensional K f.range := .of_surjective f.rangeRestrict.toLinearMap f.rangeRestrict_surjective let E := IntermediateField.adjoin K (f.range : Set ...
2,117
leanexplore_declaration
leanexplore:380507
leanexplore_sqlite
leanexplore_declarations
lemma InfiniteGalois.evalMulActionHom_bijective [Algebra.Etale K A] [IsGalois K L] (H : ∀ 𝔪 : Ideal A, 𝔪.IsMaximal → Nonempty (A ⧸ 𝔪 →ₐ[K] L)) : Function.Bijective (AlgHom.evalMulActionHom (L ≃ₐ[K] L) K A L) := by let emb (𝔪 : Ideal A) [𝔪.IsMaximal] := (H 𝔪 ‹_›).some have := Algebra.FormallyUnramified...
268
leanexplore_declaration
leanexplore:380508
leanexplore_sqlite
leanexplore_declarations
lemma InfiniteGalois.evalMulActionHom_bijective_of_isSepClosed [Algebra.Etale K A] [IsGalois K L] [IsSepClosed L] : Function.Bijective (AlgHom.evalMulActionHom (L ≃ₐ[K] L) K A L) := InfiniteGalois.evalMulActionHom_bijective _ _ _ fun _ _ ↦ ⟨IsSepClosed.lift⟩
2,282
leanexplore_declaration
leanexplore:380509
leanexplore_sqlite
leanexplore_declarations
noncomputable instance {A : Type*} [CommRing A] [Bialgebra K A] : Monoid (A →ₐ[K] L) where mul f g := .comp (Algebra.TensorProduct.lift f g (fun _ _ ↦ .all _ _)) (Bialgebra.comulAlgHom K A) mul_assoc a b c := by ext x convert congr(Algebra.TensorProduct.lift a (Algebra.TensorProduct.lift b c (fun _ _ ↦ .all...
554
leanexplore_declaration
leanexplore:380510
leanexplore_sqlite
leanexplore_declarations
noncomputable instance {A : Type*} [CommRing A] [Bialgebra K A] : MulDistribMulAction (L ≃ₐ[K] L) (A →ₐ[K] L) where smul_mul r f g := by ext x change r (Algebra.TensorProduct.lift _ _ (fun _ _ ↦ .all _ _) (Coalgebra.comul x)) = Algebra.TensorProduct.lift _ _ (fun _ _ ↦ .all _ _) (Coalgebra.comul x) ...
1,486
leanexplore_declaration
leanexplore:380511
leanexplore_sqlite
leanexplore_declarations
/-- Let `G` be a finite group acting on `S`, and `R` be the fixed subring. If `Q` is a prime of `S` with finite residue field, then there exists a Frobenius element `σ : G` at `Q`. -/ lemma exists_of_isInvariant_of_profinite [Q.IsMaximal] [Finite (R ⧸ Q.under R)] : ∃ σ : G, IsArithFrobAt R σ Q := by letI : Topolo...
1,141
leanexplore_declaration
leanexplore:380512
leanexplore_sqlite
leanexplore_declarations
lemma exists_primesOver_isConj_of_profinite (P : Ideal R) [Finite (R ⧸ P)] [P.IsPrime] : ∃ σ : Ideal.primesOver P S → G, (∀ Q, IsArithFrobAt R (σ Q) Q.1) ∧ (∀ Q₁ Q₂, IsConj (σ Q₁) (σ Q₂)) := by letI : TopologicalSpace S := ⊥ letI : DiscreteTopology S := ⟨rfl⟩ have hP : P.IsMaximal := Ideal.Quotient.maxi...
450
leanexplore_declaration
leanexplore:380513
leanexplore_sqlite
leanexplore_declarations
/-- Let `G` be a finite group acting on `S`, `R` be the fixed subring, and `Q` be a prime of `S` with finite residue field. This is an arbitrary choice of a Frobenius over `Q`. It is chosen so that the Frobenius elements of `Q₁` and `Q₂` are conjugate if they lie over the same prime. -/ noncomputable def _root_.arithFr...
201
leanexplore_declaration
leanexplore:380514
leanexplore_sqlite
leanexplore_declarations
protected lemma arithFrobAt' [Q.IsPrime] [Finite (R ⧸ Q.under R)] : IsArithFrobAt R (arithFrobAt' R G Q) Q := (exists_primesOver_isConj_of_profinite S G (Q.under R)).choose_spec.1 ⟨Q, ‹_›, ⟨rfl⟩⟩
518
leanexplore_declaration
leanexplore:380515
leanexplore_sqlite
leanexplore_declarations
lemma _root_.isConj_arithFrobAt' [Q.IsPrime] [Finite (R ⧸ Q.under R)] (Q' : Ideal S) [Q'.IsPrime] [Finite (R ⧸ Q'.under R)] (H : Q.under R = Q'.under R) : IsConj (arithFrobAt' R G Q) (arithFrobAt' R G Q') := by obtain ⟨P, hP, h₁, h₂, h₃⟩ : ∃ P : Ideal R, P.IsPrime ∧ P = Q.under R ∧ P = Q'.under R ∧ Fini...
179
leanexplore_declaration
leanexplore:380516
leanexplore_sqlite
leanexplore_declarations
/-- `GaloisRep K A M` are the `A`-linear galois reps of a field `K` on the `A`-module `M`. -/ def GaloisRep := letI := moduleTopology A (Module.End A M) Γ K →ₜ* Module.End A M
154
leanexplore_declaration
leanexplore:380517
leanexplore_sqlite
leanexplore_declarations
noncomputable instance : FunLike (GaloisRep K A M) (Γ K) (Module.End A M) := letI := moduleTopology A (Module.End A M) ContinuousMonoidHom.instFunLike
154
leanexplore_declaration
leanexplore:380518
leanexplore_sqlite
leanexplore_declarations
instance : MonoidHomClass (GaloisRep K A M) (Γ K) (Module.End A M) := letI := moduleTopology A (Module.End A M) ContinuousMonoidHom.instMonoidHomClass
157
leanexplore_declaration
leanexplore:380519
leanexplore_sqlite
leanexplore_declarations
@[ext] lemma GaloisRep.ext {ρ ρ' : GaloisRep K A M} (H : ∀ σ, ρ σ = ρ' σ) : ρ = ρ' := letI := moduleTopology A (Module.End A M) ContinuousMonoidHom.ext H
85
leanexplore_declaration
leanexplore:380520
leanexplore_sqlite
leanexplore_declarations
@[ext] lemma GaloisRep.ext {ρ ρ' : GaloisRep K A M} (H : ∀ σ, ρ σ = ρ' σ) : ρ = ρ' :=
170
leanexplore_declaration
leanexplore:380521
leanexplore_sqlite
leanexplore_declarations
/-- The kernel of a galois rep. -/ noncomputable nonrec abbrev GaloisRep.ker (ρ : GaloisRep K A M) : Subgroup (Γ K) := letI := moduleTopology A (Module.End A M) ρ.ker
319
leanexplore_declaration
leanexplore:380522
leanexplore_sqlite
leanexplore_declarations
/-- A field extension induces a map between galois reps. Note that this relies on an arbitrarily chosen embedding of the algebraic closures. -/ noncomputable def GaloisRep.map (ρ : GaloisRep K A M) (f : K →+* L) : GaloisRep L A M := letI := moduleTopology A (Module.End A M) ρ.comp (Field.absoluteGaloisGroup.map f)
154
leanexplore_declaration
leanexplore:380523
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma GaloisRep.ker_map (ρ : GaloisRep K A M) (f : K →+* L) : (ρ.map f).ker = ρ.ker.comap (Field.absoluteGaloisGroup.map f).toMonoidHom := rfl
163
leanexplore_declaration
leanexplore:380524
leanexplore_sqlite
leanexplore_declarations
/-- A framed galois rep is a galois rep with a distinguished basis. We implement it by via a galois rep on `Aⁿ`. -/ abbrev FramedGaloisRep := GaloisRep K A (n → A)
280
leanexplore_declaration
leanexplore:380525
leanexplore_sqlite
leanexplore_declarations
/-- A field extension induces a map between framed galois reps. Note that this relies on an arbitrarily chosen embedding of the algebraic closures. -/ noncomputable abbrev FramedGaloisRep.map (ρ : FramedGaloisRep K A n) (f : K →+* L) : FramedGaloisRep L A n := GaloisRep.map ρ f
413
leanexplore_declaration
leanexplore:380526
leanexplore_sqlite
leanexplore_declarations
/-- We can conjugate a galois rep by a linear isomorphism on the space. -/ noncomputable def GaloisRep.conj (ρ : GaloisRep K A M) (e : M ≃ₗ[A] N) : GaloisRep K A N := letI := moduleTopology A (Module.End A M) letI := moduleTopology A (Module.End A N) let e' : Module.End A M ≃A[A] Module.End A N := .ofIsModule...
113
leanexplore_declaration
leanexplore:380527
leanexplore_sqlite
leanexplore_declarations
lemma GaloisRep.conj_apply (ρ : GaloisRep K A M) (e : M ≃ₗ[A] N) (σ : Γ K) : ρ.conj e σ = e.conj (ρ σ) := rfl
143
leanexplore_declaration
leanexplore:380528
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma GaloisRep.conj_apply_apply (ρ : GaloisRep K A M) (e : M ≃ₗ[A] N) (σ : Γ K) (x : N) : ρ.conj e σ x = e (ρ σ (e.symm x)) := rfl
133
leanexplore_declaration
leanexplore:380529
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma GaloisRep.map_conj (ρ : GaloisRep K A M) (e : M ≃ₗ[A] N) (f : K →+* L) : (ρ.conj e).map f = (ρ.map f).conj e := rfl
212
leanexplore_declaration
leanexplore:380530
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma GaloisRep.ker_conj (ρ : GaloisRep K A M) (e : M ≃ₗ[A] N) : (ρ.conj e).ker = ρ.ker := by letI := moduleTopology A (Module.End A M) letI := moduleTopology A (Module.End A N) ext; simp [conj]
266
leanexplore_declaration
leanexplore:380531
leanexplore_sqlite
leanexplore_declarations
/-- Equivalent modules have equivalent set of galois reps. -/ noncomputable def GaloisRep.conjEquiv (e : M ≃ₗ[A] N) : GaloisRep K A M ≃ GaloisRep K A N where toFun := (conj · e) invFun := (conj · e.symm) left_inv _ := by ext; simp right_inv _ := by ext; simp
240
leanexplore_declaration
leanexplore:380532
leanexplore_sqlite
leanexplore_declarations
/-- Given a basis, we may frame a galois rep into a framed galois rep. -/ noncomputable def GaloisRep.frame (ρ : GaloisRep K A M) (b : Module.Basis n A M) : FramedGaloisRep K A n := ρ.conj (b.repr ≪≫ₗ Finsupp.linearEquivFunOnFinite A A n)
271
leanexplore_declaration
leanexplore:380533
leanexplore_sqlite
leanexplore_declarations
/-- Given a basis of `M`, we may realize a framed galois rep as a galois rep on `M`. -/ noncomputable def FramedGaloisRep.unframe (ρ : FramedGaloisRep K A n) (b : Module.Basis n A M) : GaloisRep K A M := ρ.conj (b.repr ≪≫ₗ Finsupp.linearEquivFunOnFinite A A n).symm
167
leanexplore_declaration
leanexplore:380534
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma GaloisRep.unframe_frame (ρ : GaloisRep K A M) (b : Module.Basis n A M) : (ρ.frame b).unframe b = ρ := by ext; simp [frame, FramedGaloisRep.unframe]
173
leanexplore_declaration
leanexplore:380535
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma FramedGaloisRep.unframe_frame (ρ : FramedGaloisRep K A n) (b : Module.Basis n A M) : (ρ.unframe b).frame b = ρ := by ext; simp [unframe, GaloisRep.frame]
681
leanexplore_declaration
leanexplore:380536
leanexplore_sqlite
leanexplore_declarations
/-- `A`-linear framed galois reps are equivalent to continuous homomorphisms into `GLₙ(A)`. -/ noncomputable def FramedGaloisRep.GL : FramedGaloisRep K A n ≃ (Γ K →ₜ* GL n A) := letI := moduleTopology A (Module.End A (n → A)) letI : ContinuousMul _ := ⟨IsModuleTopology.continuous_mul_of_finite A (Module.End A (n → ...
108
leanexplore_declaration
leanexplore:380537
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma FramedGaloisRep.GL_apply (ρ : FramedGaloisRep K A n) (σ) : (ρ.GL σ).1 = (ρ σ).toMatrix' := rfl
177
leanexplore_declaration
leanexplore:380538
leanexplore_sqlite
leanexplore_declarations
/-- Make an `A`-linear framed galois reps from a continuous hom into `GLₙ(A)`. -/ noncomputable abbrev FramedGaloisRep.ofGL := FramedGaloisRep.GL (K := K) (A := A) (n := n).symm
103
leanexplore_declaration
leanexplore:380539
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma FramedGaloisRep.GL_symm_apply (ρ : Γ K →ₜ* GL n A) (σ) : GL.symm ρ σ = (ρ σ).toLin := rfl
97
leanexplore_declaration
leanexplore:380540
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma FramedGaloisRep.ofGL_apply (ρ : Γ K →ₜ* GL n A) (σ) : ofGL ρ σ = (ρ σ).toLin := rfl
681
leanexplore_declaration
leanexplore:380541
leanexplore_sqlite
leanexplore_declarations
/-- `1`-dimensional framed galois reps are equivalent to (continuous) characters. -/ noncomputable def FramedGaloisRep.equivChar {n : Type*} [Unique n] : FramedGaloisRep K A n ≃ (Γ K →ₜ* A) := letI := moduleTopology A (Module.End A (n → A)) letI : ContinuousMul _ := ⟨IsModuleTopology.continuous_mul_of_finite A ...
233
leanexplore_declaration
leanexplore:380542
leanexplore_sqlite
leanexplore_declarations
/-- The determinant of a galois rep. -/ noncomputable def GaloisRep.det [IsTopologicalRing A] (ρ : GaloisRep K A M) : Γ K →ₜ* A := letI := moduleTopology A (Module.End A M) .comp ⟨LinearMap.det, IsModuleTopology.continuous_det⟩ ρ
1,016
leanexplore_declaration
leanexplore:380543
leanexplore_sqlite
leanexplore_declarations
/-- Make a `A`-linear galois rep on `M` into a `B`-linear rep on `B ⊗ M`. -/ noncomputable def GaloisRep.baseChange [IsTopologicalRing B] [Algebra A B] [ContinuousSMul A B] [Module.Finite A M] [Module.Free A M] (ρ : GaloisRep K A M) : GaloisRep K B (B ⊗[A] M) := letI := moduleTopology A (Module.End A M) let...