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
482
leanexplore_declaration
leanexplore:380848
leanexplore_sqlite
leanexplore_declarations
/-- B ⊗ 𝔸_K^f ≃ 𝔸_K^f ⊗ B as topological additive groups. -/ noncomputable def FiniteAdeleRing.TensorProduct.commContinuousAddMonoidHom : (B ⊗[K] (FiniteAdeleRing (𝓞 K) K)) ≃ₜ+ (FiniteAdeleRing (𝓞 K) K) ⊗[K] B := { __ := FiniteAdeleRing.TensorProduct.commLinearMap K B continuous_toFun := IsModuleTopolog...
1,423
leanexplore_declaration
leanexplore:380849
leanexplore_sqlite
leanexplore_declarations
/-- left multiplication and right multiplication by a unit have the same Haar character on `B ⊗ 𝔸_K^f`. See also `NumberField.FiniteAdeleRing.tensor_isCentralSimple_addHaarScalarFactor_left_mul_eq_right_mul` which proves it for `𝔸_K^f ⊗ B`. -/ lemma NumberField.FiniteAdeleRing.isCentralSimple_addHaarScalarFactor_left...
2,268
leanexplore_declaration
leanexplore:380850
leanexplore_sqlite
leanexplore_declarations
/-- A diagonal matrix scales addHaar with its determinant -/ lemma addEquivAddHaarChar_eq_ringHaarChar_det_diagonal [SecondCountableTopology F] (ρ : (ι → F) ≃L[F] (ι → F)) {D : ι → F} (h : ρ.toLinearMap.toMatrix' = Matrix.diagonal D) : addEquivAddHaarChar ρ.toContinuousAddEquiv = ringHaarChar ρ.toLinearEqui...
1,904
leanexplore_declaration
leanexplore:380851
leanexplore_sqlite
leanexplore_declarations
/-- A transvection preserves addHaar on `ι → F`. -/ lemma Matrix.TransvectionStruct.measurePreserving [SecondCountableTopology F] (t : Matrix.TransvectionStruct ι F) : MeasurePreserving (⇑(Matrix.toLin' t.toMatrix)) addHaar addHaar := by -- Step 1: replace `addHaar` by the product Haar measure `μ`. -- ...
2,674
leanexplore_declaration
leanexplore:380852
leanexplore_sqlite
leanexplore_declarations
/-- Haar measure scaling on `(ι → F)` for continuous linear equivalences generated by a matrix -/ lemma addEquivAddHaarChar_eq_ringHaarChar_det_matrix_pi [SecondCountableTopology F] (M : Matrix ι ι F) (hM : Pivot.ExistsListTransvecMulDiagonalMulListTransvec M) (h : IsUnit M.det) : let b := Pi.basisFun F ι ...
795
leanexplore_declaration
leanexplore:380853
leanexplore_sqlite
leanexplore_declarations
/-- Haar measure scaling for linear maps on (ι → F) -/ lemma addEquivAddHaarChar_eq_ringHaarChar_det_pi [SecondCountableTopology F] (ρ : (ι → F) ≃L[F] (ι → F)) (hρM : Pivot.ExistsListTransvecMulDiagonalMulListTransvec (ρ.toLinearEquiv.toMatrix (Pi.basisFun F ι) (Pi.basisFun F ι))) : addEquivAddHaarCha...
1,456
leanexplore_declaration
leanexplore:380854
leanexplore_sqlite
leanexplore_declarations
/-- Haar measure scaling for invertible linear maps on a finite-dimensional vector space over a field F assuming `[SecondCountableTopology F]`. -/ theorem addEquivAddHaarChar_eq_ringHaarChar_det_of_existsListTransvecEtc [SecondCountableTopology F] (ρ : V ≃L[F] V) (n : ℕ) (b : Basis (Fin n) F V) (hρ : Pivot.Exis...
548
leanexplore_declaration
leanexplore:380855
leanexplore_sqlite
leanexplore_declarations
/-- Haar measure scaling for invertible linear maps on a finite-dimensional vector space over a field F assuming `[SecondCountableTopology F]`. -/ theorem addEquivAddHaarChar_eq_ringHaarChar_det [SecondCountableTopology F] (ρ : V ≃L[F] V) : addEquivAddHaarChar ρ.toContinuousAddEquiv = ringHaarChar ρ.toLinearEquiv.d...
319
leanexplore_declaration
leanexplore:380856
leanexplore_sqlite
leanexplore_declarations
/-- Multiplication on the left by a unit of an F-algebra which is a topological ring, is a continuous F-linear homeomorphism. -/ def _root_.ContinuousLinearEquiv.mulLeft (u : Aˣ) : A ≃L[R] A where __ := LinearEquiv.mulLeft R u continuous_toFun := continuous_const_mul _ continuous_invFun := continuous_const_mul _
322
leanexplore_declaration
leanexplore:380857
leanexplore_sqlite
leanexplore_declarations
/-- Multiplication on the right by a unit of an F-algebra which is a topological ring, is a continuous F-linear homeomorphism. -/ def _root_.ContinuousLinearEquiv.mulRight (u : Aˣ) : A ≃L[R] A where __ := LinearEquiv.mulRight R u continuous_toFun := continuous_mul_const _ continuous_invFun := continuous_mul_const...
202
leanexplore_declaration
leanexplore:380858
leanexplore_sqlite
leanexplore_declarations
lemma algebra_ringHaarChar_eq_ringHaarChar_det (u : Aˣ) : ringHaarChar u = ringHaarChar (LinearEquiv.mulLeft F u).det := addEquivAddHaarChar_eq_ringHaarChar_det (ContinuousLinearEquiv.mulLeft F u)
353
leanexplore_declaration
leanexplore:380859
leanexplore_sqlite
leanexplore_declarations
lemma _root_.IsSimpleRing.ringHaarChar_eq_addEquivAddHaarChar_mulRight (u : Dˣ) : ringHaarChar u = addEquivAddHaarChar (ContinuousAddEquiv.mulRight u) := by rw [algebra_ringHaarChar_eq_ringHaarChar_det F u] rw [IsSimpleRing.mulLeft_det_eq_mulRight_det'] symm exact addEquivAddHaarChar_eq_ringHaarChar_det (Co...
1,110
leanexplore_declaration
leanexplore:380860
leanexplore_sqlite
leanexplore_declarations
/-- The distributive Haar character of the action of `ℚ_[p]ˣ` on `ℚ_[p]` is the usual p-adic norm. This means that `volume (x • s) = ‖x‖ * volume s` for all `x : ℚ_[p]` and `s : Set ℚ_[p]`. See `Padic.volume_padic_smul` -/ @[simp] lemma MeasureTheory.ringHaarChar_padic (x : ℚ_[p]ˣ) : ringHaarChar x = ‖(x : ℚ_[p])‖₊ :=...
318
leanexplore_declaration
leanexplore:380861
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma Padic.volume_padic_smul (x : ℚ_[p]) (s : Set ℚ_[p]) : volume (x • s) = ‖x‖₊ * volume s := by obtain rfl | hx := eq_or_ne x 0 · simp [(finite_zero.subset s.zero_smul_set_subset).measure_zero] · lift x to ℚ_[p]ˣ using hx.isUnit rw [← ringHaarChar_padic, ← Units.smul_def, ringHaarChar_mul_volume]
168
leanexplore_declaration
leanexplore:380862
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma Padic.volume_padicInt_smul (x : ℤ_[p]) (s : Set ℚ_[p]) : volume (x • s) = ‖x‖₊ * volume s := by simpa [-volume_padic_smul] using volume_padic_smul x s
216
leanexplore_declaration
leanexplore:380863
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma PadicInt.volume_padicInt_smul (x : ℤ_[p]) (s : Set ℤ_[p]) : volume (x • s) = ‖x‖₊ * volume s := by simpa [-volume_padicInt_smul, ← image_coe_smul_set] using Padic.volume_padicInt_smul x ((↑) '' s)
494
leanexplore_declaration
leanexplore:380864
leanexplore_sqlite
leanexplore_declarations
/-- The distributive Haar character of the action of `ℤ_[p]ˣ` on `ℤ_[p]` is the constant `1`. This means that `volume (x • s) = ‖x‖ * volume s` for all `x : ℤ_[p]` and `s : Set ℤ_[p]`. See `PadicInt.volume_padicInt_smul` -/ @[simp] lemma MeasureTheory.ringHaarChar_padicInt (x : ℤ_[p]ˣ) : ringHaarChar x = 1 := -- We ...
136
leanexplore_declaration
leanexplore:380865
leanexplore_sqlite
leanexplore_declarations
lemma Real.volume_real_smul (x : ℝ) (s : Set ℝ) : volume (x • s) = ‖x‖₊ * volume s := by simp [← enorm_eq_ofReal_abs, enorm_eq_nnnorm]
534
leanexplore_declaration
leanexplore:380866
leanexplore_sqlite
leanexplore_declarations
/-- The distributive Haar character of the action of `ℝˣ` on `ℝ` is the usual norm. This means that `volume (x • s) = ‖x‖ * volume s` for all `x : ℝ` and `s : Set ℝ`. See `Real.volume_real_smul`. -/ lemma MeasureTheory.ringHaarChar_real (x : ℝˣ) : ringHaarChar x = ‖(x : ℝ)‖₊ := -- We compute that `volume (x • [0, 1]...
1,338
leanexplore_declaration
leanexplore:380867
leanexplore_sqlite
leanexplore_declarations
/-- The distributive Haar character of the action of `ℂˣ` on `ℂ` is the usual norm squared. This means that `volume (z • s) = ‖z‖ ^ 2 * volume s` for all `z : ℂ` and `s : Set ℂ`. See `Complex.volume_complex_smul`. -/ lemma MeasureTheory.ringHaarChar_complex (z : ℂˣ) : ringHaarChar z = ‖(z : ℂ)‖₊ ^ 2 := by -- We comp...
327
leanexplore_declaration
leanexplore:380868
leanexplore_sqlite
leanexplore_declarations
lemma Complex.volume_complex_smul (z : ℂ) (s : Set ℂ) : volume (z • s) = ‖z‖₊ ^ 2 * volume s := by obtain rfl | hz := eq_or_ne z 0 · simp [(finite_zero.subset s.zero_smul_set_subset).measure_zero] · lift z to ℂˣ using hz.isUnit rw [← ENNReal.coe_pow, ← ringHaarChar_complex, ← Units.smul_def, ringHaarChar_mul_...
158
leanexplore_declaration
leanexplore:380869
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma preimage_mulLeft_smul (r : Rˣ) (s : Set R) : ContinuousAddEquiv.mulLeft r ⁻¹' (r • s) = s := by ext; simp [Set.mem_smul_set, Units.smul_def]
1,614
leanexplore_declaration
leanexplore:380870
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_continuous : Continuous (fun (u : Rˣ) ↦ addEquivAddHaarChar (ContinuousAddEquiv.mulLeft u)) := by suffices hf : Continuous (fun (u : Rˣ) ↦ (addEquivAddHaarChar (ContinuousAddEquiv.mulLeft u) : ℝ)) from continuous_induced_rng.mpr hf obtain ⟨⟨f, f_cont⟩, f_comp, f_nonneg, f_one⟩ : ∃...
572
leanexplore_declaration
leanexplore:380871
leanexplore_sqlite
leanexplore_declarations
/-- `ringHaarChar : Rˣ →ₜ* ℝ≥0` is the function sending a unit of a locally compact topological ring `R` to the positive real factor which left multiplication by the unit scales additive Haar measure by. -/ @[simps (isSimp := false)] noncomputable def ringHaarChar : Rˣ →ₜ* ℝ≥0 where toFun r := addEquivAddHaarChar (Co...
76
leanexplore_declaration
leanexplore:380872
leanexplore_sqlite
leanexplore_declarations
@[simps (isSimp := false)] noncomputable def ringHaarChar : Rˣ →ₜ* ℝ≥0 where
114
leanexplore_declaration
leanexplore:380873
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_apply (r : Rˣ) : ringHaarChar r = addEquivAddHaarChar (ContinuousAddEquiv.mulLeft r) := rfl
529
leanexplore_declaration
leanexplore:380874
leanexplore_sqlite
leanexplore_declarations
/-- Transport `ringHaarChar` across a continuous `ℤ`-algebra equivalence (in place of continuous ring equivalences since we don't have them). -/ lemma ringHaarChar_eq_ringHaarChar_of_continuousAlgEquiv {S : Type*} [Ring S] [TopologicalSpace S] [IsTopologicalRing S] [LocallyCompactSpace S] [MeasurableSpace S] [Borel...
491
leanexplore_declaration
leanexplore:380875
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_mul_integral (μ : Measure R) [IsAddHaarMeasure μ] [μ.Regular] {f : R → ℝ} (hf : Measurable f) (u : Rˣ) : (ringHaarChar u) * ∫ (r : R), f (u * r) ∂μ = ∫ a, f a ∂μ := by symm convert (addEquivAddHaarChar_smul_integral_map μ (ContinuousAddEquiv.mulLeft u) (f := f)).symm using 1 sim...
256
leanexplore_declaration
leanexplore:380876
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_mul_volume (μ : Measure R) [IsAddHaarMeasure μ] [μ.Regular] {X : Set R} (u : Rˣ) : μ (u • X) = ringHaarChar u * μ X := by rw [ringHaarChar_toFun, (addEquivAddHaarChar_smul_preimage _ (ContinuousAddEquiv.mulLeft u)).symm] simp
313
leanexplore_declaration
leanexplore:380877
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_eq_of_measure_smul_eq_mul {μ : Measure R} [IsAddHaarMeasure μ] [μ.Regular] {s : Set R} (hs₀ : μ s ≠ 0) (hs : μ s ≠ ∞) {r : ℝ≥0} {u : Rˣ} (hμgs : μ (u • s) = r * μ s) : ringHaarChar u = r := by rw [ringHaarChar_mul_volume μ u, ENNReal.mul_left_inj hs₀ hs] at hμgs assumption_mod_cast
275
leanexplore_declaration
leanexplore:380878
leanexplore_sqlite
leanexplore_declarations
/-- The kernel of the `ringHaarChar : Rˣ → ℝ≥0`, namely the units of a locally compact topological ring such that left multiplication by them does not change additive Haar measure. -/ noncomputable def ringHaarChar_ker := MonoidHom.ker (ringHaarChar : Rˣ →ₜ* ℝ≥0).toMonoidHom
104
leanexplore_declaration
leanexplore:380879
leanexplore_sqlite
leanexplore_declarations
lemma mem_ringHaarChar_ker (x : Rˣ) : x ∈ ringHaarChar_ker R ↔ ringHaarChar x = 1 := MonoidHom.mem_ker
260
leanexplore_declaration
leanexplore:380880
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_prod (u : Rˣ) (v : Sˣ) [SecondCountableTopologyEither R S] : ringHaarChar (MulEquiv.prodUnits.symm (u, v)) = ringHaarChar u * ringHaarChar v := addEquivAddHaarChar_prodCongr (ContinuousAddEquiv.mulLeft u) (ContinuousAddEquiv.mulLeft v)
259
leanexplore_declaration
leanexplore:380881
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_prod' (uv : (R × S)ˣ) [SecondCountableTopologyEither R S] : ringHaarChar uv = ringHaarChar (MulEquiv.prodUnits uv).1 * ringHaarChar (MulEquiv.prodUnits uv).2 := ringHaarChar_prod (MulEquiv.prodUnits uv).1 (MulEquiv.prodUnits uv).2
240
leanexplore_declaration
leanexplore:380882
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_pi [Fintype ι] [∀ i, SecondCountableTopology (A i)] (u : Π i, (A i)ˣ) : ringHaarChar (MulEquiv.piUnits.symm u) = ∏ i, ringHaarChar (u i) := addEquivAddHaarChar_piCongrRight (fun i ↦ ContinuousAddEquiv.mulLeft (u i))
253
leanexplore_declaration
leanexplore:380883
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_pi' [Fintype ι] [∀ i, SecondCountableTopology (A i)] (u : (Π i, (A i))ˣ) : ringHaarChar u = ∏ i, ringHaarChar (MulEquiv.piUnits u i) := addEquivAddHaarChar_piCongrRight (fun i ↦ ContinuousAddEquiv.mulLeft (MulEquiv.piUnits u i))
642
leanexplore_declaration
leanexplore:380884
leanexplore_sqlite
leanexplore_declarations
lemma ringHaarChar_restrictedProduct (u : (Πʳ i, [A i, C i])ˣ) : ringHaarChar u = ∏ᶠ i, ringHaarChar (MulEquiv.restrictedProductUnits u i) := by set u := MulEquiv.restrictedProductUnits u apply addEquivAddHaarChar_restrictedProductCongrRight (C := (C · |>.toAddSubgroup)) (ContinuousAddEquiv.mulLeft <| u ·) ...
851
leanexplore_declaration
leanexplore:380885
leanexplore_sqlite
leanexplore_declarations
theorem ringHaarChar_ModuleFinite : ringHaarChar (Units.map (algebraMap K R).toMonoidHom t) = ringHaarChar (R := (Fin (Module.finrank K R) → K)) (Units.map (algebraMap K (Fin (Module.finrank K R) → K)).toMonoidHom t) := by apply addEquivAddHaarChar_eq_addEquivAddHaarChar_of_continuousAddEquiv ((IsMo...
339
leanexplore_declaration
leanexplore:380886
leanexplore_sqlite
leanexplore_declarations
theorem ringHaarChar_ModuleFinite_unit : ringHaarChar (Units.map (algebraMap K R).toMonoidHom t) = (ringHaarChar t) ^ (Module.finrank K R) := by rw [ringHaarChar_ModuleFinite] simpa using ringHaarChar_pi (ι := Fin (Module.finrank K R)) (A := fun _ : Fin (Module.finrank K R) => K) (fun (i : Fin (Module...
77
leanexplore_declaration
leanexplore:380887
leanexplore_sqlite
leanexplore_declarations
noncomputable instance instMeasurableSpace : MeasurableSpace ℚ_[p] := borel _
51
leanexplore_declaration
leanexplore:380888
leanexplore_sqlite
leanexplore_declarations
instance instBorelSpace : BorelSpace ℚ_[p] := ⟨rfl⟩
107
leanexplore_declaration
leanexplore:380889
leanexplore_sqlite
leanexplore_declarations
noncomputable instance instMeasureSpace : MeasureSpace ℚ_[p] := ⟨addHaarMeasure unitBall_positiveCompact⟩
112
leanexplore_declaration
leanexplore:380890
leanexplore_sqlite
leanexplore_declarations
instance instIsAddHaarMeasure : IsAddHaarMeasure (volume : Measure ℚ_[p]) := isAddHaarMeasure_addHaarMeasure _
85
leanexplore_declaration
leanexplore:380891
leanexplore_sqlite
leanexplore_declarations
lemma volume_closedBall_one : volume {x : ℚ_[p] | ‖x‖ ≤ 1} = 1 := addHaarMeasure_self
97
leanexplore_declaration
leanexplore:380892
leanexplore_sqlite
leanexplore_declarations
noncomputable instance instMeasurableSpace : MeasurableSpace ℤ_[p] := Subtype.instMeasurableSpace
66
leanexplore_declaration
leanexplore:380893
leanexplore_sqlite
leanexplore_declarations
instance instBorelSpace : BorelSpace ℤ_[p] := Subtype.borelSpace _
131
leanexplore_declaration
leanexplore:380894
leanexplore_sqlite
leanexplore_declarations
lemma isMeasurableEmbedding_coe : MeasurableEmbedding ((↑) : ℤ_[p] → ℚ_[p]) := by convert isOpenEmbedding_coe.measurableEmbedding
142
leanexplore_declaration
leanexplore:380895
leanexplore_sqlite
leanexplore_declarations
lemma isMeasurableEmbedding_coeRingHom : MeasurableEmbedding (Coe.ringHom (p := p)) := (coe_coeRingHom (p := p)) ▸ isMeasurableEmbedding_coe
82
leanexplore_declaration
leanexplore:380896
leanexplore_sqlite
leanexplore_declarations
noncomputable instance instMeasureSpace : MeasureSpace ℤ_[p] := ⟨addHaarMeasure ⊤⟩
112
leanexplore_declaration
leanexplore:380897
leanexplore_sqlite
leanexplore_declarations
instance instIsAddHaarMeasure : IsAddHaarMeasure (volume : Measure ℤ_[p]) := isAddHaarMeasure_addHaarMeasure _
84
leanexplore_declaration
leanexplore:380898
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma volume_univ : volume (Set.univ : Set ℤ_[p]) = 1 := addHaarMeasure_self
110
leanexplore_declaration
leanexplore:380899
leanexplore_sqlite
leanexplore_declarations
instance instIsFiniteMeasure : IsFiniteMeasure (volume : Measure ℤ_[p]) where measure_univ_lt_top := by simp
417
leanexplore_declaration
leanexplore:380900
leanexplore_sqlite
leanexplore_declarations
lemma volume_coe_univ : volume ((↑) '' (Set.univ : Set ℤ_[p]) : Set ℚ_[p]) = volume (Set.univ : Set ℤ_[p]) := by simp only [volume_univ, ← Padic.volume_closedBall_one (p := p)] -- ❌️ at reducible transparency, -- ℤ_[p] -- and -- { x : ℚ_[p] // Membership.mem (γ := Set ℚ_[p]) (fun x ↦ Real.le✝ ‖x‖ 1) x...
810
leanexplore_declaration
leanexplore:380901
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma volume_coe (s : Set ℤ_[p]) : volume ((↑) '' s : Set ℚ_[p]) = volume s := by have h := volume_coe_univ (p := p) rw [← (coe_coeRingHom (p := p)), ← isMeasurableEmbedding_coeRingHom.comap_apply] at h ⊢ have := IsAddLeftInvariant.comap volume (f := Coe.ringHom.toAddMonoidHom) (isMeasurableEmbedd...
247
leanexplore_declaration
leanexplore:380902
leanexplore_sqlite
leanexplore_declarations
/-- Right action of a commutative semiring `S` on `M ⊗ S`. An instance only when the `TensorProduct.RightActions` scope is open. -/ scoped instance : SMul S (M ⊗[R] S) where smul s e := TensorProduct.comm _ _ _ (s • (TensorProduct.comm _ _ _ e))
133
leanexplore_declaration
leanexplore:380903
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma smul_def (r : S) (m : M ⊗[R] S) : r • m = (TensorProduct.comm _ _ _).symm (r • (TensorProduct.comm _ _ _ m)) := rfl
484
leanexplore_declaration
leanexplore:380904
leanexplore_sqlite
leanexplore_declarations
/-- The `S`-module structure on `M ⊗ S`, when `S` is a commutative semiring. An instance only when the `TensorProduct.RightActions` scope is open. -/ scoped instance : Module S (M ⊗[R] S) where one_smul x := by simp_rw [smul_def, one_smul, (TensorProduct.comm R M S).symm_apply_apply] mul_smul a b x := by simp_rw [s...
1,482
leanexplore_declaration
leanexplore:380905
leanexplore_sqlite
leanexplore_declarations
/-- The `S`-algebra structure on `B ⊗ S`, when `S` is a commutative semiring and `B` is a semiring. An instance only when the `TensorProduct.RightActions` scope is open. -/ scoped instance : Algebra S (B ⊗[R] S) where algebraMap := Algebra.TensorProduct.includeRight.toRingHom commutes' s bs := by induction bs w...
81
leanexplore_declaration
leanexplore:380906
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma algebraMap_eval (s : S) : algebraMap S (B ⊗[R] S) s = 1 ⊗ₜ s := rfl
232
leanexplore_declaration
leanexplore:380907
leanexplore_sqlite
leanexplore_declarations
/-- The A-algebra isomorphism A ⊗ B = B ⊗ A, available in the `TensorProduct.RightActions` scope. -/ def Algebra.TensorProduct.comm : A ⊗[R] B ≃ₐ[A] B ⊗[R] A where __ := _root_.Algebra.TensorProduct.comm R A B commutes' _ := rfl
136
leanexplore_declaration
leanexplore:380908
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma Algebra.TensorProduct.comm_apply_tmul (a : A) (b : B) : Algebra.TensorProduct.comm R A B (a ⊗ₜ b) = b ⊗ₜ a := by rfl
143
leanexplore_declaration
leanexplore:380909
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma Algebra.TensorProduct.comm_symm_apply_tmul (b : B) (a : A) : (Algebra.TensorProduct.comm R A B).symm (b ⊗ₜ a) = a ⊗ₜ b := rfl
732
leanexplore_declaration
leanexplore:380910
leanexplore_sqlite
leanexplore_declarations
/-- The A-module isomorphism A ⊗ M = M ⊗ A, available in the `TensorProduct.RightActions` scope. -/ def Module.TensorProduct.comm : A ⊗[R] M ≃ₗ[A] M ⊗[R] A where __ := (_root_.TensorProduct.comm R A M).toAddEquiv map_smul' a am := by induction am with | zero => simp only [smul_zero, AddHom.toFun_eq_coe, Lin...
129
leanexplore_declaration
leanexplore:380911
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma Module.TensorProduct.comm_apply_tmul (a : A) (m : M) : Module.TensorProduct.comm R A M (a ⊗ₜ m) = m ⊗ₜ a := rfl
141
leanexplore_declaration
leanexplore:380912
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma Module.TensorProduct.comm_symm_apply_tmul (m : M) (a : A) : (Module.TensorProduct.comm R A M).symm (m ⊗ₜ a) = a ⊗ₜ m := rfl
123
leanexplore_declaration
leanexplore:380913
leanexplore_sqlite
leanexplore_declarations
scoped instance [Module.Finite R M] : Module.Finite A (M ⊗[R] A) := Module.Finite.equiv (Module.TensorProduct.comm R A M)
120
leanexplore_declaration
leanexplore:380914
leanexplore_sqlite
leanexplore_declarations
scoped instance [Module.Free R M] : Module.Free A (M ⊗[R] A) := Module.Free.of_equiv (Module.TensorProduct.comm R A M)
83
leanexplore_declaration
leanexplore:380915
leanexplore_sqlite
leanexplore_declarations
scoped instance : IsScalarTower R A (M ⊗[R] A) where smul_assoc r a ma := by simp
367
leanexplore_declaration
leanexplore:380916
leanexplore_sqlite
leanexplore_declarations
/-- We equip `M ⊗[R] A` with the `A`-module topology if `M` is finite over `R`. -/ @[nolint unusedArguments] -- we don't need that M is a finite R-module to make this -- definition, but I don't think I want the instance to be there in general. scoped instance [TopologicalSpace A] [Module.Finite R M] : TopologicalSp...
99
leanexplore_declaration
leanexplore:380917
leanexplore_sqlite
leanexplore_declarations
scoped instance [TopologicalSpace A] [Module.Finite R M] : IsModuleTopology A (M ⊗[R] A) := ⟨rfl⟩
501
leanexplore_declaration
leanexplore:380918
leanexplore_sqlite
leanexplore_declarations
/-- Base extension of an `R`-linear map `V → W` to an `A`-linear map `V ⊗ A → W ⊗ A`. Available in the `TensorProduct.RightActions` scope. -/ noncomputable abbrev LinearMap.baseChange (R : Type*) [CommRing R] (V W : Type*) [AddCommGroup V] [Module R V] [AddCommGroup W] [Module R W] (A : Type*) [CommRing A] [Alg...
215
leanexplore_declaration
leanexplore:380919
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma LinearMap.baseChange_id (R : Type*) [CommRing R] (V : Type*) [AddCommGroup V] [Module R V] (A : Type*) [CommRing A] [Algebra R A] : LinearMap.baseChange R V V A .id = .id := by ext simp
416
leanexplore_declaration
leanexplore:380920
leanexplore_sqlite
leanexplore_declarations
theorem LinearMap.baseChange_comp (R : Type*) [CommRing R] (U V W : Type*) [AddCommGroup U] [Module R U] [AddCommGroup V] [Module R V] [AddCommGroup W] [Module R W] (A : Type*) [CommRing A] [Algebra R A] (φ : U →ₗ[R] V) (ψ : V →ₗ[R] W) : LinearMap.baseChange R V W A ψ ∘ₗ LinearMap.baseChange R U V A φ =...
830
leanexplore_declaration
leanexplore:380921
leanexplore_sqlite
leanexplore_declarations
/-- Base extension of an `R`-linear iso `V → W` to an `A`-linear iso `V ⊗ A → W ⊗ A`. Available in the `TensorProduct.RightActions` scope. -/ noncomputable abbrev LinearEquiv.baseChange (R : Type*) [CommRing R] (V W : Type*) [AddCommGroup V] [Module R V] [AddCommGroup W] [Module R W] (A : Type*) [CommRing A] [A...
437
leanexplore_declaration
leanexplore:380922
leanexplore_sqlite
leanexplore_declarations
/-- Base extension of an `R`-algebra map `B → C` to an `A`-linear map `B ⊗ A → C ⊗ A`. Available in the `TensorProduct.RightActions` scope. -/ noncomputable def AlgebraMap.baseChange (R : Type*) [CommRing R] (B C : Type*) [Ring B] [Algebra R B] [Ring C] [Algebra R C] (A : Type*) [CommRing A] [Algebra R A] (...
422
leanexplore_declaration
leanexplore:380923
leanexplore_sqlite
leanexplore_declarations
/-- Right action version of `Algebra.TensorProduct.basis` -- base extension of a basis over a tensor product. -/ def Algebra.TensorProduct.basis {R : Type*} (A : Type*) {M : Type*} {ι : Type*} [CommSemiring R] [CommSemiring A] [Algebra R A] [AddCommMonoid M] [Module R M] (b : Module.Basis ι R M) : Module.Ba...
148
leanexplore_declaration
leanexplore:380924
leanexplore_sqlite
leanexplore_declarations
scoped instance [TopologicalSpace A] [Module.Finite R M] : IsTopologicalAddGroup (M ⊗[R] A) := IsModuleTopology.topologicalAddGroup A (M ⊗[R] A)
162
leanexplore_declaration
leanexplore:380925
leanexplore_sqlite
leanexplore_declarations
scoped instance [TopologicalSpace A] [IsTopologicalRing A] [Module.Finite R B] : IsTopologicalRing (B ⊗[R] A) := IsModuleTopology.Module.topologicalRing A _
193
leanexplore_declaration
leanexplore:380927
leanexplore_sqlite
leanexplore_declarations
scoped instance [TopologicalSpace A] [IsTopologicalRing A] [LocallyCompactSpace A] [Module.Finite R M] : LocallyCompactSpace (M ⊗[R] A) := IsModuleTopology.locallyCompactSpaceOfFinite A
683
leanexplore_declaration
leanexplore:380928
leanexplore_sqlite
leanexplore_declarations
/-- Given S an R-algebra, and a ring homomorphism `ψ` from an R-algebra A to an S-algebra B compatible with the algebra map R → S, `baseChange_of_algebraMap ψ` is the induced `S`-algebra map `S ⊗[R] A → B`. -/ noncomputable def SemialgHom.baseChange_of_algebraMap [Semiring A] [Algebra R S] [Algebra R A] [Semiring B...
327
leanexplore_declaration
leanexplore:380929
leanexplore_sqlite
leanexplore_declarations
theorem SemialgHom.baseChange_of_algebraMap_tmul [Semiring A] [Algebra R S] [Algebra R A] [Semiring B] [Algebra S B] (ψ : A →ₛₐ[algebraMap R S] B) (s : S) (a : A) : ψ.baseChange_of_algebraMap (s ⊗ₜ[R] a) = algebraMap _ _ s * ψ a := by simp [baseChange_of_algebraMap, SemialgHom.toLinearMap_eq_coe, Algebra.ofId...
294
leanexplore_declaration
leanexplore:380930
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem SemialgHom.baseChange_of_algebraMap_tmul_right [Semiring A] [Algebra R S] [Algebra R A] [Semiring B] [Algebra S B] (ψ : A →ₛₐ[algebraMap R S] B) (a : A) : ψ.baseChange_of_algebraMap (1 ⊗ₜ[R] a) = ψ a := by simp [baseChange_of_algebraMap, SemialgHom.toLinearMap_eq_coe]
326
leanexplore_declaration
leanexplore:380931
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem SemialgHom.baseChange_of_algebraMap_tmul_left [Semiring A] [Algebra R S] [Algebra R A] [Semiring B] [Algebra S B] (ψ : A →ₛₐ[algebraMap R S] B) (s : S) : ψ.baseChange_of_algebraMap (s ⊗ₜ[R] 1) = algebraMap _ _ s := by simp [baseChange_of_algebraMap, SemialgHom.toLinearMap_eq_coe, Algebra.ofId_...
817
leanexplore_declaration
leanexplore:380932
leanexplore_sqlite
leanexplore_declarations
/-- If `ψ : A →ₛₐ[algebra R S] B` and if `B` is given the `A`-algebra induced by `ψ`, then the resulting base change map `S ⊗[R] A →ₐ[S] B` is scalar in both `S` and `A`. -/ instance [Algebra R S] [CommSemiring A] [Algebra R A] [CommSemiring B] [Algebra S B] (ψ : A →ₛₐ[algebraMap R S] B) : letI := ψ.toAlgebra ...
554
leanexplore_declaration
leanexplore:380933
leanexplore_sqlite
leanexplore_declarations
/-- If `ψ : A →ₛₐ[algebraMap R S] B` and if `B` is given the `A`-algebra induced by `ψ`, then the resulting base change map `S ⊗[R] A →ₐ[S] B` is scalar in both `S` and `A`. `baseChangeRightOfAlgebraMap ψ` is the induced `A`-algebra map `S ⊗[R] A →ₐ[A] B`. -/ noncomputable def SemialgHom.baseChangeRightOfAlgebraMap [Al...
329
leanexplore_declaration
leanexplore:380934
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem SemialgHom.baseChangeRightOfAlgebraMap_apply [Algebra R S] [CommSemiring A] [Algebra R A] [CommSemiring B] [Algebra S B] (ψ : A →ₛₐ[algebraMap R S] B) (x : S ⊗[R] A) : baseChangeRightOfAlgebraMap ψ x = baseChange_of_algebraMap ψ x := by simp [baseChangeRightOfAlgebraMap, AlgHom.changeScala...
296
leanexplore_declaration
leanexplore:380935
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem SemialgHom.baseChangeRightOfAlgebraMap_coe [Algebra R S] [CommSemiring A] [Algebra R A] [CommSemiring B] [Algebra S B] (ψ : A →ₛₐ[algebraMap R S] B) : ⇑ψ.baseChangeRightOfAlgebraMap = ⇑ψ.baseChange_of_algebraMap := funext_iff.2 <| ψ.baseChangeRightOfAlgebraMap_apply
305
leanexplore_declaration
leanexplore:380936
leanexplore_sqlite
leanexplore_declarations
/-- The F-linear equivalence on an F-algebra induced by left multiplication by a unit -/ def _root_.LinearEquiv.mulLeft (u : Aˣ) : A ≃ₗ[F] A where toFun x := u * x invFun y := u⁻¹ * y left_inv x := by simp right_inv y := by simp map_add' x₁ x₂ := left_distrib ↑u x₁ x₂ map_smul' f x := by simp
131
leanexplore_declaration
leanexplore:380937
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem LinearEquiv.coe_mulLeft (u : Aˣ) : (LinearEquiv.mulLeft F u : A →ₗ[F] A) = LinearMap.mulLeft F (u : A) := rfl
331
leanexplore_declaration
leanexplore:380938
leanexplore_sqlite
leanexplore_declarations
/-- The F-linear equivalence on an F-algebra induced by right multiplication by a unit -/ def _root_.LinearEquiv.mulRight (u : Aˣ) : A ≃ₗ[F] A where toFun x := x * u invFun y := y * u⁻¹ left_inv x := by simp [mul_assoc] right_inv y := by simp [mul_assoc] map_add' x₁ x₂ := right_distrib x₁ x₂ u map_smul' f x...
134
leanexplore_declaration
leanexplore:380939
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem LinearEquiv.coe_mulRight (u : Aˣ) : (LinearEquiv.mulRight F u : A →ₗ[F] A) = LinearMap.mulRight F (u : A) := rfl
442
leanexplore_declaration
leanexplore:380940
leanexplore_sqlite
leanexplore_declarations
/-- Let `φ : R →+* S` be a ring homomorphism, let `A` be an `R`-algebra and let `B` be an `S`-algebra. Then `SemialgHom φ A B` or `A →ₛₐ[φ] B` is the ring homomorphisms `ψ : A →+* B` making lying above `φ` (i.e. such that `ψ (r • a) = φ r • ψ a`). -/ structure SemialgHom {R S : Type*} [CommSemiring R] [CommSemiring S] ...
349
leanexplore_declaration
leanexplore:380941
leanexplore_sqlite
leanexplore_declarations
@[inherit_doc SemialgHom] infixr:25 " →ₛₐ " => SemialgHom _ @[inherit_doc] notation:25 A " →ₛₐ[" φ:25 "] " B:0 => SemialgHom φ A B variable {R S : Type*} [CommSemiring R] [CommSemiring S] (φ : R →+* S) (A B : Type*) [Semiring A] [Semiring B] [Algebra R A] [Algebra S B] instance instFunLike : FunLike (A →ₛₐ[φ] B)...
288
leanexplore_declaration
leanexplore:380942
leanexplore_sqlite
leanexplore_declarations
@[inherit_doc] notation:25 A " →ₛₐ[" φ:25 "] " B:0 => SemialgHom φ A B variable {R S : Type*} [CommSemiring R] [CommSemiring S] (φ : R →+* S) (A B : Type*) [Semiring A] [Semiring B] [Algebra R A] [Algebra S B] instance instFunLike : FunLike (A →ₛₐ[φ] B) A B where coe f := f.toFun
171
leanexplore_declaration
leanexplore:380943
leanexplore_sqlite
leanexplore_declarations
instance instFunLike : FunLike (A →ₛₐ[φ] B) A B where coe f := f.toFun coe_injective' f g h := by cases f cases g congr exact DFunLike.coe_injective' h
125
leanexplore_declaration
leanexplore:380944
leanexplore_sqlite
leanexplore_declarations
lemma SemialgHom.map_smul (ψ : A →ₛₐ[φ] B) (m : R) (x : A) : ψ (m • x) = φ m • ψ x := LinearMap.map_smul' ψ.toLinearMap m x
106
leanexplore_declaration
leanexplore:380945
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem coe_mk (f : A →ₛₗ[φ] B) (h₁ h₂ h₃) : ((⟨f, h₁, h₂, h₃⟩ : A →ₛₐ[φ] B) : A → B) = f := rfl
269
leanexplore_declaration
leanexplore:380946
leanexplore_sqlite
leanexplore_declarations
class SemialgHomClass (F : Type*) {R S : outParam Type*} [CommSemiring R] [CommSemiring S] (φ : outParam (R →+* S)) (A B : outParam Type*) [Semiring A] [Semiring B] [Algebra R A] [Algebra S B] [FunLike F A B] extends SemilinearMapClass F φ A B, RingHomClass F A B
215
leanexplore_declaration
leanexplore:380947
leanexplore_sqlite
leanexplore_declarations
instance SemialgHomClass.instSemialgHom : SemialgHomClass (A →ₛₐ[φ] B) φ A B where map_add ψ := ψ.map_add map_smulₛₗ ψ := ψ.map_smulₛₗ map_mul ψ := ψ.map_mul map_one ψ := ψ.map_one map_zero ψ := ψ.map_zero
190
leanexplore_declaration
leanexplore:380948
leanexplore_sqlite
leanexplore_declarations
/-- Turn an element of `F` which satisfies `SemialgHomClass F φ A B` to a `SemialgHom`. -/ def SemialgHomClass.toSemialgHom (f : F) : A →ₛₐ[φ] B := { (f : A →ₛₗ[φ] B), (f : A →+* B) with }