Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Hugo Herbelin
iris-coq
Commits
b1d87589
Commit
b1d87589
authored
Dec 10, 2018
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More consistent variable naming conventions in agree.
parent
5c61abfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
theories/algebra/agree.v
theories/algebra/agree.v
+2
-2
No files found.
theories/algebra/agree.v
View file @
b1d87589
...
...
@@ -182,14 +182,14 @@ Qed.
Global
Instance
to_agree_inj
:
Inj
(
≡
)
(
≡
)
(
to_agree
).
Proof
.
intros
a
b
?.
apply
equiv_dist
=>
n
.
by
apply
to_agree_injN
,
equiv_dist
.
Qed
.
Lemma
to_agree_uninjN
n
(
x
:
agree
A
)
:
✓
{
n
}
x
→
∃
a
:
A
,
to_agree
a
≡
{
n
}
≡
x
.
Lemma
to_agree_uninjN
n
x
:
✓
{
n
}
x
→
∃
a
,
to_agree
a
≡
{
n
}
≡
x
.
Proof
.
rewrite
agree_validN_def
=>
Hv
.
destruct
(
elem_of_agree
x
)
as
[
a
?].
exists
a
;
split
=>
b
/=
;
setoid_rewrite
elem_of_list_singleton
;
naive_solver
.
Qed
.
Lemma
to_agree_uninj
(
x
:
agree
A
)
:
✓
x
→
∃
y
:
A
,
to_agree
y
≡
x
.
Lemma
to_agree_uninj
x
:
✓
x
→
∃
a
,
to_agree
a
≡
x
.
Proof
.
rewrite
/
valid
/
agree_valid
;
setoid_rewrite
agree_validN_def
.
destruct
(
elem_of_agree
x
)
as
[
a
?].
...
...
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