Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ReLoC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Iris
ReLoC
Commits
18defd4d
Commit
18defd4d
authored
6 years ago
by
Dan Frumin
Browse files
Options
Downloads
Patches
Plain Diff
Show that lty2 is a Cofe
parent
20102b37
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
theories/logic/model.v
+9
-7
9 additions, 7 deletions
theories/logic/model.v
with
9 additions
and
7 deletions
theories/logic/model.v
+
9
−
7
View file @
18defd4d
...
...
@@ -30,14 +30,16 @@ Section lty2_ofe.
Lemma
lty2_ofe_mixin
:
OfeMixin
lty2
.
Proof
.
by
apply
(
iso_ofe_mixin
(
lty2_car
:
lty2
→
(
val
-
c
>
val
-
c
>
iProp
Σ
)))
.
Qed
.
Canonical
Structure
lty2C
:=
OfeT
lty2
lty2_ofe_mixin
.
Global
Instance
lty2_cofe
:
Cofe
ltyC2
.
Global
Instance
lty2_cofe
:
Cofe
lty2C
.
Proof
.
(* apply (iso_cofe_subtype' (λ A : val -c> val -c> iProp Σ, ∀ w1 w2, Persistent (A w1 w2)) *)
(* (@Lty2 _ _ _) lty2_car)=> //. *)
(* - apply _. *)
(* - apply limit_preserving_forall=> w. *)
(* by apply bi.limit_preserving_Persistent=> n ??. *)
Admitted
.
apply
(
iso_cofe_subtype'
(
λ
A
:
val
-
c
>
val
-
c
>
iProp
Σ
,
∀
w1
w2
,
Persistent
(
A
w1
w2
))
(
@
Lty2
_
_)
lty2_car
)=>
//.
-
apply
_
.
-
apply
limit_preserving_forall
=>
w1
.
apply
limit_preserving_forall
=>
w2
.
apply
bi
.
limit_preserving_Persistent
.
intros
n
P
Q
HPQ
.
apply
(
HPQ
w1
w2
)
.
Qed
.
Global
Instance
lty2_inhabited
:
Inhabited
lty2
:=
populate
(
Lty2
inhabitant
)
.
...
...
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