Skip to content

Commit 6611f23

Browse files
herbelinJasonGross
authored andcommitted
Moving at level 10 notations which were originally at level 200.
This follows what was done for notations at level binder_constr in Coq PR #18014.
1 parent 8c5424c commit 6611f23

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

src/Util/Notations.v

+13-13
Original file line numberDiff line numberDiff line change
@@ -115,28 +115,28 @@ Reserved Notation "v [[ i ]]" (at level 30).
115115
Reserved Notation "u {{ i }}" (at level 30).
116116
Reserved Notation "a # b" (at level 55, no associativity). (* match with theories/QArith/QArith_base.v *)
117117
Reserved Notation "'plet' x := y 'in' z"
118-
(at level 200, z at level 200, format "'plet' x := y 'in' '//' z").
118+
(at level 10, z at level 200, format "'plet' x := y 'in' '//' z").
119119
Reserved Notation "'nlet' x := A 'in' b"
120-
(at level 200, b at level 200, x at level 99, format "'nlet' x := A 'in' '//' b").
120+
(at level 10, b at level 200, x at level 99, format "'nlet' x := A 'in' '//' b").
121121
Reserved Notation "'nlet' x : tx := A 'in' b"
122-
(at level 200, b at level 200, x at level 99, format "'nlet' x : tx := A 'in' '//' b").
122+
(at level 10, b at level 200, x at level 99, format "'nlet' x : tx := A 'in' '//' b").
123123
Reserved Notation "'slet' x .. y := A 'in' b"
124-
(at level 200, x binder, y binder, b at level 200, format "'slet' x .. y := A 'in' '//' b").
124+
(at level 10, x binder, y binder, b at level 200, format "'slet' x .. y := A 'in' '//' b").
125125
Reserved Notation "'llet' x := A 'in' b"
126-
(at level 200, b at level 200, format "'llet' x := A 'in' '//' b").
126+
(at level 10, b at level 200, format "'llet' x := A 'in' '//' b").
127127
Reserved Notation "'expr_let' x := A 'in' b"
128-
(at level 200, b at level 200, format "'expr_let' x := A 'in' '//' b").
128+
(at level 10, b at level 200, format "'expr_let' x := A 'in' '//' b").
129129
Reserved Notation "'mlet' x := A 'in' b"
130-
(at level 200, b at level 200, format "'mlet' x := A 'in' '//' b").
130+
(at level 10, b at level 200, format "'mlet' x := A 'in' '//' b").
131131
(* Note that making [Let] a keyword breaks the vernacular [Let] in Coq 8.4 *)
132132
Reserved Notation "'dlet_nd' x .. y := v 'in' f"
133-
(at level 200, x binder, y binder, f at level 200, format "'dlet_nd' x .. y := v 'in' '//' f").
133+
(at level 10, x binder, y binder, f at level 200, format "'dlet_nd' x .. y := v 'in' '//' f").
134134
Reserved Notation "'dlet' x .. y := v 'in' f"
135-
(at level 200, x binder, y binder, f at level 200, format "'dlet' x .. y := v 'in' '//' f").
135+
(at level 10, x binder, y binder, f at level 200, format "'dlet' x .. y := v 'in' '//' f").
136136
Reserved Notation "'pflet' x , pf := y 'in' f"
137-
(at level 200, f at level 200, format "'pflet' x , pf := y 'in' '//' f").
138-
Reserved Notation "'λ' x .. y , t" (at level 200, x binder, y binder, right associativity, format "'λ' x .. y , '//' t").
139-
Reserved Notation "'λn' x .. y , t" (at level 200, right associativity).
137+
(at level 10, f at level 200, format "'pflet' x , pf := y 'in' '//' f").
138+
Reserved Notation "'λ' x .. y , t" (at level 10, x binder, y binder, t at level 200, format "'λ' x .. y , '//' t").
139+
Reserved Notation "'λn' x .. y , t" (at level 10, t at level 200).
140140
Reserved Notation "x ::> ( max_bitwidth = v )"
141141
(at level 70, no associativity, format "x ::> ( max_bitwidth = v )").
142142
Reserved Notation "r[ l ~> u ]" (l at level 69, format "r[ l ~> u ]").
@@ -170,7 +170,7 @@ Reserved Notation "## x" (at level 9, x at level 9, format "## x").
170170
Reserved Notation "### x" (at level 9, x at level 9, format "### x").
171171
Reserved Notation "#### x" (at level 9, x at level 9, format "#### x").
172172
Reserved Notation "##### x" (at level 9, x at level 9, format "##### x").
173-
Reserved Notation "\ x .. y , t" (at level 200, x binder, y binder, right associativity, format "\ x .. y , '//' t").
173+
Reserved Notation "\ x .. y , t" (at level 10, x binder, y binder, t at level 200, format "\ x .. y , '//' t").
174174

175175
(* TODO: Remove these when https://github.com/mit-plv/bbv/pull/13 is merged *)
176176
Reserved Notation "# x" (at level 0, format "# x").

0 commit comments

Comments
 (0)