Skip to content

Commit 118d152

Browse files
committed
addressing comments
1 parent ab54b23 commit 118d152

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

CHANGELOG_UNRELEASED.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
+ lemma `itvNybndEbigcup`
109109

110110
- in `lebesgue_stieltjes_measure.v`:
111-
+ mixin `isCumulative01`, structure `Cumulative01` with type `cumulative01`
111+
+ mixin `isCumulativeBounded`, structure `CumulativeBounded` with type `cumulative_bounded`
112112

113113
### Changed
114114

theories/lebesgue_stieltjes_measure.v

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ From mathcomp Require Import realfun.
3636
(* f is a cumulative function. *)
3737
(* completed_lebesgue_stieltjes_measure f == the completed Lebesgue-Stieltjes *)
3838
(* measure *)
39-
(* cumulative01 R == type of cumulative functions f such that *)
40-
(* f @ -oo --> 0 and f @ +oo --> 1 *)
41-
(* The HB class is Cumulative01. *)
39+
(* cumulative_bounded R l r == type of cumulative functions f such that *)
40+
(* f @ -oo --> l and f @ +oo --> r *)
41+
(* The HB class is CumulativeBounded. *)
4242
(* ``` *)
4343
(* *)
4444
(******************************************************************************)
@@ -600,19 +600,19 @@ Hint Extern 0 (measurable [set _]) => solve [apply: measurable_set1] : core.
600600
#[global]
601601
Hint Extern 0 (measurable [set` _] ) => exact: measurable_itv : core.
602602

603-
HB.mixin Record isCumulative01 (R : numFieldType) (f : R -> R) := {
604-
cumulativeNy0 : f @ -oo --> (0:R) ;
605-
cumulativey1 : f @ +oo --> (1:R) }.
603+
HB.mixin Record isCumulativeBounded (R : numFieldType) (l r : R) (f : R -> R) := {
604+
cumulativeNy0 : f @ -oo --> l ;
605+
cumulativey1 : f @ +oo --> r }.
606606

607-
#[short(type=cumulative01)]
608-
HB.structure Definition Cumulative01 (R : numFieldType) :=
609-
{ f of isCumulative01 R f & Cumulative R f}.
607+
#[short(type=cumulativeBounded)]
608+
HB.structure Definition CumulativeBounded (R : numFieldType) (l r : R) :=
609+
{ f of isCumulativeBounded R l r f & Cumulative R f}.
610610

611-
Arguments cumulativeNy0 {R} s.
612-
Arguments cumulativey1 {R} s.
611+
Arguments cumulativeNy0 {R l r} s.
612+
Arguments cumulativey1 {R l r} s.
613613

614614
Section probability_measure_of_lebesgue_stieltjes_mesure.
615-
Context {R : realType} (f : cumulative01 R).
615+
Context {R : realType} (f : cumulativeBounded (0:R) (1:R)).
616616
Local Open Scope measure_display_scope.
617617

618618
Let T := g_sigma_algebraType R.-ocitv.-measurable.

theories/probability.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Unshelve. all: by end_near. Qed.
248248
End cumulative_distribution_function.
249249

250250
Section cdf_of_lebesgue_stieltjes_mesure.
251-
Context {R : realType} (f : cumulative01 R).
251+
Context {R : realType} (f : cumulativeBounded (0:R) (1:R)).
252252
Local Open Scope measure_display_scope.
253253

254254
Let T := g_sigma_algebraType R.-ocitv.-measurable.

0 commit comments

Comments
 (0)