860860Lemma subspace_continuous_measurable_fun (D : set R) (f : subspace D -> R) :
861861 measurable D -> continuous f -> measurable_fun D f.
862862Proof .
863- move=> mD /continuousP cf; apply: (measurability (RGenOpens.measurableE R)).
863+ move=> mD /continuousP cf; apply: (measurability _ (RGenOpens.measurableE R)).
864864move=> _ [_ [a [b ->] <-]]; apply: open_measurable_subspace => //.
865865exact/cf/interval_open.
866866Qed .
@@ -883,7 +883,7 @@ End coutinuous_measurable.
883883Lemma lower_semicontinuous_measurable {R : realType} (f : R -> \bar R) :
884884 lower_semicontinuous f -> measurable_fun setT f.
885885Proof .
886- move=> scif; apply: (measurability (ErealGenOInfty.measurableE R)).
886+ move=> scif; apply: (measurability _ (ErealGenOInfty.measurableE R)).
887887move=> /= _ [_ [a ->]] <-; apply: measurableI => //; apply: open_measurable.
888888by rewrite preimage_itvoy; move/lower_semicontinuousP : scif; exact.
889889Qed .
900900
901901Lemma normr_measurable D : measurable_fun D (@normr _ R).
902902Proof .
903- move=> mD; apply: (measurability (RGenOInfty.measurableE R)) => //.
903+ move=> mD; apply: (measurability _ (RGenOInfty.measurableE R)) => //.
904904move=> /= _ [_ [x ->] <-]; apply: measurableI => //.
905905have [x0|x0] := leP 0 x.
906906 rewrite [X in measurable X](_ : _ = `]-oo, (- x)[ `|` `]x, +oo[)%classic.
@@ -962,7 +962,7 @@ Implicit Types (D : set T) (f g : T -> R).
962962Lemma measurable_funD D f g :
963963 measurable_fun D f -> measurable_fun D g -> measurable_fun D (f \+ g).
964964Proof .
965- move=> mf mg mD; apply: (measurability (RGenOInfty.measurableE R)) => //.
965+ move=> mf mg mD; apply: (measurability _ (RGenOInfty.measurableE R)) => //.
966966move=> /= _ [_ [a ->] <-]; rewrite preimage_itvoy.
967967rewrite [X in measurable X](_ : _ = \bigcup_(q : rat)
968968 ((D `&` [set x | ratr q < f x]) `&` (D `&` [set x | a - ratr q < g x]))).
@@ -1042,7 +1042,7 @@ Lemma measurable_fun_sups D (h : (T -> R)^nat) n :
10421042 (forall m, measurable_fun D (h m)) ->
10431043 measurable_fun D (fun x => sups (h ^~ x) n).
10441044Proof .
1045- move=> f_ub mf mD; apply: (measurability (RGenOInfty.measurableE R)) => //.
1045+ move=> f_ub mf mD; apply: (measurability _ (RGenOInfty.measurableE R)) => //.
10461046move=> _ [_ [x ->] <-]; rewrite sups_preimage // setI_bigcupr.
10471047by apply: bigcup_measurable => k /= nk; apply: mf => //; exact: measurable_itv.
10481048Qed .
@@ -1052,7 +1052,7 @@ Lemma measurable_fun_infs D (h : (T -> R)^nat) n :
10521052 (forall n, measurable_fun D (h n)) ->
10531053 measurable_fun D (fun x => infs (h ^~ x) n).
10541054Proof .
1055- move=> lb_f mf mD; apply: (measurability (RGenInftyO.measurableE R)) =>//.
1055+ move=> lb_f mf mD; apply: (measurability _ (RGenInftyO.measurableE R)) => //.
10561056move=> _ [_ [x ->] <-]; rewrite infs_preimage // setI_bigcupr.
10571057by apply: bigcup_measurable => k /= nk; apply: mf => //; exact: measurable_itv.
10581058Qed .
@@ -1228,7 +1228,7 @@ Implicit Types (D : set T) (f g : T -> nat).
12281228Lemma measurable_fun_addn D f g : measurable_fun D f -> measurable_fun D g ->
12291229 measurable_fun D (fun x => f x + g x)%N.
12301230Proof .
1231- move=> mf mg mD; apply: (measurability NGenCInfty.measurableE) => //.
1231+ move=> mf mg mD; apply: (measurability _ NGenCInfty.measurableE) => //.
12321232move=> /= _ [_ [a ->] <-]; rewrite preimage_itvcy.
12331233rewrite [X in measurable X](_ : _ = \bigcup_q
12341234 ((D `&` [set x | q <= f x]%O) `&` (D `&` [set x | (a - q)%N <= g x]%O))).
@@ -1247,7 +1247,7 @@ Qed.
12471247Lemma measurable_fun_maxn D f g : measurable_fun D f -> measurable_fun D g ->
12481248 measurable_fun D (fun x => maxn (f x) (g x)).
12491249Proof .
1250- move=> mf mg mD; apply: (measurability NGenCInfty.measurableE) => //.
1250+ move=> mf mg mD; apply: (measurability _ NGenCInfty.measurableE) => //.
12511251move=> /= _ [_ [a ->] <-]; rewrite [X in measurable X](_ : _ =
12521252 ((D `&` [set x | a <= f x]%O) `|` (D `&` [set x | a <= g x]%O))).
12531253 apply: measurableU.
@@ -1266,7 +1266,7 @@ Let measurable_fun_subn' D f g : (forall t, g t <= f t)%N ->
12661266 measurable_fun D f -> measurable_fun D g ->
12671267 measurable_fun D (fun x => f x - g x)%N.
12681268Proof .
1269- move=> gf mf mg mD; apply: (measurability NGenCInfty.measurableE) => //.
1269+ move=> gf mf mg mD; apply: (measurability _ NGenCInfty.measurableE) => //.
12701270move=> /= _ [_ [a ->] <-]; rewrite preimage_itvcy.
12711271rewrite [X in measurable X](_ : _ = \bigcup_q
12721272 ((D `&` [set x | maxn a q <= f x]%O) `&`
@@ -1366,14 +1366,14 @@ Variable R : realType.
13661366
13671367Lemma EFin_measurable (D : set R) : measurable_fun D EFin.
13681368Proof .
1369- move=> mD; apply: (measurability (ErealGenOInfty.measurableE R)) => //.
1369+ move=> mD; apply: (measurability _ (ErealGenOInfty.measurableE R)) => //.
13701370move=> /= _ [_ [x ->]] <-; apply: measurableI => //.
13711371by rewrite preimage_itvoy EFin_itv; exact: measurable_itv.
13721372Qed .
13731373
13741374Lemma abse_measurable (D : set (\bar R)) : measurable_fun D abse.
13751375Proof .
1376- move=> mD; apply: (measurability (ErealGenOInfty.measurableE R)) => //.
1376+ move=> mD; apply: (measurability _ (ErealGenOInfty.measurableE R)) => //.
13771377move=> /= _ [_ [x ->] <-].
13781378rewrite [X in _ @^-1` X](punct_eitv_bndy _ x) preimage_setU setIUr.
13791379apply: measurableU; last first.
@@ -1390,7 +1390,7 @@ Qed.
13901390Lemma oppe_measurable (D : set (\bar R)) :
13911391 measurable_fun D (-%E : \bar R -> \bar R).
13921392Proof .
1393- move=> mD; apply: (measurability (ErealGenCInfty.measurableE R)) => //.
1393+ move=> mD; apply: (measurability _ (ErealGenCInfty.measurableE R)) => //.
13941394move=> _ [_ [x ->] <-]; rewrite (_ : _ @^-1` _ = `]-oo, (- x)%:E]%classic).
13951395 by apply: measurableI => //; exact: emeasurable_itv.
13961396by rewrite predeqE => y; rewrite preimage_itv !in_itv/= andbT in_itv leeNr.
@@ -1452,7 +1452,7 @@ Lemma measurable_fun_einfs D (f : (T -> \bar R)^nat) :
14521452 forall n, measurable_fun D (fun x => einfs (f ^~ x) n).
14531453Proof .
14541454move=> mf n mD.
1455- apply: (measurability (ErealGenCInfty.measurableE R)) => //.
1455+ apply: (measurability _ (ErealGenCInfty.measurableE R)) => //.
14561456move=> _ [_ [x ->] <-]; rewrite einfs_preimage -bigcapIr; last by exists n =>/=.
14571457by apply: bigcap_measurableType => ? ?; exact/mf/emeasurable_itv.
14581458Qed .
@@ -1461,7 +1461,7 @@ Lemma measurable_fun_esups D (f : (T -> \bar R)^nat) :
14611461 (forall n, measurable_fun D (f n)) ->
14621462 forall n, measurable_fun D (fun x => esups (f ^~ x) n).
14631463Proof .
1464- move=> mf n mD; apply: (measurability (ErealGenOInfty.measurableE R)) => //.
1464+ move=> mf n mD; apply: (measurability _ (ErealGenOInfty.measurableE R)) => //.
14651465move=> _ [_ [x ->] <-];rewrite esups_preimage setI_bigcupr.
14661466by apply: bigcup_measurable => ? ?; exact/mf/emeasurable_itv.
14671467Qed .
@@ -1470,7 +1470,7 @@ Lemma measurable_maxe D (f g : T -> \bar R) :
14701470 measurable_fun D f -> measurable_fun D g ->
14711471 measurable_fun D (fun x => maxe (f x) (g x)).
14721472Proof .
1473- move=> mf mg mD; apply: (measurability (ErealGenCInfty.measurableE R)) => //.
1473+ move=> mf mg mD; apply: (measurability _ (ErealGenCInfty.measurableE R)) => //.
14741474move=> _ [_ [x ->] <-]; rewrite [X in measurable X](_ : _ =
14751475 (D `&` f @^-1` `[x%:E, +oo[) `|` (D `&` g @^-1` `[x%:E, +oo[)); last first.
14761476 rewrite predeqE => t /=; split.
0 commit comments