@@ -58,7 +58,7 @@ noncomputable section
5858
5959open scoped NNReal ENNReal Function
6060
61- variable {Ξ± : Type *} {E : Ξ± β Type *} {p q : ββ₯0 β} [β i, NormedAddCommGroup (E i)]
61+ variable {π π' : Type *} { Ξ± : Type *} {E : Ξ± β Type *} {p q : ββ₯0 β} [β i, NormedAddCommGroup (E i)]
6262
6363/-!
6464### `Memβp` predicate
@@ -234,7 +234,7 @@ theorem finset_sum {ΞΉ} (s : Finset ΞΉ) {f : ΞΉ β β i, E i} (hf : β i β
234234
235235section BoundedSMul
236236
237- variable {π : Type *} [NormedRing π] [β i, Module π (E i)] [β i, BoundedSMul π (E i)]
237+ variable [NormedRing π] [β i, Module π (E i)] [β i, BoundedSMul π (E i)]
238238
239239theorem const_smul {f : β i, E i} (hf : Memβp f p) (c : π) : Memβp (c β’ f) p := by
240240 rcases p.trichotomy with (rfl | rfl | hp)
@@ -259,7 +259,7 @@ theorem const_smul {f : β i, E i} (hf : Memβp f p) (c : π) : Memβp (c
259259 apply nnnorm_smul_le
260260
261261theorem const_mul {f : Ξ± β π} (hf : Memβp f p) (c : π) : Memβp (fun x => c * f x) p :=
262- @Memβp .const_smul Ξ± ( fun _ => π) _ _ π _ _ ( fun i => by infer_instance) _ hf c
262+ hf .const_smul c
263263
264264end BoundedSMul
265265
@@ -539,7 +539,6 @@ end ComparePointwise
539539
540540section BoundedSMul
541541
542- variable {π : Type *} {π' : Type *}
543542variable [NormedRing π] [NormedRing π']
544543variable [β i, Module π (E i)] [β i, Module π' (E i)]
545544
@@ -560,20 +559,20 @@ variable [β i, BoundedSMul π (E i)] [β i, BoundedSMul π' (E i)]
560559theorem mem_lp_const_smul (c : π) (f : lp E p) : c β’ (f : PreLp E) β lp E p :=
561560 (lp.memβp f).const_smul c
562561
563- variable (E p π )
562+ variable (π E p)
564563
565564/-- The `π`-submodule of elements of `β i : Ξ±, E i` whose `lp` norm is finite. This is `lp E p`,
566565with extra structure. -/
567566def _root_.lpSubmodule : Submodule π (PreLp E) :=
568567 { lp E p with smul_mem' := fun c f hf => by simpa using mem_lp_const_smul c β¨f, hfβ© }
569568
570- variable {E p π }
569+ variable {π E p}
571570
572- theorem coe_lpSubmodule : (lpSubmodule E p π ).toAddSubgroup = lp E p :=
571+ theorem coe_lpSubmodule : (lpSubmodule π E p).toAddSubgroup = lp E p :=
573572 rfl
574573
575574instance : Module π (lp E p) :=
576- { (lpSubmodule E p π ).module with }
575+ { (lpSubmodule π E p).module with }
577576
578577@[simp]
579578theorem coeFn_smul (c : π) (f : lp E p) : β(c β’ f) = c β’ βf :=
@@ -628,7 +627,6 @@ end BoundedSMul
628627
629628section DivisionRing
630629
631- variable {π : Type *}
632630variable [NormedDivisionRing π] [β i, Module π (E i)] [β i, BoundedSMul π (E i)]
633631
634632theorem norm_const_smul (hp : p β 0 ) {c : π} (f : lp E p) : βc β’ fβ = βcβ * βfβ := by
@@ -642,7 +640,7 @@ end DivisionRing
642640
643641section NormedSpace
644642
645- variable {π : Type *} [NormedField π] [β i, NormedSpace π (E i)]
643+ variable [NormedField π] [β i, NormedSpace π (E i)]
646644
647645instance instNormedSpace [Fact (1 β€ p)] : NormedSpace π (lp E p) where
648646 norm_smul_le c f := norm_smul_le c f
@@ -692,7 +690,7 @@ instance [hp : Fact (1 β€ p)] : NormedStarGroup (lp E p) where
692690 Β· simp only [lp.norm_eq_ciSup, lp.star_apply, norm_star]
693691 Β· simp only [lp.norm_eq_tsum_rpow h, lp.star_apply, norm_star]
694692
695- variable {π : Type *} [Star π] [NormedRing π]
693+ variable [Star π] [NormedRing π]
696694variable [β i, Module π (E i)] [β i, BoundedSMul π (E i)] [β i, StarModule π (E i)]
697695
698696instance : StarModule π (lp E p) where
@@ -840,7 +838,7 @@ end NormedCommRing
840838
841839section Algebra
842840
843- variable {I : Type *} {π : Type *} { B : I β Type *}
841+ variable {I : Type *} {B : I β Type *}
844842variable [NormedField π] [β i, NormedRing (B i)] [β i, NormedAlgebra π (B i)]
845843
846844/-- A variant of `Pi.algebra` that lean can't find otherwise. -/
@@ -874,7 +872,7 @@ end Algebra
874872
875873section Single
876874
877- variable {π : Type *} [NormedRing π] [β i, Module π (E i)] [β i, BoundedSMul π (E i)]
875+ variable [NormedRing π] [β i, Module π (E i)] [β i, BoundedSMul π (E i)]
878876variable [DecidableEq Ξ±]
879877
880878/-- The element of `lp E p` which is `a : E i` at the index `i`, and zero elsewhere. -/
0 commit comments