Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Actris
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
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Dan Frumin
Actris
Commits
7ca6ecc9
Commit
7ca6ecc9
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
WIP.
parent
a180e106
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/channel/proto_channel.v
+422
-226
422 additions, 226 deletions
theories/channel/proto_channel.v
theories/channel/proto_model.v
+2
-2
2 additions, 2 deletions
theories/channel/proto_model.v
with
424 additions
and
228 deletions
theories/channel/proto_channel.v
+
422
−
226
View file @
7ca6ecc9
This diff is collapsed.
Click to expand it.
theories/channel/proto_model.v
+
2
−
2
View file @
7ca6ecc9
...
...
@@ -98,7 +98,7 @@ Instance proto_inhabited {V} `{!Cofe PROPn, !Cofe PROP} :
Lemma
proto_message_equivI
{
SPROP
:
sbi
}
{
V
}
`{
!
Cofe
PROPn
,
!
Cofe
PROP
}
a1
a2
pc1
pc2
:
proto_message
(
V
:=
V
)
(
PROPn
:=
PROPn
)
(
PROP
:=
PROP
)
a1
pc1
≡
proto_message
a2
pc2
⊣⊢@
{
SPROP
}
⌜
a1
=
a2
⌝
∧
(
∀
v
,
pc1
v
≡
pc2
v
)
.
⊣⊢@
{
SPROP
}
⌜
a1
=
a2
⌝
∧
(
∀
v
pc'
,
pc1
v
pc'
≡
pc2
v
pc'
)
.
Proof
.
trans
(
proto_unfold
(
proto_message
a1
pc1
)
≡
proto_unfold
(
proto_message
a2
pc2
)
:
SPROP
)
%
I
.
{
iSplit
.
...
...
@@ -106,7 +106,7 @@ Proof.
-
iIntros
"Heq"
.
rewrite
-
{
2
}(
proto_fold_unfold
(
proto_message
_
_))
.
iRewrite
"Heq"
.
by
rewrite
proto_fold_unfold
.
}
rewrite
/
proto_message
!
proto_unfold_fold
bi
.
option_equivI
bi
.
prod_equivI
/=.
by
rewrite
bi
.
discrete_fun_equivI
bi
.
discrete_eq
.
rewrite
bi
.
discrete_fun_equivI
bi
.
discrete_eq
.
by
setoid_rewrite
bi
.
ofe_morO_equivI
.
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
.
...
...
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