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
316
leanexplore_declaration
leanexplore:381362
leanexplore_sqlite
leanexplore_declarations
@[to_additive] lemma mulSupport_mul_subset {u v : Πʳ i, [G i, A i]} {J : Set ι} (hu : mulSupport u ⊆ J) (hv : mulSupport v ⊆ J) : mulSupport (u * v) ⊆ J := by intro i hi contrapose! hi simp [not_mem_mulSupport, (not_mem_mulSupport i).1 (fun a ↦ hi (hu a)), (not_mem_mulSupport i).1 (fun a ↦ hi (hv a))]
162
leanexplore_declaration
leanexplore:381363
leanexplore_sqlite
leanexplore_declarations
@[to_additive] lemma mulSupport_mul_subset {u v : Πʳ i, [G i, A i]} {J : Set ι} (hu : mulSupport u ⊆ J) (hv : mulSupport v ⊆ J) : mulSupport (u * v) ⊆ J := by
163
leanexplore_declaration
leanexplore:381364
leanexplore_sqlite
leanexplore_declarations
@[to_additive (attr := simp)] lemma mulSupport_inv {u : Πʳ i, [G i, A i]} : mulSupport u⁻¹ = mulSupport u := by ext i simp only [mulSupport] exact inv_ne_one
111
leanexplore_declaration
leanexplore:381365
leanexplore_sqlite
leanexplore_declarations
@[to_additive (attr := simp)] lemma mulSupport_inv {u : Πʳ i, [G i, A i]} : mulSupport u⁻¹ = mulSupport u := by
337
leanexplore_declaration
leanexplore:381366
leanexplore_sqlite
leanexplore_declarations
/-- A submonoid `U` of a resticted product of monoids is a product at `i` if `U` can be written as Uᵢ × Uⁱ with Uᵢ supported at the i'th component and Uⁱ supported away from `i`. -/ def SubmonoidClass.isProductAt (U : T) (i : ι) : Prop := ∀ u ∈ U, ∃ uᵢ, uᵢ ∈ U ∧ ∃ uᵢ', uᵢ' ∈ U ∧ u = uᵢ * uᵢ' ∧ mulSupport uᵢ ⊆ {i} ∧ i...
1,013
leanexplore_declaration
leanexplore:381367
leanexplore_sqlite
leanexplore_declarations
/-- If `U` is a product at `i` and `g` is supported at `i` then `UgU` can be written as a disjoint union of cosets `gᵢU` with the `gᵢ` supported at `i`. -/ lemma mem_coset_and_mulSupport_subset_of_isProductAt {U : T} (i : ι) (g : Πʳ i, [G i, A i]) (hU : SubmonoidClass.isProductAt U i) (hg : mulSupport g ⊆ {i}) ...
234
leanexplore_declaration
leanexplore:381368
leanexplore_sqlite
leanexplore_declarations
/-- For a cofinite restricted product `Πʳ i, [G i, A i]`, `indexSupport` is the finite set of indices for which `u ∉ A i`. -/ noncomputable def indexSupport (u : Πʳ i, [G i, A i]) : Finset ι := Set.Finite.toFinset (by simpa using u.2)
138
leanexplore_declaration
leanexplore:381369
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem mem_indexSupport_iff {u : Πʳ i, [G i, A i]} {i : ι} : i ∈ indexSupport u ↔ u i ∉ A i := by simp [indexSupport] rfl
118
leanexplore_declaration
leanexplore:381370
leanexplore_sqlite
leanexplore_declarations
lemma components_comp_coe_eq_coe_apply : (fun a j ↦ g j (a (f j))) ∘ (⇑) = (⇑) ∘ φ := by ext x i simp [hcomponent]
291
leanexplore_declaration
leanexplore:381371
leanexplore_sqlite
leanexplore_declarations
lemma exists_update (x : Πʳ i, [G i, C i]_[ℱ]) (i : ι) (a : G i) (h : {i}ᶜ ∈ ℱ) : ∃ y : Πʳ i, [G i, C i]_[ℱ], y i = a ∧ ∀ j ≠ i, y j = x j := by classical exact ⟨⟨fun j ↦ if hj : j = i then hj ▸ a else x j, by filter_upwards [h, x.2] with j (hj : j ≠ i) aesop⟩, by aesop⟩
320
leanexplore_declaration
leanexplore:381372
leanexplore_sqlite
leanexplore_declarations
lemma exists_apply_eq [∀ i, Nonempty (C i)] (i : ι) (a : G i) (h : {i}ᶜ ∈ ℱ) : ∃ x : Πʳ i, [G i, C i]_[ℱ], x i = a := by let y : Πʳ i, [G i, C i]_[ℱ] := ⟨fun i ↦ (Classical.ofNonempty : C i), Filter.Eventually.of_forall (fun x ↦ Subtype.coe_prop _)⟩ obtain ⟨x, hx, -⟩ := exists_update y i a h exact ⟨x, hx⟩
262
leanexplore_declaration
leanexplore:381373
leanexplore_sqlite
leanexplore_declarations
lemma surjective_components_of_surjective (hφ : Function.Surjective φ) (j : ι₂) (hj : {j}ᶜ ∈ 𝒢) : Function.Surjective (g j) := by intro y obtain ⟨y', hy'⟩ := exists_apply_eq C₂ j y hj obtain ⟨x, hx⟩ := hφ y' use (x (f j)) rw [← hcomponent, hx, hy']
863
leanexplore_declaration
leanexplore:381374
leanexplore_sqlite
leanexplore_declarations
lemma eventually_surjOn_of_surjective (hφ : Function.Surjective φ) : ∀ᶠ (j : ι₂) in 𝒢, Set.SurjOn (g j) (C (f j)) (C₂ j) := by classical have p (j : ι₂) : ∃ (y : C₂ j), (∃ (x : C (f j)), g j x = y) → Set.SurjOn (g j) (C (f j)) (C₂ j) := by by_cases hsurj : Set.SurjOn (g j) (C (f j)) (C₂ j) · exa...
530
leanexplore_declaration
leanexplore:381375
leanexplore_sqlite
leanexplore_declarations
/-- The structure map for a restricted product of monoids is a `MonoidHom`. -/ @[to_additive /-- The structure map for a restricted product of AddMonoids is an `AddMonoidHom`. -/] def structureMapMonoidHom {ι : Type*} (M : ι → Type*) [(i : ι) → Monoid (M i)] {S : ι → Type*} [∀ i, SetLike (S i) (M i)] [∀ i, Submonoi...
179
leanexplore_declaration
leanexplore:381376
leanexplore_sqlite
leanexplore_declarations
@[to_additive /-- The structure map for a restricted product of AddMonoids is an `AddMonoidHom`. -/] def structureMapMonoidHom {ι : Type*} (M : ι → Type*) [(i : ι) → Monoid (M i)]
450
leanexplore_declaration
leanexplore:381377
leanexplore_sqlite
leanexplore_declarations
/-- The structure map for a restricted product of ring. -/ def structureMapRingHom {ι : Type*} (M : ι → Type*) [(i : ι) → Ring (M i)] {S : ι → Type*} [∀ i, SetLike (S i) (M i)] [∀ i, SubringClass (S i) (M i)] (A : Π i, S i) (𝓕 : Filter ι) : ((i : ι) → (A i)) →+* Πʳ (i : ι), [M i, Subring.ofClass (A i)]_[𝓕] wh...
356
leanexplore_declaration
leanexplore:381378
leanexplore_sqlite
leanexplore_declarations
/-- The subring `∏ i, A i` inside `Πʳ i, [R i, A i]_[𝓕]`. -/ def structureSubring {ι : Type*} (R : ι → Type*) {S : ι → Type*} (A : (i : ι) → (S i)) (𝓕 : Filter ι) [(i : ι) → SetLike (S i) (R i)] [(i : ι) → Ring (R i)] [(i : ι) → SubringClass (S i) (R i)] : Subring (Πʳ i, [R i, A i]_[𝓕]) := (RestrictedP...
488
leanexplore_declaration
leanexplore:381379
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem mem_structureSubring_iff {ι : Type*} {R : ι → Type*} {S : ι → Type*} {A : (i : ι) → (S i)} {𝓕 : Filter ι} [(i : ι) → SetLike (S i) (R i)] [(i : ι) → Ring (R i)] [(i : ι) → SubringClass (S i) (R i)] {x : Πʳ i, [R i, A i]_[𝓕]} : x ∈ RestrictedProduct.structureSubring R A 𝓕 ↔ ∀ i, x i ...
358
leanexplore_declaration
leanexplore:381380
leanexplore_sqlite
leanexplore_declarations
/-- The inclusion from a factor into a restricted product of additive groups. -/ noncomputable def singleAddMonoidHom (j : ι) : A j →+ Πʳ i, [A i, B i] where toFun x := ⟨Pi.single j x, by simpa using (Set.finite_singleton j).subset fun i _ ↦ by by_cases h : i = j <;> simp_all⟩ map_zero' := by ext; simp map_ad...
600
leanexplore_declaration
leanexplore:381381
leanexplore_sqlite
leanexplore_declarations
/-- The equivalence between restricted products on the same index, when each factor is equivalent, with compatibility on the restricted subsets. -/ @[simps] def Equiv.restrictedProductCongrRight (φ : (i : ι) → R₁ i ≃ R₂ i) (hφ : ∀ᶠ i in 𝓕, Set.BijOn (φ i) (A₁ i) (A₂ i)) : Πʳ i, [R₁ i, A₁ i]_[𝓕] ≃ Πʳ i, [R₂ i,...
272
leanexplore_declaration
leanexplore:381382
leanexplore_sqlite
leanexplore_declarations
@[simps] def Equiv.restrictedProductCongrRight (φ : (i : ι) → R₁ i ≃ R₂ i) (hφ : ∀ᶠ i in 𝓕, Set.BijOn (φ i) (A₁ i) (A₂ i)) : Πʳ i, [R₁ i, A₁ i]_[𝓕] ≃ Πʳ i, [R₂ i, A₂ i]_[𝓕] where toFun := map (fun i ↦ φ i) (by filter_upwards [hφ]; exact fun i ↦ Set.BijOn.mapsTo)
482
leanexplore_declaration
leanexplore:381384
leanexplore_sqlite
leanexplore_declarations
/-- The `MulEquiv` between restricted products built from `MulEquiv`s on the factors. -/ @[to_additive (attr := simps! apply) /-- The `AddEquiv` between restricted products built from `AddEquiv`s on the factors. -/] def MulEquiv.restrictedProductCongrRight (φ : (i : ι) → R₁ i ≃* R₂ i) (hφ : ∀ᶠ i in 𝓕, Set.BijOn ...
198
leanexplore_declaration
leanexplore:381385
leanexplore_sqlite
leanexplore_declarations
@[to_additive (attr := simps! apply) /-- The `AddEquiv` between restricted products built from `AddEquiv`s on the factors. -/] def MulEquiv.restrictedProductCongrRight (φ : (i : ι) → R₁ i ≃* R₂ i)
128
leanexplore_declaration
leanexplore:381386
leanexplore_sqlite
leanexplore_declarations
@[to_additive (attr := simps! apply) /-- The `AddEquiv` between restricted products built from `AddEquiv`s on the factors. -/]
960
leanexplore_declaration
leanexplore:381388
leanexplore_sqlite
leanexplore_declarations
/-- The isomorphism between the units of a restricted product of monoids, and the restricted product of the units of the monoids. -/ def MulEquiv.restrictedProductUnits {ι : Type*} {ℱ : Filter ι} {M : ι → Type*} [(i : ι) → Monoid (M i)] {S : ι → Type*} [∀ i, SetLike (S i) (M i)] [∀ i, SubmonoidClass (S i) (M i)...
503
leanexplore_declaration
leanexplore:381389
leanexplore_sqlite
leanexplore_declarations
/-- The ring isomorphism between restricted products on the same index, when each factor is equivalent, with compatibility on the restricted subsets. -/ @[simps! apply] def RingEquiv.restrictedProductCongrRight (φ : (i : ι) → R₁ i ≃+* R₂ i) (hφ : ∀ᶠ i in 𝓕, Set.BijOn (φ i) (A₁ i) (A₂ i)) : (Πʳ i, [R₁ i, A₁ i]_...
280
leanexplore_declaration
leanexplore:381390
leanexplore_sqlite
leanexplore_declarations
@[simps! apply] def RingEquiv.restrictedProductCongrRight (φ : (i : ι) → R₁ i ≃+* R₂ i) (hφ : ∀ᶠ i in 𝓕, Set.BijOn (φ i) (A₁ i) (A₂ i)) : (Πʳ i, [R₁ i, A₁ i]_[𝓕]) ≃+* (Πʳ i, [R₂ i, A₂ i]_[𝓕]) where __ := AddEquiv.restrictedProductCongrRight (fun _ ↦ (φ _).toAddEquiv) hφ
460
leanexplore_declaration
leanexplore:381391
leanexplore_sqlite
leanexplore_declarations
/-- The `LinearEquiv` between restricted products built from `LinearEquiv`s on the factors. -/ def LinearEquiv.restrictedProductCongrRight (φ : (i : ι) → R₁ i ≃ₗ[T] R₂ i) (hφ : ∀ᶠ i in 𝓕, Set.BijOn (φ i) (A₁ i) (A₂ i)) : (Πʳ i, [R₁ i, A₁ i]_[𝓕]) ≃ₗ[T] (Πʳ i, [R₂ i, A₂ i]_[𝓕]) where __ := AddEquiv.restricte...
923
leanexplore_declaration
leanexplore:381392
leanexplore_sqlite
leanexplore_declarations
/-- The equivalence between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the right-hand side. -/ @[simps! apply, simps -isSimp symm_apply] def Equiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h :...
240
leanexplore_declaration
leanexplore:381393
leanexplore_sqlite
leanexplore_declarations
@[simps! apply, simps -isSimp symm_apply] def Equiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.map e) : Πʳ i, [R₁ i, A₁ i]_[𝓕₁] ≃ Πʳ j, [R₁ (e.symm j), A₁ (e.symm j)]_[𝓕₂] where toFun x := ⟨fun i ↦ e.piCongrLeft' _ x i, by
279
leanexplore_declaration
leanexplore:381395
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem Equiv.restrictedProductCongrLeft'_symm_apply_apply (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.map e) (x : Πʳ j, [R₁ (e.symm j), A₁ (e.symm j)]_[𝓕₂]) (j : ι₂) : (restrictedProductCongrLeft' e h).symm x (e.symm j) = x j := by simp [restrictedProductCongrLeft'_symm_apply]
432
leanexplore_declaration
leanexplore:381396
leanexplore_sqlite
leanexplore_declarations
/-- The equivalence between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the left-hand side. -/ def Equiv.restrictedProductCongrLeft (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) : Πʳ i, [R₂ (e i), A...
287
leanexplore_declaration
leanexplore:381397
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem Equiv.restrictedProductCongrLeft_apply_apply (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (x : Πʳ i, [R₂ (e i), A₂ (e i)]_[𝓕₁]) (i : ι₁) : (restrictedProductCongrLeft e h) x (e i) = x i := restrictedProductCongrLeft'_symm_apply_apply e.symm (𝓕₂.map_equiv_symm _ ▸ h) x _
526
leanexplore_declaration
leanexplore:381398
leanexplore_sqlite
leanexplore_declarations
/-- The additive monoid isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the right-hand side. -/ @[simps! apply] def AddEquiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = ...
221
leanexplore_declaration
leanexplore:381399
leanexplore_sqlite
leanexplore_declarations
@[simps! apply] def AddEquiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.map e) : (Πʳ i, [R₁ i, A₁ i]_[𝓕₁]) ≃+ (Πʳ j, [R₁ (e.symm j), A₁ (e.symm j)]_[𝓕₂]) where __ := Equiv.restrictedProductCongrLeft' e h
506
leanexplore_declaration
leanexplore:381400
leanexplore_sqlite
leanexplore_declarations
/-- The additive monoid isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the left-hand side. -/ def AddEquiv.restrictedProductCongrLeft (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) : ...
516
leanexplore_declaration
leanexplore:381401
leanexplore_sqlite
leanexplore_declarations
/-- The multiplicative monoid isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the right-hand side. -/ def MulEquiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.map e)...
512
leanexplore_declaration
leanexplore:381402
leanexplore_sqlite
leanexplore_declarations
/-- The multiplicative monoid isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the left-hand side. -/ def MulEquiv.restrictedProductCongrLeft (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e)...
475
leanexplore_declaration
leanexplore:381403
leanexplore_sqlite
leanexplore_declarations
/-- The ring isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the right-hand side. -/ @[simps! apply] def RingEquiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.map e)...
226
leanexplore_declaration
leanexplore:381404
leanexplore_sqlite
leanexplore_declarations
@[simps! apply] def RingEquiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.map e) : (Πʳ i, [R₁ i, A₁ i]_[𝓕₁]) ≃+* (Πʳ j, [R₁ (e.symm j), A₁ (e.symm j)]_[𝓕₂]) where __ := AddEquiv.restrictedProductCongrLeft' e h
539
leanexplore_declaration
leanexplore:381405
leanexplore_sqlite
leanexplore_declarations
/-- The ring isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the right-hand side. -/ def RingEquiv.restrictedProductCongrLeft (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) : Πʳ i, [R...
482
leanexplore_declaration
leanexplore:381406
leanexplore_sqlite
leanexplore_declarations
/-- The linear isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the right-hand side. -/ @[simps! apply] def LinearEquiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.ma...
230
leanexplore_declaration
leanexplore:381407
leanexplore_sqlite
leanexplore_declarations
@[simps! apply] def LinearEquiv.restrictedProductCongrLeft' (e : ι₁ ≃ ι₂) (h : 𝓕₂ = 𝓕₁.map e) : (Πʳ i, [R₁ i, A₁ i]_[𝓕₁]) ≃ₗ[T] (Πʳ j, [R₁ (e.symm j), A₁ (e.symm j)]_[𝓕₂]) where __ := AddEquiv.restrictedProductCongrLeft' e h
545
leanexplore_declaration
leanexplore:381408
leanexplore_sqlite
leanexplore_declarations
/-- The linear isomorphism between restricted products on the same factors on different indices, when the indices are equivalent, with compatibility on the restriction filters. Applying the equivalence on the left-hand side. -/ def LinearEquiv.restrictedProductCongrLeft (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) : Πʳ i,...
475
leanexplore_declaration
leanexplore:381409
leanexplore_sqlite
leanexplore_declarations
/-- The equivalence between restricted products when the indices and factors are equivalent, provided compatibility criteria on the restriction filters and factors. -/ def Equiv.restrictedProductCongr (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (φ : (i : ι₁) → R₁ i ≃ R₂ (e i)) (hφ : ∀ᶠ i in 𝓕₁, Set.BijOn (φ i) (A₁ i...
331
leanexplore_declaration
leanexplore:381410
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem Equiv.restrictedProductCongr_apply_apply {e : ι₁ ≃ ι₂} {h : 𝓕₁ = 𝓕₂.comap e} {φ : (i : ι₁) → R₁ i ≃ R₂ (e i)} {hφ : ∀ᶠ i in 𝓕₁, Set.BijOn (φ i) (A₁ i) (A₂ (e i))} {x : Πʳ i, [R₁ i, A₁ i]_[𝓕₁]} {i : ι₁} : e.restrictedProductCongr h φ hφ x (e i) = φ i (x i) := by simp [restrict...
307
leanexplore_declaration
leanexplore:381411
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem Equiv.restrictedProductCongr_symm_apply {e : ι₁ ≃ ι₂} {h : 𝓕₁ = 𝓕₂.comap e} {φ : (i : ι₁) → R₁ i ≃ R₂ (e i)} {hφ : ∀ᶠ i in 𝓕₁, Set.BijOn (φ i) (A₁ i) (A₂ (e i))} {x : Πʳ j, [R₂ j, A₂ j]_[𝓕₂]} : (e.restrictedProductCongr h φ hφ).symm x = fun a => (φ a).symm (x (e a)) := rfl
569
leanexplore_declaration
leanexplore:381412
leanexplore_sqlite
leanexplore_declarations
/-- The additive monoid isomorphism between restricted products when the indices and factors are equivalent, provided compatibility criteria on the restriction filters and factors. -/ @[simps! apply] def AddEquiv.restrictedProductCongr (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (φ : (i : ι₁) → R₁ i ≃+ R₂ (e i)) (hφ ...
317
leanexplore_declaration
leanexplore:381413
leanexplore_sqlite
leanexplore_declarations
@[simps! apply] def AddEquiv.restrictedProductCongr (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (φ : (i : ι₁) → R₁ i ≃+ R₂ (e i)) (hφ : ∀ᶠ i in 𝓕₁, Set.BijOn (φ i) (A₁ i) (A₂ (e i))) : (Πʳ i, [R₁ i, A₁ i]_[𝓕₁]) ≃+ (Πʳ j, [R₂ j, A₂ j]_[𝓕₂]) where __ := Equiv.restrictedProductCongr e h (fun _ ↦ (φ _).toEquiv) ...
559
leanexplore_declaration
leanexplore:381414
leanexplore_sqlite
leanexplore_declarations
/-- The multiplicative monoid isomorphism between restricted products when the indices and factors are equivalent, provided compatibility criteria on the restriction filters and factors. -/ def MulEquiv.restrictedProductCongr (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (φ : (i : ι₁) → R₁ i ≃* R₂ (e i)) (hφ : ∀ᶠ i in ...
551
leanexplore_declaration
leanexplore:381415
leanexplore_sqlite
leanexplore_declarations
/-- The ring isomorphism between restricted products when the indices and factors are equivalent, provided compatibility criteria on the restriction filters and factors. -/ def RingEquiv.restrictedProductCongr (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (φ : (i : ι₁) → R₁ i ≃+* R₂ (e i)) (hφ : ∀ᶠ i in 𝓕₁, Set.BijOn ...
347
leanexplore_declaration
leanexplore:381416
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem RingEquiv.restrictedProductCongr_apply_apply {e : ι₁ ≃ ι₂} {h : 𝓕₁ = 𝓕₂.comap e} {φ : (i : ι₁) → R₁ i ≃+* R₂ (e i)} {hφ : ∀ᶠ i in 𝓕₁, Set.BijOn (φ i) (A₁ i) (A₂ (e i))} {x : Πʳ i, [R₁ i, A₁ i]_[𝓕₁]} {i : ι₁} : RingEquiv.restrictedProductCongr e h φ hφ x (e i) = φ i (x i) := by ...
323
leanexplore_declaration
leanexplore:381417
leanexplore_sqlite
leanexplore_declarations
@[simp] theorem RingEquiv.restrictedProductCongr_symm_apply {e : ι₁ ≃ ι₂} {h : 𝓕₁ = 𝓕₂.comap e} {φ : (i : ι₁) → R₁ i ≃+* R₂ (e i)} {hφ : ∀ᶠ i in 𝓕₁, Set.BijOn (φ i) (A₁ i) (A₂ (e i))} {x : Πʳ j, [R₂ j, A₂ j]_[𝓕₂]} : (RingEquiv.restrictedProductCongr e h φ hφ).symm x = fun a => (φ a).symm (x (e a)) :...
570
leanexplore_declaration
leanexplore:381418
leanexplore_sqlite
leanexplore_declarations
/-- The linear isomorphism between restricted products when the indices and factors are equivalent, provided compatibility criteria on the restriction filters and factors. -/ def LinearEquiv.restrictedProductCongr (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (φ : (i : ι₁) → R₁ i ≃ₗ[T] R₂ (e i)) (hφ : ∀ᶠ i in 𝓕₁, Set....
661
leanexplore_declaration
leanexplore:381419
leanexplore_sqlite
leanexplore_declarations
theorem RingEquiv.restrictedProductCongr_bijOn_structureSubring (e : ι₁ ≃ ι₂) (h : 𝓕₁ = 𝓕₂.comap e) (φ : (i : ι₁) → R₁ i ≃+* R₂ (e i)) (hφ : ∀ i, Set.BijOn (φ i) (A₁ i) (A₂ (e i))) : Set.BijOn (restrictedProductCongr e h φ (.of_forall hφ)) (structureSubring R₁ A₁ 𝓕₁) (structureSubring R₂ A₂ 𝓕₂) :=...
607
leanexplore_declaration
leanexplore:381420
leanexplore_sqlite
leanexplore_declarations
/-- The bijection between a restricted product of binary products, and the binary product of the restricted products. -/ @[simps] def Equiv.restrictedProductProd : Πʳ i, [A i × B i, C i ×ˢ D i]_[ℱ] ≃ (Πʳ i, [A i, C i]_[ℱ]) × (Πʳ i, [B i, D i]_[ℱ]) where toFun x := (map (fun i (t : A i × B i) ↦ t.1) (by simp +cont...
222
leanexplore_declaration
leanexplore:381421
leanexplore_sqlite
leanexplore_declarations
@[simps] def Equiv.restrictedProductProd : Πʳ i, [A i × B i, C i ×ˢ D i]_[ℱ] ≃ (Πʳ i, [A i, C i]_[ℱ]) × (Πʳ i, [B i, D i]_[ℱ]) where toFun x := (map (fun i (t : A i × B i) ↦ t.1) (by simp +contextual [Set.MapsTo]) x,
281
leanexplore_declaration
leanexplore:381423
leanexplore_sqlite
leanexplore_declarations
lemma Equiv.restrictedProductProd_symm_comp_inclusion {ℱ₁ ℱ₂ : Filter ι} (hℱ : ℱ₁ ≤ ℱ₂) : Equiv.restrictedProductProd.symm ∘ Prod.map (inclusion _ _ hℱ) (inclusion _ _ hℱ) = inclusion (fun i ↦ A i × B i) (fun i ↦ C i ×ˢ D i) hℱ ∘ Equiv.restrictedProductProd.symm := rfl
410
leanexplore_declaration
leanexplore:381424
leanexplore_sqlite
leanexplore_declarations
/-- The bijection between a restricted product of finite products, and a finite product of restricted products. -/ def Equiv.restrictedProductPi : Πʳ i, [Π j, A j i, {f | ∀ j, f j ∈ C j i}]_[ℱ] ≃ Π j, Πʳ i, [A j i, C j i]_[ℱ] where toFun x j := map (fun i t ↦ t _) (by simp +contextual [Set.MapsTo]) x invFun y :...
233
leanexplore_declaration
leanexplore:381425
leanexplore_sqlite
leanexplore_declarations
lemma Equiv.restrictedProductPi_symm_comp_inclusion {ℱ₁ ℱ₂ : Filter ι} (hℱ : ℱ₁ ≤ ℱ₂) : Equiv.restrictedProductPi.symm ∘ Pi.map (fun i ↦ inclusion (A i) (C i) hℱ) = inclusion _ _ hℱ ∘ Equiv.restrictedProductPi.symm := rfl
426
leanexplore_declaration
leanexplore:381426
leanexplore_sqlite
leanexplore_declarations
/-- The bijection between a restricted product of m x n matrices, and m x n matrices of restricted products. -/ def Equiv.restrictedProductMatrix {ι : Type*} {m n : Type*} [Fintype m] [Fintype n] {A : ι → Type*} {C : (i : ι) → Set (A i)} : Πʳ i, [Matrix m n (A i), {f | ∀ a b, f a b ∈ C i}] ≃ Matrix m n (Πʳ ...
384
leanexplore_declaration
leanexplore:381427
leanexplore_sqlite
leanexplore_declarations
/-- The canonical map from a restricted product of products over fibres of a map on indexing sets to the restricted product over the original indexing set. -/ def flatten : Πʳ j, [Π (i : f ⁻¹' {j}), G i, Set.pi Set.univ (fun (i : f ⁻¹' {j}) => C i)]_[𝒢] → Πʳ i, [G i, C i]_[ℱ] := mapAlong _ G f hf (fun i x ↦ x ⟨i...
118
leanexplore_declaration
leanexplore:381428
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma flatten_apply (hf : Filter.Tendsto f ℱ 𝒢) (x) (i : ι) : flatten C hf x i = x (f i) ⟨i, rfl⟩ := rfl
613
leanexplore_declaration
leanexplore:381429
leanexplore_sqlite
leanexplore_declarations
/-- The canonical bijection from a restricted product of products over fibres of a map on indexing sets to the restricted product over the original indexing set. -/ def flatten_equiv : Πʳ j, [Π (i : f ⁻¹' {j}), G i, Set.pi Set.univ (fun (i : f ⁻¹' {j}) => C i)]_[𝒢] ≃ Πʳ i, [G i, C i]_[ℱ] where toFun := flatt...
102
leanexplore_declaration
leanexplore:381430
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma flatten_equiv_apply (x) (i : ι) : flatten_equiv C hf x i = x (f i) ⟨i, rfl⟩ := rfl
122
leanexplore_declaration
leanexplore:381431
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma flatten_equiv_symm_apply (x) (i : ι₂) (j : f ⁻¹' {i}) : (flatten_equiv C hf).symm x i j = x j.1 := rfl
326
leanexplore_declaration
leanexplore:381432
leanexplore_sqlite
leanexplore_declarations
/-- The equivalence given by `flatten` when both restricted products are over the cofinite filter. -/ def flatten_equiv' : Πʳ j, [Π (i : f ⁻¹' {j}), G i, Set.pi Set.univ (fun (i : f ⁻¹' {j}) => C i)] ≃ Πʳ i, [G i, C i] := flatten_equiv C <| le_antisymm (Filter.comap_cofinite_le f) (Filter.map_le_iff_le_comap....
104
leanexplore_declaration
leanexplore:381433
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma flatten_equiv'_apply (x) (i : ι) : flatten_equiv' C hf x i = x (f i) ⟨i, rfl⟩ := rfl
124
leanexplore_declaration
leanexplore:381434
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma flatten_equiv'_symm_apply (x) (i : ι₂) (j : f ⁻¹' {i}) : (flatten_equiv' C hf).symm x i j = x j.1 := rfl
436
leanexplore_declaration
leanexplore:381435
leanexplore_sqlite
leanexplore_declarations
/-- The canonical isomorphism between `Πʳ i, [R i, A i]_[𝓟 S]` and `(Π i ∈ S, R i) × (Π i ∉ S, A i)` -/ def principalEquivProd : Πʳ i, [R i, A i]_[𝓟 S] ≃ (Π i : S, A i) × (Π i : (Sᶜ : Set ι), R i) where toFun x := (fun i ↦ ⟨x i, x.2 i.2⟩, fun i ↦ x i) invFun y := ⟨fun i ↦ if hi : i ∈ S then y.1 ⟨i, hi⟩ else y...
347
leanexplore_declaration
leanexplore:381436
leanexplore_sqlite
leanexplore_declarations
/-- Monoid equivalence version of `principalEquivProd`. -/ @[to_additive /-- Additive monoid equivalence of principalEquivProd. -/] def principalMulEquivProd [Π i, Monoid (R i)] [∀ i, SubmonoidClass (T i) (R i)] : Πʳ i, [R i, A i]_[𝓟 S] ≃* (Π i : S, A i) × (Π i : (Sᶜ : Set ι), R i) where __ := principalEquivProd...
266
leanexplore_declaration
leanexplore:381437
leanexplore_sqlite
leanexplore_declarations
@[to_additive /-- Additive monoid equivalence of principalEquivProd. -/] def principalMulEquivProd [Π i, Monoid (R i)] [∀ i, SubmonoidClass (T i) (R i)] : Πʳ i, [R i, A i]_[𝓟 S] ≃* (Π i : S, A i) × (Π i : (Sᶜ : Set ι), R i) where __ := principalEquivProd R S _
382
leanexplore_declaration
leanexplore:381438
leanexplore_sqlite
leanexplore_declarations
/-- Module equivalence version of `principalEquivProd`. -/ noncomputable def principalLinearEquivProd [Π i, AddCommGroup (R i)] [∀ i, Module A (R i)] {C : ∀ i, Submodule A (R i)} (S : Set ι) [∀ i, Decidable (i ∈ S)] : (Πʳ i, [R i, C i]_[𝓟 S]) ≃ₗ[A] ((Π i : S, C i) × (Π i : (Sᶜ : Set ι), R i)) where ...
199
leanexplore_declaration
leanexplore:381439
leanexplore_sqlite
leanexplore_declarations
instance : SMul (Πʳ i, [R i, B i]_[ℱ]) (Πʳ i, [M i, C i]_[ℱ]) where smul r m := ⟨fun i ↦ (r i) • (m i), by filter_upwards [r.prop, m.prop] with i hr hm using SMulMemClass.smul_mem ⟨r i, hr⟩ hm⟩
124
leanexplore_declaration
leanexplore:381440
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma smul_apply' (r : Πʳ i, [R i, B i]_[ℱ]) (m : Πʳ i, [M i, C i]_[ℱ]) (i : ι) : (r • m) i = r i • m i := rfl
278
leanexplore_declaration
leanexplore:381441
leanexplore_sqlite
leanexplore_declarations
instance : Module (Πʳ i, [R i, B i]_[ℱ]) (Πʳ i, [M i, C i]_[ℱ]) where zero_smul m := by ext; simp smul_zero r := by ext; simp one_smul m := by ext; simp add_smul r s m:= by ext; simp [add_smul] smul_add r m n := by ext; simp mul_smul r s m := by ext; simp [mul_smul]
220
leanexplore_declaration
leanexplore:381442
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma single_smul [DecidableEq ι] (i : ι) (r : R i) (m : Πʳ i, [M i, C i]) : single B i r • m = single C i (r • m i) := by ext j obtain (rfl | hi) := em (i = j) · simp · simp [single_eq_of_ne' _ _ hi]
220
leanexplore_declaration
leanexplore:381443
leanexplore_sqlite
leanexplore_declarations
@[simp] lemma smul_single [DecidableEq ι] (i : ι) (r : Πʳ i, [R i, B i]) (m : M i) : r • single C i m = single C i (r i • m) := by ext j obtain (rfl | hi) := em (i = j) · simp · simp [single_eq_of_ne' _ _ hi]
122
leanexplore_declaration
leanexplore:381444
leanexplore_sqlite
leanexplore_declarations
lemma single_eq_smul [DecidableEq ι] (i : ι) (m : Πʳ i, [M i, C i]) : single B i 1 • m = single C i (m i) := by simp
407
leanexplore_declaration
leanexplore:381445
leanexplore_sqlite
leanexplore_declarations
/-- Components of a linear map. -/ noncomputable def linearMap_component (f : Πʳ i, [M i, C i] →ₗ[Πʳ i, [R i, B i]] Πʳ i, [M₂ i, C₂ i]) (i : ι) : M i →ₗ[R i] M₂ i where toFun x := f (single C i x) i map_add' x y := by simp [single_add] map_smul' r m := by let r' := single B i r have hr : r = r...
174
leanexplore_declaration
leanexplore:381446
leanexplore_sqlite
leanexplore_declarations
lemma linearMap_component_apply (f : Πʳ i, [M i, C i] →ₗ[Πʳ i, [R i, B i]] Πʳ i, [M₂ i, C₂ i]) (i : ι) (x : M i) : linearMap_component f i x = f (single C i x) i := rfl
279
leanexplore_declaration
leanexplore:381447
leanexplore_sqlite
leanexplore_declarations
lemma linearMap_apply_eq_component (f : Πʳ i, [M i, C i] →ₗ[Πʳ i, [R i, B i]] Πʳ i, [M₂ i, C₂ i]) (x : Πʳ i, [M i, C i]) (i : ι) : f x i = (linearMap_component f i) (x i):= by rw [linearMap_component_apply, ← single_eq_smul, map_smul, single_smul, single_eq_same, one_smul]
194
leanexplore_declaration
leanexplore:381448
leanexplore_sqlite
leanexplore_declarations
instance : ContinuousSMul (Πʳ i, [R i, B i]_[𝓟 T]) (Πʳ i, [M i, C i]_[𝓟 T]) := isEmbedding_coe_of_principal.continuousSMul isEmbedding_coe_of_principal.continuous (fun {c x} ↦ by ext; rfl)
252
leanexplore_declaration
leanexplore:381449
leanexplore_sqlite
leanexplore_declarations
instance [∀ i, ContinuousSMul (R i) (M i)] : ContinuousSMul (Πʳ i, [R i, B i]) (Πʳ i, [M i, C i]) where continuous_smul := by rw [continuous_dom_prod hBopen.elim hCopen.elim] exact fun S hS ↦ (continuous_inclusion hS).comp continuous_smul
534
leanexplore_declaration
leanexplore:381450
leanexplore_sqlite
leanexplore_declarations
theorem isOpenMap_linearMap_of_surjective [DecidableEq ι] (hCopen : ∀ i, IsOpen (C i : Set (M i))) (hCopen₂ : ∀ i, IsOpen (C₂ i : Set (M₂ i))) (f : Πʳ i, [M i, C i] →ₗ[Πʳ i, [R i, B i]] Πʳ i, [M₂ i, C₂ i]) (hf : ∀ i, IsOpenMap (linearMap_component f i)) (hsurj : ∀ᶠ i in Filter.cofinite, Set.SurjOn (...
229
leanexplore_declaration
leanexplore:381451
leanexplore_sqlite
leanexplore_declarations
/-- If `B i` is subring of `R i` then `(B i)^n` is a `B i`-submodule of `(R i)^n`. -/ def piSubringSubmodule (i : ι) : Submodule (B i) (n → R i) := Submodule.pi Set.univ fun (_ : n) ↦ Subring.toSubmodule (Subring.ofClass (B i))
546
leanexplore_declaration
leanexplore:381452
leanexplore_sqlite
leanexplore_declarations
/-- Canonical linear equivalence between `Π' R^n` and `(Π' R)^n` -/ def _root_.LinearEquiv.restrictedProductPi [Fintype n] : Πʳ i, [n → R i, piSubringSubmodule B n i]_[ℱ] ≃ₗ[Πʳ i, [R i, B i]_[ℱ]] n → Πʳ i, [R i, B i]_[ℱ] where toFun x j := map (fun i y ↦ y j) (by filter_upwards with i r hr r...
261
leanexplore_declaration
leanexplore:381453
leanexplore_sqlite
leanexplore_declarations
lemma isOpen_piSubringSubmodule [Finite n] (hOpen : ∀ i, IsOpen (B i : Set (R i))) (i : ι) : IsOpen (SetLike.coe <| piSubringSubmodule B n i) := by rw [piSubringSubmodule, Submodule.coe_pi] apply isOpen_set_pi Set.finite_univ intro j _ exact hOpen i
729
leanexplore_declaration
leanexplore:381454
leanexplore_sqlite
leanexplore_declarations
/-- Canonical continuous linear equivalence between `Π' R^n` and `(Π' R)^n` -/ def _root_.ContinuousLinearEquiv.restrictedProductPi [Fintype n] (hOpen : ∀ i, IsOpen (B i : Set (R i))) : Πʳ i, [n → R i, piSubringSubmodule B n i] ≃L[Πʳ i, [R i, B i]] n → Πʳ i, [R i, B i] where __ := LinearEquiv.restrictedProduc...
299
leanexplore_declaration
leanexplore:381455
leanexplore_sqlite
leanexplore_declarations
lemma moduleToplogy_of_prod [Finite n] (hOpen : ∀ i, IsOpen (B i : Set (R i))) : IsModuleTopology (Πʳ i, [R i, B i]) (Πʳ i, [n → R i, piSubringSubmodule B n i]) := let := Fintype.ofFinite n have := Fact.mk hOpen IsModuleTopology.iso (ContinuousLinearEquiv.restrictedProductPi n hOpen).symm
1,211
leanexplore_declaration
leanexplore:381456
leanexplore_sqlite
leanexplore_declarations
theorem isModuleTopology (hBOpen : ∀ i, IsOpen (B i : Set (R i))) (hCOpen : ∀ i, IsOpen (C i : Set (M i))) : IsModuleTopology (Πʳ i, [R i, B i]) (Πʳ i, [M i, C i]) := by have := Fact.mk hBOpen have := Fact.mk hCOpen obtain ⟨n, f, hf⟩ := Module.Finite.exists_fin' (Πʳ i, [R i, B i]) (Πʳ i, [M i, C i]) let...
263
leanexplore_declaration
leanexplore:381457
leanexplore_sqlite
leanexplore_declarations
@[fun_prop] theorem Continuous.restrictedProduct_congrRight {φ : (i : ι) → G i → H i} (hφ : ∀ᶠ i in ℱ, Set.MapsTo (φ i) (C i) (D i)) (hφcont : ∀ i, Continuous (φ i)) : Continuous (map φ hφ) := mapAlong_continuous G H id Filter.tendsto_id φ hφ hφcont
927
leanexplore_declaration
leanexplore:381458
leanexplore_sqlite
leanexplore_declarations
/-- The `ContinuousMulEquiv` (that is, group isomorphism and homeomorphism) between restricted products built from `ContinuousMulEquiv`s on the factors. -/ @[to_additive /-- The `ContinuousAddEquiv` (that is, additive group isomorphism and homeomorphism) between restricted products built from `ContinuousAddEquiv`s on t...
399
leanexplore_declaration
leanexplore:381459
leanexplore_sqlite
leanexplore_declarations
@[to_additive /-- The `ContinuousAddEquiv` (that is, additive group isomorphism and homeomorphism) between restricted products built from `ContinuousAddEquiv`s on the factors. -/] def ContinuousMulEquiv.restrictedProductCongrRight (φ : (i : ι) → G i ≃ₜ* H i) (hφ : ∀ᶠ i in ℱ, Set.BijOn (φ i) (A i) (B i)) : (Πʳ i...
371
leanexplore_declaration
leanexplore:381460
leanexplore_sqlite
leanexplore_declarations
/-- The forward direction of `Equiv.restrictedProductProd` is continuous with any filter, not just the cofinite one -/ lemma Equiv.continuous_restrictedProductProd [∀ i, TopologicalSpace (A i)] [∀ i, TopologicalSpace (B i)] : Continuous (Equiv.restrictedProductProd (C := C) (D := D) (ℱ := ℱ)) := by simp only ...
516
leanexplore_declaration
leanexplore:381461
leanexplore_sqlite
leanexplore_declarations
@[fun_prop] lemma Equiv.continuous_restrictedProductProd_symm {S : Set ι} [∀ i, TopologicalSpace (A i)] [∀ i, TopologicalSpace (B i)] : Continuous (Equiv.restrictedProductProd (C := C) (D := D) (ℱ := .principal S)).symm := by simp only [restrictedProductProd, coe_fn_symm_mk] rw [continuous_rng_of_principal_...
720
leanexplore_declaration
leanexplore:381462
leanexplore_sqlite
leanexplore_declarations
/-- The homeomorphism between restricted product of binary products, and the binary projuct of the restricted products, when the products are with respect to open subsets. -/ def Homeomorph.restrictedProductProd [∀ i, TopologicalSpace (A i)] [∀ i, TopologicalSpace (B i)] (hCopen : ∀ (i : ι), IsOpen (C i)) (hDopen :...
324
leanexplore_declaration
leanexplore:381463
leanexplore_sqlite
leanexplore_declarations
/-- The forward direction of `Equiv.restrictedProductPi` is continuous with any filter, not just the cofinite one -/ lemma Equiv.continuous_restrictedProductPi [∀ j i, TopologicalSpace (A j i)] : Continuous (Equiv.restrictedProductPi (C := C) (ℱ := ℱ)) := by simp only [Equiv.restrictedProductPi, coe_fn_mk] fun_...
357
leanexplore_declaration
leanexplore:381464
leanexplore_sqlite
leanexplore_declarations
@[fun_prop] lemma Equiv.continuous_restrictedProductPi_symm {S : Set ι} [∀ j i, TopologicalSpace (A j i)] : Continuous (Equiv.restrictedProductPi (C := C) (ℱ := .principal S)).symm := by rw [continuous_rng_of_principal_iff_forall] intro i rw [continuous_pi_iff] intro j exact (RestrictedProduct.continu...
735
leanexplore_declaration
leanexplore:381465
leanexplore_sqlite
leanexplore_declarations
/-- The homeomorphism between a restricted product of finite products, and a finite product of restricted products, when the products are with respect to open subsets. -/ def Homeomorph.restrictedProductPi {ι : Type*} {n : Type*} [Fintype n] {A : n → ι → Type*} [∀ j i, TopologicalSpace (A j i)] {C : (j : n) → (...