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
A
Actris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Actris
Commits
0eb2c8f4
Commit
0eb2c8f4
authored
Nov 13, 2019
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some missing internal equality lemmas for protocols.
parent
1cd5df3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
theories/channel/proto_model.v
theories/channel/proto_model.v
+10
-0
No files found.
theories/channel/proto_model.v
View file @
0eb2c8f4
...
...
@@ -115,6 +115,16 @@ Proof.
rewrite
/
proto_message
!
proto_unfold_fold
bi
.
option_equivI
bi
.
prod_equivI
/=.
by
rewrite
bi
.
discrete_fun_equivI
bi
.
discrete_eq
.
Qed
.
Lemma
proto_message_end_equivI
{
SPROP
:
sbi
}
{
V
}
`
{!
Cofe
PROPn
,
!
Cofe
PROP
}
a
pc
:
proto_message
(
V
:
=
V
)
(
PROPn
:
=
PROPn
)
(
PROP
:
=
PROP
)
a
pc
≡
proto_end
⊢
@{
SPROP
}
False
.
Proof
.
trans
(
proto_unfold
(
proto_message
a
pc
)
≡
proto_unfold
proto_end
:
SPROP
)%
I
.
{
iIntros
"Heq"
.
by
iRewrite
"Heq"
.
}
by
rewrite
/
proto_message
!
proto_unfold_fold
bi
.
option_equivI
.
Qed
.
Lemma
proto_end_message_equivI
{
SPROP
:
sbi
}
{
V
}
`
{!
Cofe
PROPn
,
!
Cofe
PROP
}
a
pc
:
proto_end
≡
proto_message
(
V
:
=
V
)
(
PROPn
:
=
PROPn
)
(
PROP
:
=
PROP
)
a
pc
⊢
@{
SPROP
}
False
.
Proof
.
by
rewrite
bi
.
internal_eq_sym
proto_message_end_equivI
.
Qed
.
Definition
proto_cont_map
`
{!
Cofe
PROPn
,
!
Cofe
PROPn'
,
!
Cofe
PROP
,
!
Cofe
PROP'
,
!
Cofe
A
,
!
Cofe
B
}
...
...
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