Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tej Chajed
iris
Commits
04d0796d
Commit
04d0796d
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
show some dec_agree properties
parent
7b0417ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
algebra/dec_agree.v
+17
-1
17 additions, 1 deletion
algebra/dec_agree.v
with
17 additions
and
1 deletion
algebra/dec_agree.v
+
17
−
1
View file @
04d0796d
...
@@ -48,4 +48,20 @@ Qed.
...
@@ -48,4 +48,20 @@ Qed.
Canonical
Structure
dec_agreeRA
:
cmraT
:=
discreteRA
dec_agree_ra
.
Canonical
Structure
dec_agreeRA
:
cmraT
:=
discreteRA
dec_agree_ra
.
End
dec_agree
.
(* Some properties of this CMRA *)
\ No newline at end of file
Lemma
dec_agree_idemp
(
x
:
dec_agree
A
)
:
x
⋅
x
≡
x
.
Proof
.
destruct
x
as
[
x
|];
simpl
;
repeat
(
case_match
;
simpl
);
try
subst
;
congruence
.
Qed
.
Lemma
dec_agree_op_inv
(
x1
x2
:
dec_agree
A
)
:
✓
(
x1
⋅
x2
)
→
x1
≡
x2
.
Proof
.
destruct
x1
as
[
x1
|],
x2
as
[
x2
|];
simpl
;
repeat
(
case_match
;
simpl
);
by
subst
.
Qed
.
Lemma
dec_agree_equivI
{
M
}
a
b
:
(
DecAgree
a
≡
DecAgree
b
)
%
I
≡
(
a
=
b
:
uPred
M
)
%
I
.
Proof
.
split
.
by
case
.
by
destruct
1
.
Qed
.
Lemma
dec_agree_validI
{
M
}
(
x
y
:
dec_agreeRA
)
:
✓
(
x
⋅
y
)
⊑
(
x
=
y
:
uPred
M
)
.
Proof
.
intros
r
n
_
?
.
by
apply
:
dec_agree_op_inv
.
Qed
.
End
dec_agree
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment