Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
stdpp
Commits
583c4645
Commit
583c4645
authored
Feb 13, 2020
by
Tej Chajed
Committed by
Robbert Krebbers
Feb 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add decidability instances for Z.gt and Z.ge
parent
355c84cf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
theories/numbers.v
theories/numbers.v
+2
-0
No files found.
theories/numbers.v
View file @
583c4645
...
...
@@ -368,6 +368,8 @@ Proof. intros n1 n2. apply Nat2Z.inj. Qed.
Instance
Z_eq_dec
:
EqDecision
Z
:
=
Z
.
eq_dec
.
Instance
Z_le_dec
:
RelDecision
Z
.
le
:
=
Z_le_dec
.
Instance
Z_lt_dec
:
RelDecision
Z
.
lt
:
=
Z_lt_dec
.
Instance
Z_ge_dec
:
RelDecision
Z
.
ge
:
=
Z_ge_dec
.
Instance
Z_gt_dec
:
RelDecision
Z
.
gt
:
=
Z_gt_dec
.
Instance
Z_inhabited
:
Inhabited
Z
:
=
populate
1
.
Instance
Z_lt_pi
x
y
:
ProofIrrel
(
x
<
y
).
Proof
.
unfold
Z
.
lt
.
apply
_
.
Qed
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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