Skip to content

Commit

Permalink
fix mnormalize
Browse files Browse the repository at this point in the history
  • Loading branch information
affeldt-aist committed May 2, 2023
1 parent 2ec2c21 commit 7323ade
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions theories/kernel.v
Original file line number Diff line number Diff line change
Expand Up @@ -726,10 +726,10 @@ Section mnormalize.
Context d d' (X : measurableType d) (Y : measurableType d') (R : realType).
Variables (f : X -> {measure set Y -> \bar R}) (P : probability Y R).

Definition mnormalize x U :=
Definition mnormalize x :=
let evidence := f x [set: Y] in
if (evidence == 0) || (evidence == +oo) then P U
else f x U * (fine evidence)^-1%:E.
if (evidence == 0) || (evidence == +oo) then fun U => P U
else fun U => f x U * (fine evidence)^-1%:E.

Let mnormalize0 x : mnormalize x set0 = 0.
Proof.
Expand Down Expand Up @@ -768,7 +768,7 @@ End mnormalize.

Lemma measurable_fun_mnormalize d d' (X : measurableType d) (Y : measurableType d')
(R : realType) (k : R.-sfker X ~> Y) :
measurable_fun setT (fun x => mnormalize k point x : pprobability Y R).
measurable_fun setT (fun x => [the probability _ _ of mnormalize k point x] : pprobability Y R).
Proof.
apply: (@measurability _ _ _ _ _ _
(@pset _ _ _ : set (set (pprobability Y R)))) => //.
Expand Down

0 comments on commit 7323ade

Please sign in to comment.