Skip to content

Commit 3767832

Browse files
proux01Tragicus
authored andcommitted
[Corelib] Adapt
1 parent 3665823 commit 3767832

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- **Changed:**
2+
Level of ``_~0`` and ``_~1`` reserved notations (used for positive
3+
numbers) from level 7 to level 1
4+
(`#17876 <https://github.com/rocq-prover/rocq/pull/17876>`_,
5+
by Pierre Roux).

theories/Corelib/BinNums/PosDef.v

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,8 @@ Local Open Scope positive_scope.
2828
for the number 6 (which is 110 in binary notation).
2929
*)
3030

31-
Notation "p ~ 1" := (xI p)
32-
(at level 7, left associativity, format "p '~' '1'") : positive_scope.
33-
Notation "p ~ 0" := (xO p)
34-
(at level 7, left associativity, format "p '~' '0'") : positive_scope.
31+
Notation "p ~ 1" := (xI p) (format "p '~' '1'") : positive_scope.
32+
Notation "p ~ 0" := (xO p) (format "p '~' '0'") : positive_scope.
3533

3634
Notation "1" := xH : positive_scope.
3735
Notation "2" := 1~0 : positive_scope.

0 commit comments

Comments
 (0)