File tree Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Expand file tree Collapse file tree 4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ move=> Rxx Rtr Cch sCS.
259259pose CSch X := `[< [/\ chain R X, {subset C <= X} & {subset X <= S}] >].
260260pose Rch (X Y : {pred T}) := `[< {subset X <= Y} >].
261261have: {in CSch & &, transitive Rch}.
262- by apply: in3W => X Y Z /asboolP-sXY /asboolP-sYZ; apply/asboolP=> x /sXY/sYZ.
262+ by move => X Y Z ? ? ? /asboolP-sXY /asboolP-sYZ; apply/asboolP => x /sXY/sYZ.
263263have /Zorn's_lemma/[apply]: {in CSch, reflexive Rch} by move=> X _; apply/asboolP.
264264case=> [XX CSchXX XXwo | M /asboolP[Mch sCM sMS] maxM]; last first.
265265 exists M; split=> // X Xch sMX sXS.
@@ -301,7 +301,7 @@ have initRtr: transitive initR.
301301 move=> R2 R1 R3 /asboolP[D12 R12] /asboolP[D23 R23]; apply/asboolP.
302302 split=> [x /D12/D23// | x y D1x D3y]; rewrite R23 ?(D12 x) //.
303303 by case D2y: (y \in R2.1); [apply: R12 | rewrite (contraFF (D12 y))].
304- have: {in pwo & &, transitive initR} by apply: in3W .
304+ have: {in pwo & &, transitive initR} by move=> X Y Z ? ? ?; exact: initRtr .
305305have/Zorn's_lemma/[apply]: {in pwo, reflexive initR} by [].
306306case=> [C pwoC Cch | [D R] /asboolP/=pwoR maxR].
307307 have /(@wo_chainW ({pred T} * rel T)%type) {}Cch := Cch.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ From mathcomp Require Import functions cardinality fsbigop.
66Require Import signed reals ereal topology normedtype sequences esum exp.
77Require Import measure lebesgue_measure numfun lebesgue_integral itv kernel.
88Require Import charge prob_lang lang_syntax_util.
9- From mathcomp Require Import ring lra.
9+ From mathcomp Require Import lra.
1010
1111(**md************************************************************************* *)
1212(* # Syntax and Evaluation for a Probabilistic Programming Language *)
@@ -844,7 +844,7 @@ Definition mtyp t : measurableType (mtyp_disp t) :=
844844 projT2 (measurable_of_typ t).
845845
846846Definition measurable_of_seq (l : seq typ) : {d & measurableType d} :=
847- iter_mprod (map measurable_of_typ l).
847+ iter_mprod (List. map measurable_of_typ l).
848848
849849End syntax_of_types.
850850Arguments measurable_of_typ {R}.
Original file line number Diff line number Diff line change 11Require Import String.
22From HB Require Import structures.
33From mathcomp Require Import all_ssreflect ssralg ssrnum ssrint interval.
4- From mathcomp.classical Require Import mathcomp_extra boolp classical_sets.
4+ From mathcomp.classical Require Import mathcomp_extra boolp.
5+ From mathcomp Require Import ring.
6+ From mathcomp Require Import classical_sets.
57From mathcomp.classical Require Import functions cardinality fsbigop.
68Require Import signed reals ereal topology normedtype sequences esum measure.
79Require Import lebesgue_measure numfun lebesgue_integral kernel prob_lang.
810Require Import lang_syntax_util lang_syntax.
9- From mathcomp Require Import ring lra.
11+ From mathcomp Require Import lra.
1012
1113(**md************************************************************************* *)
1214(* # Examples using the Probabilistic Programming Language of lang_syntax.v *)
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ From mathcomp Require Import mathcomp_extra boolp classical_sets.
66From mathcomp Require Import functions cardinality fsbigop.
77Require Import reals ereal signed topology normedtype sequences esum measure.
88Require Import lebesgue_measure numfun lebesgue_integral exp kernel.
9- From mathcomp Require Import ring lra.
9+ From mathcomp Require Import lra.
1010
1111(**md************************************************************************* *)
1212(* # Semantics of a probabilistic programming language using s-finite kernels *)
You can’t perform that action at this time.
0 commit comments