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
462ea92a
Commit
462ea92a
authored
Sep 20, 2015
by
Robbert Krebbers
Browse files
Misc prelude omissions.
parent
d101c562
Changes
2
Hide whitespace changes
Inline
Side-by-side
theories/base.v
View file @
462ea92a
...
...
@@ -862,6 +862,9 @@ Instance idem_propholds {A} (R : relation A) f :
Idempotent
R
f
→
∀
x
,
PropHolds
(
R
(
f
x
x
)
x
).
Proof
.
red
.
trivial
.
Qed
.
Instance
:
∀
`
{
R1
:
relation
A
,
R2
:
relation
B
}
(
x
:
B
),
Reflexive
R2
→
Proper
(
R1
==>
R2
)
(
λ
_
,
x
).
Proof
.
intros
A
R1
B
R2
x
?
y1
y2
;
reflexivity
.
Qed
.
Instance
:
@
PreOrder
A
(=).
Proof
.
split
;
repeat
intro
;
congruence
.
Qed
.
Lemma
injective_iff
{
A
B
}
{
R
:
relation
A
}
{
S
:
relation
B
}
(
f
:
A
→
B
)
...
...
theories/numbers.v
View file @
462ea92a
...
...
@@ -11,6 +11,7 @@ Open Scope nat_scope.
Coercion
Z
.
of_nat
:
nat
>->
Z
.
(** * Notations and properties of [nat] *)
Arguments
minus
!
_
!
_
/.
Reserved
Notation
"x ≤ y ≤ z"
(
at
level
70
,
y
at
next
level
).
Reserved
Notation
"x ≤ y < z"
(
at
level
70
,
y
at
next
level
).
Reserved
Notation
"x < y < z"
(
at
level
70
,
y
at
next
level
).
...
...
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