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
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Iris
Actris
Commits
9b4483ea
Commit
9b4483ea
authored
1 year ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Remove old comment, minor tweak.
parent
de250e79
No related branches found
No related tags found
No related merge requests found
Pipeline
#98971
passed
11 months ago
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/channel/proto_model.v
+3
-5
3 additions, 5 deletions
theories/channel/proto_model.v
with
3 additions
and
5 deletions
theories/channel/proto_model.v
+
3
−
5
View file @
9b4483ea
...
...
@@ -123,8 +123,6 @@ Lemma proto_end_message_equivI `{!BiInternalEq SPROP} {V} `{!Cofe PROPn, !Cofe P
proto_end
≡
proto_message
(
V
:=
V
)
(
PROPn
:=
PROPn
)
(
PROP
:=
PROP
)
a
m
⊢@
{
SPROP
}
False
.
Proof
.
by
rewrite
internal_eq_sym
proto_message_end_equivI
.
Qed
.
(** The eliminator [proto_elim x f p] is only well-behaved if the function [f]
is contractive *)
Definition
proto_elim
{
V
}
`{
!
Cofe
PROPn
,
!
Cofe
PROP
}
{
A
}
(
x
:
A
)
(
f
:
action
→
(
V
→
laterO
(
proto
V
PROP
PROPn
)
-
n
>
PROP
)
→
A
)
(
p
:
proto
V
PROPn
PROP
)
:
A
:=
...
...
@@ -151,11 +149,11 @@ Proof.
by
destruct
(
proto_unfold
(
proto_fold
None
))
as
[[??]|]
eqn
:
E
;
inversion
Hfold
.
Qed
.
Lemma
proto_elim_message
{
V
}
`{
!
Cofe
PROPn
,
!
Cofe
PROP
}
{
A
:
ofe
}
(
x
:
A
)
(
f
:
action
→
(
V
→
laterO
(
proto
V
PROP
PROPn
)
-
n
>
PROP
)
→
A
)
`{
Hf
:
∀
a
,
Proper
(
pointwise_relation
_
(
≡
)
==>
(
≡
))
(
f
a
)
}
a
m
:
(
x
:
A
)
(
f
:
action
→
(
V
→
laterO
(
proto
V
PROP
PROPn
)
-
n
>
PROP
)
→
A
)
a
m
:
(
∀
a
,
Proper
(
pointwise_relation
_
(
≡
)
==>
(
≡
))
(
f
a
)
)
→
proto_elim
x
f
(
proto_message
a
m
)
≡
f
a
m
.
Proof
.
rewrite
/
proto_elim
/
proto_message
/=.
intros
.
rewrite
/
proto_elim
/
proto_message
/=.
pose
proof
(
proto_unfold_fold
(
V
:=
V
)
(
PROPn
:=
PROPn
)
(
PROP
:=
PROP
)
(
Some
(
a
,
m
)))
as
Hfold
.
destruct
(
proto_unfold
(
proto_fold
(
Some
(
a
,
m
))))
...
...
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