Skip to content

Commit 5de993f

Browse files
committed
drop borel_type wrap on sfun_op and submodule structure
1 parent 82e44bb commit 5de993f

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

theories/lebesgue_integral_theory/simple_functions.v

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -221,12 +221,10 @@ Section sfun_lmodType.
221221
Context d (aT : measurableType d) (R : realType).
222222
Import HBSimple.
223223

224-
HB.instance Definition _ (V : normedModType R) := GRing.Lmodule.on (borel_type V).
225-
226224
Lemma sfun_op (U V W : normedModType R)
227-
(f : {sfun aT >-> borel_type U}) (g : {sfun aT >-> borel_type V})
225+
(f : {sfun aT >-> U}) (g : {sfun aT >-> V})
228226
(h : U * V -> W) :
229-
(fun x => h (f x, g x)) \in @sfun _ _ aT (borel_type W).
227+
(fun x => h (f x, g x)) \in @sfun _ _ aT W.
230228
Proof.
231229
rewrite inE; apply/andP; split; rewrite inE/=.
232230
move=> _ Y mY; rewrite setTI.
@@ -252,17 +250,17 @@ by apply: finite_image; apply: finite_setX; exact: fimfunP.
252250
Qed.
253251

254252
Lemma sfun_submod_closed (V : normedModType R) :
255-
submod_closed (@sfun _ _ aT (borel_type V)).
253+
submod_closed (@sfun _ _ aT V).
256254
Proof.
257-
split=> [|k f g sf sg]; first exact: (valP (cst_sfun (0 : borel_type V))).
255+
split=> [|k f g sf sg]; first exact: (valP (cst_sfun (0 : V))).
258256
exact: (sfun_op (sfun_Sub sf) (sfun_Sub sg) (fun t => k *: t.1 + t.2)).
259257
Qed.
260258

261259
HB.instance Definition _ (V : normedModType R) :=
262-
GRing.isSubmodClosed.Build _ _ (@sfun _ _ aT (borel_type V))
260+
GRing.isSubmodClosed.Build _ _ (@sfun _ _ aT V)
263261
(sfun_submod_closed V).
264262
HB.instance Definition _ (V : normedModType R) :=
265-
[SubChoice_isSubLmodule of {sfun aT >-> borel_type V} by <:].
263+
[SubChoice_isSubLmodule of {sfun aT >-> V} by <:].
266264

267265
End sfun_lmodType.
268266

0 commit comments

Comments
 (0)