Skip to content

Commit 035fa1d

Browse files
authored
fixes #1659 (#1660)
1 parent 2d350fd commit 035fa1d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

theories/probability.v

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ From mathcomp Require Import ftc gauss_integral hoelder.
3232
(* 'E_P[X] == expectation of the real measurable function X *)
3333
(* covariance X Y == covariance between real random variable X and Y *)
3434
(* 'V_P[X] == variance of the real random variable X *)
35-
(* 'M_ X == moment generating function of the random variable X *)
35+
(* 'M_P X == moment generating function of the random variable X *)
36+
(* with sample space corresponding to the probability *)
37+
(* measure P *)
3638
(* {dmfun T >-> R} == type of discrete real-valued measurable functions *)
3739
(* {dRV P >-> R} == real-valued discrete random variable *)
3840
(* dRV_dom X == domain of the discrete random variable X *)
@@ -72,7 +74,7 @@ Reserved Notation "'{' 'RV' P >-> R '}'"
7274
(at level 0, format "'{' 'RV' P '>->' R '}'").
7375
Reserved Notation "''E_' P [ X ]" (format "''E_' P [ X ]").
7476
Reserved Notation "''V_' P [ X ]" (format "''V_' P [ X ]").
75-
Reserved Notation "'M_ X t" (at level 5, t, X at level 4, format "''M_' X t").
77+
Reserved Notation "'M_ P X" (at level 5, P, X at level 4, format "''M_' P X").
7678
Reserved Notation "{ 'dmfun' aT >-> T }" (format "{ 'dmfun' aT >-> T }").
7779
Reserved Notation "'{' 'dRV' P >-> R '}'" (format "'{' 'dRV' P '>->' R '}'").
7880

@@ -619,7 +621,7 @@ Notation "'V_ P [ X ]" := (variance P X).
619621

620622
Definition mmt_gen_fun d (T : measurableType d) (R : realType)
621623
(P : probability T R) (X : T -> R) (t : R) := ('E_P[expR \o t \o* X])%E.
622-
Notation "'M_ X t" := (mmt_gen_fun X t).
624+
Notation "'M_ P X" := (@mmt_gen_fun _ _ _ P X).
623625

624626
Section markov_chebyshev_cantelli.
625627
Local Open Scope ereal_scope.

0 commit comments

Comments
 (0)