Skip to content

Commit 595e5d0

Browse files
fix #1972 (#2095)
Co-authored-by: IshiguroYoshihiro <jb.15r.1213@s.thers.ac.jp>
1 parent 949d0c9 commit 595e5d0

9 files changed

Lines changed: 21 additions & 13 deletions

File tree

CHANGELOG_UNRELEASED.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@
8484
- in `Rstruct_topology.v`:
8585
+ lemma `RealsE` to include `RcosE`, `Rtrigo_PIE`, `RsinE`
8686

87+
- in `metric_structure.v`:
88+
+ order of arguments and implicit arguments of `squeeze_cvgr`
89+
90+
- in `normed_module.v`:
91+
+ implicit arguments of `squeeze_cvge` and `sequeeze_fin`
92+
8793
### Renamed
8894

8995
- in `esum.v`:

theories/gauss_integral.v

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,8 @@ Qed.
305305

306306
Let cvg_integral01_u : integral01_u x @[x --> +oo] --> 0.
307307
Proof.
308-
apply: (@squeeze_cvgr _ _ _ _ (cst 0) gauss_fun) => //.
309-
- by near=> n => /=; rewrite integral01_u_gauss_fun integral01_u_ge0.
310-
- exact: cvg_gauss_fun.
308+
apply: (squeeze_cvgr (cst 0) _ _ _ _ _ cvg_gauss_fun) => //.
309+
by near=> n => /=; rewrite integral01_u_gauss_fun integral01_u_ge0.
311310
Unshelve. all: end_near. Qed.
312311

313312
Lemma cvg_integral0_gauss_sqr :

theories/lebesgue_integral_theory/lebesgue_integral_differentiation.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ apply: (sube_cvg0 _ _).1 => //.
11291129
move: Ax; rewrite /lebesgue_pt /davg /= -/mu => Ax.
11301130
have : (mu (ball x r))^-1 *
11311131
`|\int[mu]_(y in ball x r) (\1_A y - \1_A x)%:E | @[r --> 0^'+] --> 0.
1132-
apply: (@squeeze_cvge _ _ _ R (cst 0) _ _ _ _ _ Ax) => //.
1132+
apply: (squeeze_cvge (cst 0) _ _ _ _ _ Ax) => //.
11331133
near=> a; rewrite mule_ge0 ?inve_ge0///= lee_pmul2l//.
11341134
by rewrite lebesgue_measure_ball// fin_numV// eqe mulrn_eq0/= gt_eqF.
11351135
rewrite lebesgue_measure_ball// inver mulrn_eq0/= gt_eqF// lte_fin.
@@ -1241,7 +1241,7 @@ have E_r_ n : E x n `<=` ball x (r_ x n)%:num.
12411241
by rewrite /r_ /sval/=; case: cid => -[? ?] [].
12421242
have muEr_ n : mu (ball x (r_ x n)%:num) <= C%:E * mu (E x n).
12431243
by rewrite /C /r_ /sval/=; case: cid => -[? ?] [].
1244-
apply: (@squeeze_cvge _ _ _ _ (cst 0) _
1244+
apply: (squeeze_cvge (cst 0) _
12451245
(fun n => C%:E * davg f x (r_ x n)%:num)) => //; last first.
12461246
move/cvge_at_rightP: fx => /(_ (fun r => (r_ x r)%:num)) fx.
12471247
by rewrite -(mule0 C%:E); apply: cvgeM => //; apply: fx; split => //;

theories/lebesgue_integral_theory/lebesgue_integral_dominated_convergence.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ suff: `| \int[mu]_(x in D) f_ n x - \int[mu]_(x in D) f x | @[n \oo] --> 0.
156156
rewrite fin_numElt (_ : -oo = - +oo)// -lte_absl.
157157
move: dominated_integrable => /integrableP[?]; apply: le_lt_trans.
158158
by apply: (le_trans _ (@le_abse_integral _ _ _ mu D f mD _)).
159-
apply: (@squeeze_cvge _ _ _ _ (cst 0) _ (fun n => \int[mu]_(x in D) g_ n x)) => //.
159+
apply: (squeeze_cvge (cst 0) _ (fun n => \int[mu]_(x in D) g_ n x)) => //.
160160
- by apply: nearW => n; rewrite abse_ge0//=; exact: h.
161161
- exact: dominated_cvg0.
162162
Qed.

theories/lebesgue_integral_theory/lebesgue_integral_under.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ rewrite [X in X @ _ --> _](_ : _ =
269269
apply: norm_cvg0.
270270
have {}g_d1f_0 : (\int[mu]_(y in B) `|g_ n y - ('d1 f) a y|) @[n --> \oo] --> 0.
271271
exact/fine_cvg.
272-
apply: (@squeeze_cvgr _ _ _ _ (cst 0) _ _ _ _ _ g_d1f_0) => //.
272+
apply: (squeeze_cvgr (cst 0) _ _ _ _ _ g_d1f_0) => //.
273273
apply/nearW => n.
274274
rewrite /= normr_ge0/= le_normr_Rintegral//.
275275
rewrite /comp; under eq_fun do rewrite EFinB.

theories/measure_theory/signed_measure.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ have A_cvg_0 : nu (A_ (v n)) @[n --> \oo] --> 0.
738738
move: cvg_nuA; rewrite -(@fineK _ (nu Aoo)) ?fin_num_measure//.
739739
by move=> /fine_cvgP[_ ?]; apply/cvg_ex; exists (fine (nu Aoo)).
740740
have mine_cvg_0 : (mine (g_ (v n) * 2^-1%:E) 1) @[n --> \oo] --> 0.
741-
apply: (@squeeze_cvge _ _ _ _ _ _ (fun n => nu (A_ (v n)))) => //.
741+
apply: (squeeze_cvge _ _ (fun n => nu (A_ (v n)))) => //.
742742
by apply: nearW => n /=; rewrite nuA_g_ andbT le_min lee01 andbT mule_ge0.
743743
have g_cvg_0 : (g_ \o v) n @[n --> \oo] --> 0 by apply: mine2_cvg_0_cvg_0 => /=.
744744
have nuDAoo : nu D >= nu (D `\` Aoo).

theories/normedtype_theory/normed_module.v

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ by rewrite (lt_le_trans oof) ?(le_lt_trans gh).
14161416
Qed.
14171417

14181418
Lemma squeeze_cvge f g h : (\near a, f a <= g a <= h a) ->
1419-
forall (l : \bar R), f @ a --> l -> h @ a --> l -> g @ a --> l.
1419+
forall l : \bar R, f @ a --> l -> h @ a --> l -> g @ a --> l.
14201420
Proof.
14211421
move=> fgh [l||]; last 2 first.
14221422
- by move=> + _; apply: gee_cvgy; apply: filterS fgh => ? /andP[].
@@ -1428,6 +1428,8 @@ by have /(_ _)/andP[//|fg gh] := near fgh x; rewrite !fine_le//=; near: x.
14281428
Unshelve. all: end_near. Qed.
14291429

14301430
End FilterERealType.
1431+
Arguments squeeze_fin {T a Fa R} f g h.
1432+
Arguments squeeze_cvge {T a Fa R} f g h.
14311433

14321434
Section TopoProperFilterERealType.
14331435
Context {T : topologicalType} {a : set_system T} {Fa : ProperFilter a}.

theories/sequences.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ Lemma cvg_expr (R : archiRealFieldType) (z : R) :
890890
`|z| < 1 -> (GRing.exp z : R ^nat) @ \oo --> 0.
891891
Proof.
892892
move=> Nz_lt1; apply/norm_cvg0P; pose t := 1 - `|z|.
893-
apply: (@squeeze_cvgr _ _ _ _ (cst 0) (t^-1 *: @harmonic R)) => //; last first.
893+
apply: (squeeze_cvgr (cst 0) _ (t^-1 *: @harmonic R)) => //; last first.
894894
by rewrite -(scaler0 _ t^-1); exact: (cvgZl_tmp cvg_harmonic).
895895
near=> n; rewrite normr_ge0 normrX/= ler_pdivlMl ?subr_gt0//.
896896
rewrite -(@ler_pM2l _ n.+1%:R)// mulfV// [t * _]mulrC mulr_natl.
@@ -2535,7 +2535,7 @@ Proof.
25352535
move=> supul ul; have usupu n : l <= u n <= esups u n.
25362536
by rewrite ul /=; apply/ereal_sup_ubound; exists n => /=.
25372537
suff : esups u @ \oo --> l.
2538-
by apply: (@squeeze_cvge _ _ _ _ (cst l)) => //; exact: nearW.
2538+
by apply: (squeeze_cvge (cst l)) => //; exact: nearW.
25392539
apply/cvg_closeP; split; first exact: is_cvg_esups.
25402540
rewrite closeE//; apply/eqP.
25412541
rewrite eq_le -[X in X <= _ <= _]limn_esup_lim supul/=.

theories/topology_theory/metric_structure.v

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,8 @@ Proof.
400400
by move=> /cvgr_gt + ? z0 => /(_ _ z0); apply: filterS => ?; apply/ltW.
401401
Qed.
402402

403-
Lemma squeeze_cvgr f h g : (\near F, f F <= g F <= h F) ->
404-
forall (l : R), f @ F --> l -> h @ F --> l -> g @ F --> l.
403+
Lemma squeeze_cvgr f g h : (\near F, f F <= g F <= h F) ->
404+
forall l : R, f @ F --> l -> h @ F --> l -> g @ F --> l.
405405
Proof.
406406
move=> fgh l lfa lga.
407407
apply/(@metricType_numDomainType.cvgrPdist_lt R R^o) => e e_gt0.
@@ -416,3 +416,4 @@ Arguments cvgr_lt {T F FF R f}.
416416
Arguments cvgr_gt {T F FF R f}.
417417
Arguments cvgr_le {T F FF R f}.
418418
Arguments cvgr_ge {T F FF R f}.
419+
Arguments squeeze_cvgr {T F FF R} f g h.

0 commit comments

Comments
 (0)