Skip to content

Commit 48c890c

Browse files
committed
fix wochoice/ring
1 parent 4347ebd commit 48c890c

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

classical/wochoice.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ move=> Rxx Rtr Cch sCS.
259259
pose CSch X := `[< [/\ chain R X, {subset C <= X} & {subset X <= S}] >].
260260
pose Rch (X Y : {pred T}) := `[< {subset X <= Y} >].
261261
have: {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.
263263
have /Zorn's_lemma/[apply]: {in CSch, reflexive Rch} by move=> X _; apply/asboolP.
264264
case=> [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.
305305
have/Zorn's_lemma/[apply]: {in pwo, reflexive initR} by [].
306306
case=> [C pwoC Cch | [D R] /asboolP/=pwoR maxR].
307307
have /(@wo_chainW ({pred T} * rel T)%type) {}Cch := Cch.

theories/lang_syntax.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ From mathcomp Require Import functions cardinality fsbigop.
66
Require Import signed reals ereal topology normedtype sequences esum exp.
77
Require Import measure lebesgue_measure numfun lebesgue_integral itv kernel.
88
Require 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

846846
Definition 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

849849
End syntax_of_types.
850850
Arguments measurable_of_typ {R}.

theories/lang_syntax_examples.v

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
Require Import String.
22
From HB Require Import structures.
33
From 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.
57
From mathcomp.classical Require Import functions cardinality fsbigop.
68
Require Import signed reals ereal topology normedtype sequences esum measure.
79
Require Import lebesgue_measure numfun lebesgue_integral kernel prob_lang.
810
Require 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 *)

theories/prob_lang.v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ From mathcomp Require Import mathcomp_extra boolp classical_sets.
66
From mathcomp Require Import functions cardinality fsbigop.
77
Require Import reals ereal signed topology normedtype sequences esum measure.
88
Require 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 *)

0 commit comments

Comments
 (0)