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
326
leanexplore_declaration
leanexplore:381259
leanexplore_sqlite
leanexplore_declarations
/-- The product of two continuous semi-algebra isomorphisms on the same domain. -/ def prod {C : Type*} [Semiring C] [Algebra S C] [TopologicalSpace C] (f : A →SA[φ] B) (g : A →SA[φ] C) : A →SA[φ] B × C where __ := f.toSemialgHom.prod g.toSemialgHom continuous_toFun := f.continuous_toFun.prodMk g.continuous...
399
leanexplore_declaration
leanexplore:381260
leanexplore_sqlite
leanexplore_declarations
/-- the product of two continuous semi-algebra isomorphisms on different domains. -/ def prodMap {C D : Type*} [Semiring C] [Semiring D] [Algebra S C] [Algebra S D] [TopologicalSpace C] [TopologicalSpace D] [Algebra R B] (f : A →SA[φ] C) (g : B →SA[φ] D) : A × B →SA[φ] C × D where __ := SemialgHom.prodMap f g...
566
leanexplore_declaration
leanexplore:381261
leanexplore_sqlite
leanexplore_declarations
/-- Produces an `S'`-linear continuous algebra isomorphism from a continuous algebra isomorphism `f : A ≃A[S] B` which also has scalars `S'`. -/ def changeScalars {A B : Type*} (S' : Type*) {S : Type*} [CommSemiring A] [CommSemiring B] [CommSemiring S'] [CommSemiring S] [Algebra S A] [Algebra S B] [Algebra S' A...
289
leanexplore_declaration
leanexplore:381262
leanexplore_sqlite
leanexplore_declarations
def ContinuousAddEquiv.toIntContinuousLinearEquiv {M M₂ : Type*} [AddCommGroup M] [TopologicalSpace M] [AddCommGroup M₂] [TopologicalSpace M₂] (e : M ≃ₜ+ M₂) : M ≃L[ℤ] M₂ where __ := e.toIntLinearEquiv continuous_toFun := e.continuous continuous_invFun := e.continuous_invFun
450
leanexplore_declaration
leanexplore:381263
leanexplore_sqlite
leanexplore_declarations
def ContinuousAddEquiv.quotientPi {ι : Type*} {G : ι → Type*} [(i : ι) → AddCommGroup (G i)] [(i : ι) → TopologicalSpace (G i)] [(i : ι) → IsTopologicalAddGroup (G i)] [Fintype ι] (p : (i : ι) → AddSubgroup (G i)) [DecidableEq ι] : ((i : ι) → G i) ⧸ AddSubgroup.pi (_root_.Set.univ) p ≃ₜ+ ((i : ι) → G i ...
587
leanexplore_declaration
leanexplore:381264
leanexplore_sqlite
leanexplore_declarations
/-- A family indexed by a type with a unique element is `ContinuousMulEquiv` to the element at the single index. -/ @[to_additive /-- A family indexed by a type with a unique element is `ContinuousAddEquiv` to the element at the single index. -/] def ContinuousMulEquiv.piUnique {ι : Type*} (M : ι → Type*) [(j : ι) → Mu...
332
leanexplore_declaration
leanexplore:381265
leanexplore_sqlite
leanexplore_declarations
@[to_additive /-- A family indexed by a type with a unique element is `ContinuousAddEquiv` to the element at the single index. -/] def ContinuousMulEquiv.piUnique {ι : Type*} (M : ι → Type*) [(j : ι) → Mul (M j)] [(j : ι) → TopologicalSpace (M j)] [Unique ι] : ((j : ι) → M j) ≃ₜ* M default where __ := MulEqui...
630
leanexplore_declaration
leanexplore:381266
leanexplore_sqlite
leanexplore_declarations
/-- Splits the indices of `∀ (i : ι), Y i` along the predicate `p`. This is `Equiv.piEquivPiSubtypeProd` as a `ContinuousMulEquiv`. -/ @[to_additive piEquivPiSubtypeProd /-- Splits the indices of `∀ (i : ι), Y i` along the predicate `p`. This is `Equiv.piEquivPiSubtypeProd` as a `ContinuousAddEquiv`. -/] def Continuous...
430
leanexplore_declaration
leanexplore:381267
leanexplore_sqlite
leanexplore_declarations
@[to_additive piEquivPiSubtypeProd /-- Splits the indices of `∀ (i : ι), Y i` along the predicate `p`. This is `Equiv.piEquivPiSubtypeProd` as a `ContinuousAddEquiv`. -/] def ContinuousMulEquiv.piEquivPiSubtypeProd {ι : Type*} (p : ι → Prop) (Y : ι → Type*) [(i : ι) → TopologicalSpace (Y i)] [(i : ι) → Mul (Y i)] [...
401
leanexplore_declaration
leanexplore:381268
leanexplore_sqlite
leanexplore_declarations
/-- Any `ContinuousMulEquiv` induces a `ContinuousMulEquiv` on units. -/ def ContinuousMulEquiv.units_map {M N : Type*} [TopologicalSpace M] [TopologicalSpace N] [Monoid M] [Monoid N] (f : M ≃ₜ* N) : Mˣ ≃ₜ* Nˣ := { __ := Units.mapEquiv f continuous_toFun := by apply Continuous.units_map _ f.continuous_toFun ...
195
leanexplore_declaration
leanexplore:381269
leanexplore_sqlite
leanexplore_declarations
@[to_additive] theorem ContinuousMulEquiv.coe_toHomeomorph {M N : Type*} [TopologicalSpace M] [TopologicalSpace N] [CommMonoid M] [CommMonoid N] (f : M ≃ₜ* N) : f.toHomeomorph = ⇑f := rfl
660
leanexplore_declaration
leanexplore:381271
leanexplore_sqlite
leanexplore_declarations
@[to_additive] def QuotientGroup.continuousMulEquiv {G H : Type*} [Group G] (N : Subgroup G) [N.Normal] [Group H] (M : Subgroup H) [M.Normal] [TopologicalSpace G] [TopologicalSpace H] (e : G ≃ₜ* H) (h : Subgroup.map e N = M) : G ⧸ N ≃ₜ* H ⧸ M where __ := QuotientGroup.congr N M e h continuous_toFun ...
300
leanexplore_declaration
leanexplore:381272
leanexplore_sqlite
leanexplore_declarations
@[to_additive] def QuotientGroup.continuousMulEquiv {G H : Type*} [Group G] (N : Subgroup G) [N.Normal] [Group H] (M : Subgroup H) [M.Normal] [TopologicalSpace G] [TopologicalSpace H] (e : G ≃ₜ* H) (h : Subgroup.map e N = M) : G ⧸ N ≃ₜ* H ⧸ M where __ := QuotientGroup.congr N M e h
310
leanexplore_declaration
leanexplore:381273
leanexplore_sqlite
leanexplore_declarations
theorem QuotientGroup.isOpenQuotientMap_rightrel_mk {G : Type*} [Group G] [TopologicalSpace G] [ContinuousMul G] (H : Subgroup G) : IsOpenQuotientMap (Quot.mk ⇑(QuotientGroup.rightRel H)) := {surjective := Quot.mk_surjective, continuous := continuous_quot_mk, isOpenMap := isOpenMap_quotient_mk'_mul}
231
leanexplore_declaration
leanexplore:381274
leanexplore_sqlite
leanexplore_declarations
lemma Submonoid.units_isOpen {M : Type*} [TopologicalSpace M] [Monoid M] {U : Submonoid M} (hU : IsOpen (U : Set M)) : IsOpen (U.units : Set Mˣ) := (hU.preimage Units.continuous_val).inter (hU.preimage Units.continuous_coe_inv)
1,436
leanexplore_declaration
leanexplore:381275
leanexplore_sqlite
leanexplore_declarations
/-- Let `f : α → β` be a function on index types. A family of `R b`-linear homeomorphisms, indexed by `b : β`, between the product over the fiber of `b` under `f` given as `∀ (σ : { a : α // f a = b }) → γ₁ σ.1) ≃ₗ[R b] γ₂ b` lifts to an equivalence over the products `∀ a, γ₁ a ≃ₗ[∀ b, R b] ∀ b, γ₂ b` with product scal...
861
leanexplore_declaration
leanexplore:381276
leanexplore_sqlite
leanexplore_declarations
/-- Given `φ : α → β → Type*` and `R : α → Type*` such that `φ a b` is an `R a` module for all `a b`, this is the continuous linear equivalence between `∀ a b, φ a b` and `∀ b a, φ a b` with product scalars. This is `Equiv.piComm` as a product-scalar `ContinuousLinearEquiv`. -/ def ContinuousLinearEquiv.piScalarPiComm ...
275
leanexplore_declaration
leanexplore:381277
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousLinearEquiv.toContinuousAddEquiv_trans {R : Type*} {E : Type*} [Semiring R] [AddCommMonoid E] [Module R E] [TopologicalSpace E] {e f : E ≃L[R] E} : (e.trans f).toContinuousAddEquiv = e.toContinuousAddEquiv.trans f.toContinuousAddEquiv := rfl
322
leanexplore_declaration
leanexplore:381278
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousLinearEquiv.toMatrix_isUnit_det {F : Type*} [CommRing F] {ι : Type*} [Fintype ι] [DecidableEq ι] {V : Type*} [AddCommGroup V] [Module F V] [TopologicalSpace V] (b : Module.Basis ι F V) (ρ : V ≃L[F] V) : IsUnit ((ρ.toLinearMap.toMatrix b b).det) := LinearEquiv.isUnit_det ρ.toLinearEquiv b...
365
leanexplore_declaration
leanexplore:381279
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousLinearEquiv.toMatrix_isUnit {F : Type*} [CommRing F] {ι : Type*} [Fintype ι] [DecidableEq ι] {V : Type*} [AddCommGroup V] [Module F V] [TopologicalSpace V] (b : Module.Basis ι F V) (ρ : V ≃L[F] V) : IsUnit (ρ.toLinearMap.toMatrix b b) := (Matrix.isUnit_iff_isUnit_det (ρ.toLinearMap.toM...
355
leanexplore_declaration
leanexplore:381280
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousLinearEquiv.toMatrix_det_ne_zero {F : Type*} [CommRing F] [Nontrivial F] {ι : Type*} [Fintype ι] [DecidableEq ι] {V : Type*} [AddCommGroup V] [Module F V] [TopologicalSpace V] (b : Module.Basis ι F V) (ρ : V ≃L[F] V) : (ρ.toLinearMap.toMatrix b b).det ≠ 0 := IsUnit.ne_zero (ContinuousL...
546
leanexplore_declaration
leanexplore:381281
leanexplore_sqlite
leanexplore_declarations
/-- Given `M : Matrix ι ι F`, `b : Module.Basis ι F V` and `h : M.det ≠ 0`, this is the continuous linear equivalence arising from `Matrix.toLinearEquiv b M (Ne.isUnit h)` -/ noncomputable def toContinuousLinearEquiv (M : Matrix ι ι F) (b : Module.Basis ι F V) (h : IsUnit M.det) : V ≃L[F] V := let e := Matrix...
180
leanexplore_declaration
leanexplore:381282
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma toContinousLinearEquiv_apply (M : Matrix ι ι F) (b : Module.Basis ι F V) (h : IsUnit M.det) (x : V) : (M.toContinuousLinearEquiv b h) x = toLin b b M x := rfl
177
leanexplore_declaration
leanexplore:381283
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma toContinuousLinearEquiv_toLin_coe (M : Matrix ι ι F) (b : Module.Basis ι F V) (h : IsUnit M.det) : ⇑(M.toContinuousLinearEquiv b h) = ⇑(toLin b b M) := rfl
206
leanexplore_declaration
leanexplore:381284
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma toContinuousLinearEquiv_toLinearEquiv (b : Module.Basis ι F V) (M : Matrix ι ι F) (h : IsUnit M.det) : (M.toContinuousLinearEquiv b h).toLinearEquiv = Matrix.toLinearEquiv b M h := rfl
237
leanexplore_declaration
leanexplore:381285
leanexplore_sqlite
leanexplore_declarations
lemma toContinousLinearEquiv_toMatrix (b : Module.Basis ι F V) (M : Matrix ι ι F) (h : IsUnit M.det) : (M.toContinuousLinearEquiv b h ).toLinearMap.toMatrix b b = M := (LinearEquiv.eq_symm_apply (LinearMap.toMatrix b b)).mp rfl
427
leanexplore_declaration
leanexplore:381286
leanexplore_sqlite
leanexplore_declarations
lemma toContinousLinearEquiv_mul (b : Module.Basis ι F V) (A : Matrix ι ι F) (hA : IsUnit A.det) (B : Matrix ι ι F) (hB : IsUnit B.det) : have hAB : IsUnit (A * B).det := by rw[Matrix.det_mul]; exact IsUnit.mul hA hB (A * B).toContinuousLinearEquiv b hAB = (B.toContinuousLinearEquiv b hB).trans (A.t...
243
leanexplore_declaration
leanexplore:381287
leanexplore_sqlite
leanexplore_declarations
lemma ContinuousLinearEquiv.toMatrix_toContinousLinearEquiv (b : Module.Basis ι F V) (ρ : V ≃L[F] V) : (ρ.toLinearEquiv.toMatrix b b).toContinuousLinearEquiv b (ContinuousLinearEquiv.toMatrix_isUnit_det b ρ ) = ρ := by ext simp
275
leanexplore_declaration
leanexplore:381288
leanexplore_sqlite
leanexplore_declarations
theorem ContinuousLinearEquiv.toContinuousAddEquiv_apply {R : Type*} {M N : Type*} [Semiring R] [TopologicalSpace M] [TopologicalSpace N] [AddCommMonoid M] [AddCommMonoid N] [Module R M] [Module R N] (f : M ≃L[R] N) (m : M) : f.toContinuousAddEquiv m = f m := rfl
429
leanexplore_declaration
leanexplore:381289
leanexplore_sqlite
leanexplore_declarations
theorem Basis.toMatrix_continuous {ι R M : Type*} [AddCommGroup M] [Finite ι] [TopologicalSpace M] [NontriviallyNormedField R] [Module R M] [IsTopologicalAddGroup M] [ContinuousSMul R M] [CompleteSpace R] [T2Space M] [FiniteDimensional R M] (B : Module.Basis ι R M) : Continuous fun (v : ι → M) => B.toMa...
219
leanexplore_declaration
leanexplore:381290
leanexplore_sqlite
leanexplore_declarations
theorem ModuleTopology.isModuleTopology (R : Type*) [TopologicalSpace R] (S : Type*) [Add S] [SMul R S] : @IsModuleTopology R _ S _ _ (moduleTopology R S) where __ := moduleTopology R S eq_moduleTopology' := rfl
228
leanexplore_declaration
leanexplore:381291
leanexplore_sqlite
leanexplore_declarations
lemma ModuleTopology.iff (R M : Type*) [Add M] [SMul R M] [TopologicalSpace R] [τ : TopologicalSpace M] : IsModuleTopology R M ↔ τ = moduleTopology R M := ⟨fun m ↦ m.eq_moduleTopology', fun a ↦ { eq_moduleTopology' := a }⟩
882
leanexplore_declaration
leanexplore:381292
leanexplore_sqlite
leanexplore_declarations
theorem Module.continuous_bilinear_of_finite_free [IsTopologicalSemiring R] [Module.Finite R A] [Module.Free R A] (bil : A →ₗ[R] B →ₗ[R] C) : Continuous (fun ab ↦ bil ab.1 ab.2 : (A × B → C)) := by let ι := Module.Free.ChooseBasisIndex R A let hι : Fintype ι := Module.Free.ChooseBasisIndex.fintype R A let...
334
leanexplore_declaration
leanexplore:381293
leanexplore_sqlite
leanexplore_declarations
@[continuity, fun_prop] theorem continuous_mul' (R : Type*) [CommRing R] [TopologicalSpace R] [IsTopologicalRing R] (D : Type*) [Ring D] [Algebra R D] [Module.Finite R D] [TopologicalSpace D] [IsModuleTopology R D] : Continuous (fun ab ↦ ab.1 * ab.2 : D × D → D) := continuous_bilinear_of_finite_left (Line...
141
leanexplore_declaration
leanexplore:381294
leanexplore_sqlite
leanexplore_declarations
lemma topologicalSemiring : IsTopologicalSemiring D where continuous_add := (toContinuousAdd R D).1 continuous_mul := continuous_mul' R D
320
leanexplore_declaration
leanexplore:381295
leanexplore_sqlite
leanexplore_declarations
@[continuity, fun_prop] theorem continuous_mul : Continuous (fun ab ↦ ab.1 * ab.2 : D × D → D) := by letI : TopologicalSpace (D ⊗[R] D) := moduleTopology R _ haveI : IsModuleTopology R (D ⊗[R] D) := { eq_moduleTopology' := rfl } convert continuous_bilinear_of_finite_left <| (LinearMap.mul R D : D →ₗ[R] D →ₗ[R] D)
178
leanexplore_declaration
leanexplore:381296
leanexplore_sqlite
leanexplore_declarations
lemma Module.topologicalRing : IsTopologicalRing D where continuous_add := (toContinuousAdd R D).1 continuous_mul := continuous_mul R D continuous_neg := continuous_neg R D
356
leanexplore_declaration
leanexplore:381297
leanexplore_sqlite
leanexplore_declarations
lemma iff_Continuous_algebraMap : IsTopologicalModule R S ↔ Continuous (algebraMap R S) := by refine ⟨fun _ ↦ continuous_algebraMap R S, fun h ↦ ?_⟩ have : Continuous (fun rs ↦ algebraMap R S rs.1 • rs.2 : R × S → S) := by fun_prop simp_rw [← algebra_compatible_smul S] at this have : ContinuousSMul R S := ⟨...
295
leanexplore_declaration
leanexplore:381298
leanexplore_sqlite
leanexplore_declarations
theorem isTopologicalModule (M : Type*) [AddCommGroup M] [TopologicalSpace M] [Module R M] [IsModuleTopology R M] : IsTopologicalModule R M where continuous_smul := eq_moduleTopology R M ▸ (continuousSMul R M).1 continuous_add := eq_moduleTopology R M ▸ (continuousAdd R M).1
478
leanexplore_declaration
leanexplore:381299
leanexplore_sqlite
leanexplore_declarations
lemma _root_.Algebra.moduleTopology_le [IsTopologicalModule R S] : moduleTopology R M ≤ moduleTopology S M := by letI : TopologicalSpace M := moduleTopology S M haveI : ContinuousAdd M := continuousAdd S M have ⟨cts_smul⟩ : ContinuousSMul S M := continuousSMul S M suffices ContinuousSMul R M from _root_.mod...
1,058
leanexplore_declaration
leanexplore:381300
leanexplore_sqlite
leanexplore_declarations
/-- If S is an R-algebra, finite as an R-module, with the module topology, then the S-module topology on an S-module coincides with the R-module topology. -/ lemma _root_.moduleTopology.trans [IsTopologicalRing R] [Module.Finite R S] [IsModuleTopology R S] : moduleTopology R M = moduleTopology S M := by have :=...
213
leanexplore_declaration
leanexplore:381301
leanexplore_sqlite
leanexplore_declarations
lemma trans [IsTopologicalRing R] [Module.Finite R S] [IsModuleTopology R S] [τ : TopologicalSpace M] : IsModuleTopology R M ↔ IsModuleTopology S M := by simp [iff R M, iff S M, moduleTopology.trans R S]
3,785
leanexplore_declaration
leanexplore:381302
leanexplore_sqlite
leanexplore_declarations
/-- An `R`-algebra `S` has the `R`-module topology if the embedding `R →+* S` is continuous and open. -/ theorem of_continuous_isOpenMap_algebraMap (hcont : Continuous (algebraMap R S)) (hopen : IsOpenMap (algebraMap R S)) : IsModuleTopology R S where eq_moduleTopology' := by -- Let `τS` denote the topology o...
168
leanexplore_declaration
leanexplore:381303
leanexplore_sqlite
leanexplore_declarations
theorem of_isQuotientMap (f : N →ₗ[R] M) (h : Topology.IsQuotientMap f) : IsModuleTopology R M := by rw [iff, eq_coinduced_of_surjective h.surjective, h.eq_coinduced]
238
leanexplore_declaration
leanexplore:381304
leanexplore_sqlite
leanexplore_declarations
theorem of_isOpenMap_surjective (f : N →ₗ[R] M) (h : IsOpenMap f) (hsurj : Function.Surjective f) : IsModuleTopology R M := by apply of_isQuotientMap N f refine IsOpenQuotientMap.isQuotientMap ⟨hsurj, continuous_of_linearMap f, h⟩
236
leanexplore_declaration
leanexplore:381305
leanexplore_sqlite
leanexplore_declarations
theorem of_inverse (f : N →ₗ[R] M) (g : M → N) (hc : Continuous g) (hi : Function.LeftInverse f g) : IsModuleTopology R M := by apply of_isQuotientMap N f exact Topology.IsQuotientMap.of_inverse hc (continuous_of_linearMap f) hi
808
leanexplore_declaration
leanexplore:381306
leanexplore_sqlite
leanexplore_declarations
/-- Given a linear isomorphism between two topological modules with the module topology, upgrades it to a continuous linear isomorphism using the fact that linear maps between modules with the module topology are automatically continuous. -/ @[simps!] def continuousLinearEquiv {A B R : Type*} [TopologicalSpace A] [...
298
leanexplore_declaration
leanexplore:381307
leanexplore_sqlite
leanexplore_declarations
@[simps!] def continuousLinearEquiv {A B R : Type*} [TopologicalSpace A] [TopologicalSpace B] [TopologicalSpace R] [Semiring R] [AddCommMonoid A] [AddCommMonoid B] [Module R A] [Module R B] [IsModuleTopology R A] [IsModuleTopology R B] (e : A ≃ₗ[R] B) : A ≃L[R] B where toFun := e
895
leanexplore_declaration
leanexplore:381309
leanexplore_sqlite
leanexplore_declarations
/-- A linear equivalence `e : A ≃ₗ[S] B` which also has scalars `S'`, with `A` and `B` both having the `S'`-module topology, is automatically continuous. -/ def continuousLinearEquivOfIsBiscalar {A B : Type*} (S' : Type*) {S : Type*} [Semiring S'] [Semiring S] [AddCommMonoid A] [AddCommMonoid B] [Module S A] [M...
1,078
leanexplore_declaration
leanexplore:381310
leanexplore_sqlite
leanexplore_declarations
/-- An algebra isomorphism `e : A →ₐ[S] B` which also has scalars `S'`, with `A` and `B` both having the `S'`-module topology, is automatically continuous. -/ def continuousAlgEquivOfIsBiscalar {A B : Type*} (S' : Type*) {S : Type*} [CommSemiring A] [CommSemiring B] [CommSemiring S'] [CommSemiring S] [Algebra S...
458
leanexplore_declaration
leanexplore:381311
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem continuousAlgEquivOfIsBiscalar_apply {A B : Type*} (S' : Type*) {S : Type*} [CommSemiring A] [CommSemiring B] [CommSemiring S'] [CommSemiring S] [Algebra S A] [Algebra S B] [Algebra S' A] [Algebra S' B] [TopologicalSpace A] [TopologicalSpace B] [TopologicalSpace S'] [IsModuleTopology S' A] ...
690
leanexplore_declaration
leanexplore:381312
leanexplore_sqlite
leanexplore_declarations
/-- An algebra isomorphism between two topological algebras over `R` with the `R`-module topology is automatically an algebra homeomorphism. -/ def continuousAlgEquivOfAlgEquiv {A B R : Type*} [TopologicalSpace A] [TopologicalSpace B] [TopologicalSpace R] [CommSemiring R] [Semiring A] [Semiring B] [Algebra R A]...
952
leanexplore_declaration
leanexplore:381313
leanexplore_sqlite
leanexplore_declarations
/-- A free module with the module topology over a `T2Space` ring is a `T2Space`. -/ theorem t2Space (R : Type*) {M : Type*} [Semiring R] [AddCommGroup M] [Module R M] [Module.Free R M] [TopologicalSpace R] [TopologicalSpace M] [T2Space R] [ContinuousAdd R] [ContinuousMul R] [IsModuleTopology R M] : T2Space ...
328
leanexplore_declaration
leanexplore:381314
leanexplore_sqlite
leanexplore_declarations
/-- A vector space with the module topology over a `T2Space` ring is a `T2Space`. -/ theorem t2Space' {K V : Type*} [Field K] [AddCommGroup V] [Module K V] [TopologicalSpace K] [TopologicalSpace V] [T2Space K] [ContinuousAdd K] [ContinuousMul K] [mt : IsModuleTopology K V] : T2Space V := by apply t2Space ...
178
leanexplore_declaration
leanexplore:381315
leanexplore_sqlite
leanexplore_declarations
/-- `A` can be viewed as an `(A × B)`-algebra by having `B` act trivially. -/ local instance _root_.Prod.leftAlgebra : Algebra (A × B) A := RingHom.toAlgebra <| RingHom.fst A B
179
leanexplore_declaration
leanexplore:381316
leanexplore_sqlite
leanexplore_declarations
/-- `B` can be viewed as an `(A × B)`-algebra by having `A` act trivially. -/ local instance _root_.Prod.rightAlgebra : Algebra (A × B) B := RingHom.toAlgebra <| RingHom.snd A B
183
leanexplore_declaration
leanexplore:381317
leanexplore_sqlite
leanexplore_declarations
/-- An `A` module can be viewed as an `(A × B)`-module by having `B` act trivially. -/ local instance _root_.Prod.leftModule : Module (A × B) M := Module.compHom M (RingHom.fst A B)
183
leanexplore_declaration
leanexplore:381318
leanexplore_sqlite
leanexplore_declarations
/-- A `B` module can be viewed as an `(A × B)`-module by having `A` act trivially. -/ local instance _root_.Prod.rightModule : Module (A × B) N := Module.compHom N (RingHom.snd A B)
196
leanexplore_declaration
leanexplore:381319
leanexplore_sqlite
leanexplore_declarations
/-- `A` is a finite `(A × B)`-module. -/ instance _root_.Prod.instFinite_leftAlgebra : Module.Finite (A × B) A := Module.Finite.of_surjective (LinearMap.fst (A × B) A B) LinearMap.fst_surjective
197
leanexplore_declaration
leanexplore:381320
leanexplore_sqlite
leanexplore_declarations
/-- `B` is a finite `(A × B)`-module. -/ instance _root_.Prod.instFinite_rightAlgebra : Module.Finite (A × B) B := Module.Finite.of_surjective (LinearMap.snd (A × B) A B) LinearMap.snd_surjective
177
leanexplore_declaration
leanexplore:381321
leanexplore_sqlite
leanexplore_declarations
/-- `A` has the `(A × B)`-module topology. -/ instance Prod.instLeftAlgebra : IsModuleTopology (A × B) A := of_continuous_isOpenMap_algebraMap _ _ continuous_fst isOpenMap_fst
178
leanexplore_declaration
leanexplore:381322
leanexplore_sqlite
leanexplore_declarations
/-- `B` has the `(A × B)`-module topology. -/ instance Prod.instRightAlgebra : IsModuleTopology (A × B) B := of_continuous_isOpenMap_algebraMap _ _ continuous_snd isOpenMap_snd
303
leanexplore_declaration
leanexplore:381323
leanexplore_sqlite
leanexplore_declarations
/-- If `M` has the `A`-module topology, then it also has the `(A × B)`-module topology. -/ instance Prod.instLeftModule : IsModuleTopology (A × B) M := by have : IsScalarTower (A × B) A M := IsScalarTower.of_algebraMap_smul fun (a, b) m ↦ rfl rw [IsModuleTopology.trans (A × B) A M] infer_instance
304
leanexplore_declaration
leanexplore:381324
leanexplore_sqlite
leanexplore_declarations
/-- If `N` has the `B`-module topology, then it also has the `(A × B)`-module topology. -/ instance Prod.instRightModule : IsModuleTopology (A × B) N := by have : IsScalarTower (A × B) B N := IsScalarTower.of_algebraMap_smul fun (a, b) m ↦ rfl rw [IsModuleTopology.trans (A × B) B N] infer_instance
198
leanexplore_declaration
leanexplore:381325
leanexplore_sqlite
leanexplore_declarations
/-- If `M` has the `A`-module topology and `N` has the `B`-module topology then `M × N` has the `(A × B)`-module topology. -/ instance instProd' : IsModuleTopology (A × B) (M × N) := inferInstance
694
leanexplore_declaration
leanexplore:381326
leanexplore_sqlite
leanexplore_declarations
theorem locallyCompactSpaceOfFinite [LocallyCompactSpace R] [Module.Finite R M] : LocallyCompactSpace M := by -- M is generated by image of φ : Fin n → M obtain ⟨n, φ, h⟩ := Module.Finite.exists_fin (R := R) (M := M) -- so M is locally compact because it's the image of R^n under a map exact IsOpenQuotientMa...
796
leanexplore_declaration
leanexplore:381327
leanexplore_sqlite
leanexplore_declarations
/-- The homeomorphism of `R` and `Fin (Module.finrank T R) → T` based on `Module.Basis.equivFun` when `R` has the `T` module topology. -/ @[simps!] noncomputable def Module.Basis.equivFun_homeo (K R : Type*) [Field K] [Ring R] [Module K R] [Module.Finite K R] [TopologicalSpace K] [TopologicalSpace R] [IsTopologic...
354
leanexplore_declaration
leanexplore:381328
leanexplore_sqlite
leanexplore_declarations
@[simps!] noncomputable def Module.Basis.equivFun_homeo (K R : Type*) [Field K] [Ring R] [Module K R] [Module.Finite K R] [TopologicalSpace K] [TopologicalSpace R] [IsTopologicalRing R] [IsTopologicalRing K] [IsModuleTopology K R] : R ≃L[K] (Fin (Module.finrank K R) → K) where __ := Module.Basis.equivFun (Mod...
506
leanexplore_declaration
leanexplore:381330
leanexplore_sqlite
leanexplore_declarations
lemma _root_.Module.Finite.secondCountabletopology (R M : Type*) [CommRing R] [TopologicalSpace R] [IsTopologicalRing R] [SecondCountableTopology R] [AddCommGroup M] [Module R M] [Module.Finite R M] [TopologicalSpace M] [IsModuleTopology R M] : SecondCountableTopology M := by obtain ⟨n, φ, hφ⟩ := Module.F...
775
leanexplore_declaration
leanexplore:381331
leanexplore_sqlite
leanexplore_declarations
def Submodule.Quotient.continuousLinearEquiv {R : Type*} [Ring R] (G H : Type*) [AddCommGroup G] [Module R G] [AddCommGroup H] [Module R H] [TopologicalSpace G] [TopologicalSpace H] (G' : Submodule R G) (H' : Submodule R H) (e : G ≃L[R] H) (h : Submodule.map e.toLinearMap G' = H') : (G ⧸ G') ≃L[R] (H ⧸ ...
1,170
leanexplore_declaration
leanexplore:381332
leanexplore_sqlite
leanexplore_declarations
def Submodule.quotientPiContinuousLinearEquiv {R ι : Type*} [CommRing R] {G : ι → Type*} [(i : ι) → AddCommGroup (G i)] [(i : ι) → Module R (G i)] [(i : ι) → TopologicalSpace (G i)] [(i : ι) → IsTopologicalAddGroup (G i)] [Fintype ι] [DecidableEq ι] (p : (i : ι) → Submodule R (G i)) : (((i : ι) → G i) ⧸...
961
leanexplore_declaration
leanexplore:381333
leanexplore_sqlite
leanexplore_declarations
/-- The canonical continuous R-linear isomorphism `M ⊗[R] V ≃ (ι → M)` where V is a finite free R-module with basis indexed by `ι`, `M` is a commutative `R`-algebra, and `M ⊗[R] V` has the `M`-module topology. -/ noncomputable def ContinuousLinearEquiv.chooseBasis_piScalarRight (R M V : Type*) [CommRing M] [CommRin...
944
leanexplore_declaration
leanexplore:381334
leanexplore_sqlite
leanexplore_declarations
/-- The canonical continuous M-linear isomorphism `M ⊗[R] V ≃ (ι → M)` where V is a finite free R-module with basis indexed by `ι`, `M` is a commutative `R`-algebra, and `M ⊗[R] V` has the `M`-module topology. -/ noncomputable def ContinuousLinearEquiv.chooseBasis_piScalarRight' (R M V : Type*) [CommRing M] [CommRi...
1,918
leanexplore_declaration
leanexplore:381335
leanexplore_sqlite
leanexplore_declarations
/-- The continuous `R`-linear map `M ⊗[R] V → N ⊗[R] V` induced by a continuous `R`-linear map `M → N`. -/ def rTensor {R : Type*} {M N : Type*} (V : Type*) [CommRing M] [CommRing N] [CommRing R] [Algebra R M] [Algebra R N] [TopologicalSpace M] [TopologicalSpace N] [IsTopologicalRing M] [IsTopologicalRing N] ...
396
leanexplore_declaration
leanexplore:381336
leanexplore_sqlite
leanexplore_declarations
lemma rTensor_id_apply {R : Type*} {M : Type*} (V : Type*) [CommRing M] [CommRing R] [Algebra R M] [TopologicalSpace M] [IsTopologicalRing M] [AddCommGroup V] [Module R V] [Module.Finite R V] [Module.Free R V] [TopologicalSpace (M ⊗[R] V)] [IsTopologicalAddGroup (M ⊗[R] V)] [IsModuleTopology M (M ⊗[...
404
leanexplore_declaration
leanexplore:381337
leanexplore_sqlite
leanexplore_declarations
lemma rTensor_id {R : Type*} {M : Type*} (V : Type*) [CommRing M] [CommRing R] [Algebra R M] [TopologicalSpace M] [IsTopologicalRing M] [AddCommGroup V] [Module R V] [Module.Finite R V] [Module.Free R V] [TopologicalSpace (M ⊗[R] V)] [IsTopologicalAddGroup (M ⊗[R] V)] [IsModuleTopology M (M ⊗[R] V)]...
857
leanexplore_declaration
leanexplore:381338
leanexplore_sqlite
leanexplore_declarations
lemma rTensor_comp_apply {R : Type*} {M N P : Type*} (V : Type*) [CommRing M] [CommRing N] [CommRing P] [CommRing R] [Algebra R M] [Algebra R N] [Algebra R P] [TopologicalSpace M] [IsTopologicalRing M] [TopologicalSpace N] [IsTopologicalRing N] [TopologicalSpace P] [IsTopologicalRing P] (φ : M →L[R]...
813
leanexplore_declaration
leanexplore:381339
leanexplore_sqlite
leanexplore_declarations
lemma rTensor_comp {R : Type*} {M N P : Type*} (V : Type*) [CommRing M] [CommRing N] [CommRing P] [CommRing R] [Algebra R M] [Algebra R N] [Algebra R P] [TopologicalSpace M] [IsTopologicalRing M] [TopologicalSpace N] [IsTopologicalRing N] [TopologicalSpace P] [IsTopologicalRing P] (φ : M →L[R] N) ...
292
leanexplore_declaration
leanexplore:381340
leanexplore_sqlite
leanexplore_declarations
@[to_additive] theorem induced_continuous_smul [τA : TopologicalSpace A] [ContinuousSMul R A] (g : B →ₑ[f] A) (hf : Continuous f) : @ContinuousSMul S B _ _ (TopologicalSpace.induced g τA) := by convert IsInducing.continuousSMul (IsInducing.induced g) hf (fun {c} {x} ↦ map_smulₛₗ g c x)
197
leanexplore_declaration
leanexplore:381341
leanexplore_sqlite
leanexplore_declarations
@[to_additive] theorem induced_continuous_smul [τA : TopologicalSpace A] [ContinuousSMul R A] (g : B →ₑ[f] A) (hf : Continuous f) : @ContinuousSMul S B _ _ (TopologicalSpace.induced g τA) := by
248
leanexplore_declaration
leanexplore:381342
leanexplore_sqlite
leanexplore_declarations
@[to_additive] theorem induced_continuous_mul [CommMonoid A] [τA : TopologicalSpace A] [ContinuousMul A] [CommMonoid B] (h : B →* A) : @ContinuousMul B (TopologicalSpace.induced h τA) _ := by convert (IsInducing.induced h).continuousMul h
199
leanexplore_declaration
leanexplore:381343
leanexplore_sqlite
leanexplore_declarations
@[to_additive] theorem induced_continuous_mul [CommMonoid A] [τA : TopologicalSpace A] [ContinuousMul A] [CommMonoid B] (h : B →* A) : @ContinuousMul B (TopologicalSpace.induced h τA) _ := by
234
leanexplore_declaration
leanexplore:381344
leanexplore_sqlite
leanexplore_declarations
instance : ContinuousSMul ((i : ι) → R i) ((i : ι) → M i) := ⟨continuous_pi fun i ↦ (Continuous.smul ((continuous_apply i).comp (Continuous.fst continuous_id')) ((continuous_apply i).comp (Continuous.snd continuous_id')))⟩
1,312
leanexplore_declaration
leanexplore:381345
leanexplore_sqlite
leanexplore_declarations
/-- If `v` is a nontrivial absolute value, and `w` is another absolute value such that `w x < 1` if `v x < 1`, then we must also have `v x < 1` if `w x < 1`. -/ theorem lt_one_iff_of_lt_one_imp [Archimedean S] [TopologicalSpace S] [OrderTopology S] (hv : v.IsNontrivial) (h : ∀ x, v x < 1 → w x < 1) {a : F} : ...
2,083
leanexplore_declaration
leanexplore:381346
leanexplore_sqlite
leanexplore_declarations
/-- If `v` and `w` are two real absolute values on `F`, `v` is non-trivial, and `v x < 1` if and only if `w x < 1`, then `log (v a) / log (w a)` is constant for all `a ∈ K`. -/ theorem log_div_image_eq_singleton_of_le_one_iff {v w : AbsoluteValue F ℝ} (hv : v.IsNontrivial) (h : ∀ x, v x < 1 ↔ w x < 1) : let...
607
leanexplore_declaration
leanexplore:381347
leanexplore_sqlite
leanexplore_declarations
theorem exists_rpow_of_one_lt {v w : AbsoluteValue F ℝ} (hv : v.IsNontrivial) (h : ∀ x, v x < 1 ↔ w x < 1) : ∃ (t : ℝ) (_ : 0 < t), ∀ x, 1 < v x → v x = w x ^ t := by obtain ⟨a, ha, hlog⟩ := log_div_image_eq_singleton_of_le_one_iff hv h refine ⟨Real.log (v a) / Real.log (w a), div_pos (Real.log_pos ha) ...
1,256
leanexplore_declaration
leanexplore:381348
leanexplore_sqlite
leanexplore_declarations
/-- Let `v` and `w` be two real absolute values on `F`, where `v` is non-trivial. The condition that `v x < 1` if and only if `w x < 1` is equivalent to the condition that `v = w ^ t` for some real `t > 0`. -/ theorem eq_rpow_iff_lt_one_iff {v : AbsoluteValue F ℝ} (w : AbsoluteValue F ℝ) (hv : v.IsNontrivial) : ...
413
leanexplore_declaration
leanexplore:381349
leanexplore_sqlite
leanexplore_declarations
/-- If `v` is non-trivial and `v = w ^ t` for some `t > 0`, then we can find an `a ∈ F` such that `v a < 1` while `1 ≤ w a`. -/ theorem exists_lt_one_one_le_of_ne_rpow {v w : AbsoluteValue F ℝ} (hv : v.IsNontrivial) (h : ¬∃ (t : ℝ) (_ : 0 < t), ∀ x, v x = (w x) ^ t) : ∃ a : F, v a < 1 ∧ 1 ≤ w a := by cont...
387
leanexplore_declaration
leanexplore:381350
leanexplore_sqlite
leanexplore_declarations
theorem ne_pow_symm {v w : AbsoluteValue F ℝ} (h : ¬∃ (t : ℝ) (_ : 0 < t), ∀ x, v x = (w x) ^ t) : ¬∃ (t : ℝ) (_ : 0 < t), ∀ x, w x = (v x) ^ t := by simp only [exists_prop, not_exists, not_and, not_forall] at h ⊢ refine fun t ht => let ⟨x, hx⟩ := h t⁻¹ (_root_.inv_pos.2 ht); ⟨x, ?_⟩ contrapose! hx exact Re...
659
leanexplore_declaration
leanexplore:381351
leanexplore_sqlite
leanexplore_declarations
/-- If `v` and `w` are two non-trivial absolute values such that `v = w ^ t` for some `t > 0`, then we can find an `a ∈ K` such that `1 < v a` while `w a < 1`. -/ theorem exists_one_lt_lt_one_of_ne_rpow {v w : AbsoluteValue F ℝ} (hv : v.IsNontrivial) (hw : w.IsNontrivial) (h : ¬∃ (t : ℝ) (_ : 0 < t), ∀ x, ...
609
leanexplore_declaration
leanexplore:381352
leanexplore_sqlite
leanexplore_declarations
/-- Given two restricted products `Πʳ (i : ι₁), [R₁ i, B₁ i]_[𝓕₁]` and `Πʳ (j : ι₂), [R₂ j, B₂ j]_[𝓕₂]` of `A`-modules, `RestrictedProduct.mapAlongLinearMap` gives an `A`-linear map between them. The data needed is a function `f : ι₂ → ι₁` such that `𝓕₂` tends to `𝓕₁` along `f`, and `A`-linear maps `φ j : R₁ (f j) ...
163
leanexplore_declaration
leanexplore:381353
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma RestrictedProduct.mapAlongLinearMap_apply (x : Πʳ i, [R₁ i, B₁ i]_[𝓕₁]) (j : ι₂) : x.mapAlongLinearMap R₁ R₂ f hf φ hφ j = φ j (x (f j)) := rfl
434
leanexplore_declaration
leanexplore:381354
leanexplore_sqlite
leanexplore_declarations
/-- A linear map version of `RestrictedProduct.inclusion` : if `𝓕 ≤ 𝓖` then there's a linear map `Πʳ i, [R i, C i]_[𝓖] →ₗ[A] Πʳ i, [R i, C i]_[𝓕]` where the `R i` are `A`-modules and the `C i` are submodules. -/ def RestrictedProduct.inclusionLinearMap {𝓕 𝓖 : Filter ι} (h : 𝓕 ≤ 𝓖) : Πʳ i, [R i, C i]_[�...
153
leanexplore_declaration
leanexplore:381355
leanexplore_sqlite
leanexplore_declarations
lemma inclusionLinearMap_apply {𝓕 𝓖 : Filter ι} (h : 𝓕 ≤ 𝓖) (x : Πʳ i, [R i, C i]_[𝓖]) : inclusionLinearMap A R C h x = ⟨x.1, x.2.filter_mono h⟩ := rfl
397
leanexplore_declaration
leanexplore:381356
leanexplore_sqlite
leanexplore_declarations
/-- The support of an element of a restricted product of monoids (or more generally, objects with a 1. The support is the components which aren't 1.) -/ @[to_additive /-- The support of an element of a restricted product of additive monoids (or more generally, objects with a 0. The support is the components which aren'...
224
leanexplore_declaration
leanexplore:381357
leanexplore_sqlite
leanexplore_declarations
@[to_additive /-- The support of an element of a restricted product of additive monoids (or more generally, objects with a 0. The support is the components which aren't 0. -/] def mulSupport (u : Πʳ i, [G i, A i]) : Set ι :=
140
leanexplore_declaration
leanexplore:381358
leanexplore_sqlite
leanexplore_declarations
@[to_additive (attr := simp)] lemma not_mem_mulSupport {u : Πʳ i, [G i, A i]} (i : ι) : i ∉ mulSupport u ↔ u i = 1 := by simp [mulSupport]
87
leanexplore_declaration
leanexplore:381359
leanexplore_sqlite
leanexplore_declarations
@[to_additive (attr := simp)] lemma not_mem_mulSupport {u : Πʳ i, [G i, A i]} (i : ι) :
361
leanexplore_declaration
leanexplore:381360
leanexplore_sqlite
leanexplore_declarations
@[to_additive] lemma mul_comm_of_disjoint_mulSupport {u v : Πʳ i, [G i, A i]} (h : mulSupport u ∩ mulSupport v = ∅) : u * v = v * u := by ext i obtain hi | hi : i ∉ u.mulSupport ∨ i ∉ v.mulSupport := by rw [Set.ext_iff] at h specialize h i tauto · rw [not_mem_mulSupport] at hi simp [hi] · rw...
141
leanexplore_declaration
leanexplore:381361
leanexplore_sqlite
leanexplore_declarations
@[to_additive] lemma mul_comm_of_disjoint_mulSupport {u v : Πʳ i, [G i, A i]} (h : mulSupport u ∩ mulSupport v = ∅) : u * v = v * u := by