Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
iris-coq
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
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