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
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
tlsomers
Actris
Commits
fe271b0a
Commit
fe271b0a
authored
4 years ago
by
Daniël Louwrink
Browse files
Options
Downloads
Patches
Plain Diff
add/clean up some TODOs for copying
parent
1311132f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theories/logrel/copying.v
+6
-1
6 additions, 1 deletion
theories/logrel/copying.v
theories/logrel/types.v
+2
-2
2 additions, 2 deletions
theories/logrel/types.v
with
8 additions
and
3 deletions
theories/logrel/copying.v
+
6
−
1
View file @
fe271b0a
...
...
@@ -23,6 +23,11 @@ Section copying.
⊢
copy
A
<:
A
.
Proof
.
by
iIntros
(
v
)
"!> #H"
.
Qed
.
(* TODO(COPY): have A <: copy- A rule *)
(* TODO(COPY): Show derived rules about copyability of products, sums, etc. *)
(* TODO(COPY): Commuting rule for μ, allowing `copy` to move outside the μ *)
(* TODO(COPY) *)
Lemma
coreP_desired_lemma
(
P
:
iProp
Σ
)
:
□
(
P
-∗
□
P
)
-∗
coreP
P
-∗
P
.
Proof
.
...
...
@@ -102,7 +107,7 @@ Section copying.
iExists
A
;
repeat
iModIntro
;
iApply
"Hv"
.
Qed
.
(* TODO: Do the forall type former, once we have the value restriction *)
(* TODO
(COPY) TODO(VALUERES)
: Do the forall type former, once we have the value restriction *)
(* Copyability of recursive types *)
Lemma
lty_rec_copy
C
`{
!
Contractive
C
}
:
...
...
This diff is collapsed.
Click to expand it.
theories/logrel/types.v
+
2
−
2
View file @
fe271b0a
...
...
@@ -472,7 +472,7 @@ Section properties.
by
iModIntro
.
Qed
.
(*
FIXME: copy
*)
(*
TODO(COPY)
*)
(* Lemma ltyped_load_copy A {copyA : LTyCopy A} : *)
(* ⊢ ∅ ⊨ load : ref_mut A → A * ref_mut A. *)
(* Proof. *)
...
...
@@ -526,7 +526,7 @@ Section properties.
by
iExists
m
.
Qed
.
(*
FIXME: copy
*)
(*
TODO(COPY)
*)
(* Lemma ltyped_ref_shr_load (A : lty Σ) {copyA : LTyCopy A} : *)
(* ⊢ ∅ ⊨ load : ref_shr A → (A * ref_shr A). *)
(* Proof. *)
...
...
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