Skip to content
GitLab
Menu
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
68254659
Commit
68254659
authored
Oct 06, 2014
by
Robbert Krebbers
Browse files
Fix compilation with Coq 8.4pl4.
parent
044d309d
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/countable.v
View file @
68254659
...
...
@@ -68,7 +68,7 @@ Lemma surjective_cancel `{Countable A} `{∀ x y : B, Decision (x = y)}
(
f
:
A
→
B
)
`
{!
Surjective
(=)
f
}
:
{
g
:
B
→
A
&
Cancel
(=)
f
g
}.
Proof
.
exists
(
λ
y
,
choose
(
λ
x
,
f
x
=
y
)
(
surjective
f
y
)).
intros
y
.
by
rewrite
(
choose_correct
_
(
surjective
f
y
)).
intros
y
.
by
rewrite
(
choose_correct
(
λ
_
,
_
)
(
surjective
f
y
)).
Qed
.
(** ** Instances *)
...
...
Write
Preview
Supports
Markdown
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