Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simon Spies
stdpp
Commits
6c89f5de
Commit
6c89f5de
authored
Jan 05, 2013
by
Robbert Krebbers
Browse files
Add missing notations on Z.
parent
d8445c86
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/numbers.v
View file @
6c89f5de
...
...
@@ -88,6 +88,9 @@ Notation "x < y ≤ z" := (x < y ∧ y ≤ z)%Z : Z_scope.
Notation
"(≤)"
:
=
Z
.
le
(
only
parsing
)
:
Z_scope
.
Notation
"(<)"
:
=
Z
.
lt
(
only
parsing
)
:
Z_scope
.
Infix
"`div`"
:
=
Z
.
div
(
at
level
35
)
:
Z_scope
.
Infix
"`mod`"
:
=
Z
.
modulo
(
at
level
35
)
:
Z_scope
.
Instance
Z_eq_dec
:
∀
x
y
:
Z
,
Decision
(
x
=
y
)
:
=
Z
.
eq_dec
.
Instance
Z_le_dec
:
∀
x
y
:
Z
,
Decision
(
x
≤
y
)%
Z
:
=
Z_le_dec
.
Instance
Z_lt_dec
:
∀
x
y
:
Z
,
Decision
(
x
<
y
)%
Z
:
=
Z_lt_dec
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment