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
9b9065ed
Commit
9b9065ed
authored
4 years ago
by
Jonas Kastberg
Browse files
Options
Downloads
Patches
Plain Diff
Killed a bunch of eautos.
parent
4427afa1
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/logrel/examples/compute_client_list.v
+13
-13
13 additions, 13 deletions
theories/logrel/examples/compute_client_list.v
with
13 additions
and
13 deletions
theories/logrel/examples/compute_client_list.v
+
13
−
13
View file @
9b9065ed
...
...
@@ -122,7 +122,7 @@ Section compute_example.
rewrite
/
compute_type_client_aux
.
iApply
lty_le_trans
.
{
iApply
lty_le_select_subseteq
.
apply
insert_mono
,
insert_subseteq
=>
//
.
}
apply
insert_mono
,
insert_subseteq
;
done
.
}
rewrite
/
cont_type
/
recv_type
.
iPoseProof
(
lty_le_app_select
)
as
"[_ Hle]"
.
iApply
(
lty_le_trans
);
last
by
iApply
"Hle"
.
...
...
@@ -141,7 +141,7 @@ Section compute_example.
rewrite
/
compute_type_client_aux
.
iApply
lty_le_select_subseteq
.
rewrite
insert_commute
;
[
|
eauto
]
.
apply
insert_mono
,
insert_subseteq
=>
//
.
apply
insert_mono
,
insert_subseteq
;
done
.
Qed
.
Lemma
recv_type_cont_type_swap
A
B
:
...
...
@@ -154,8 +154,8 @@ Section compute_example.
iApply
(
lty_le_trans
);
last
by
iApply
"Hle"
.
rewrite
fmap_insert
fmap_empty
.
iApply
lty_le_select
.
iApply
big_sepM2_insert
=>
//
.
iSplit
=>
//
.
iApply
big_sepM2_insert
;
[
done
|
done
|
]
.
iSplit
;
[
|
done
]
.
rewrite
lty_app_send
lty_app_end_l
.
iApply
lty_le_swap_recv_send
.
Qed
.
...
...
@@ -170,8 +170,8 @@ Section compute_example.
iApply
(
lty_le_trans
);
last
by
iApply
"Hle"
.
rewrite
fmap_insert
fmap_empty
.
iApply
lty_le_select
.
iApply
big_sepM2_insert
=>
//
.
iSplit
=>
//
.
iApply
big_sepM2_insert
;
[
done
|
done
|
]
.
iSplit
;
[
|
done
]
.
rewrite
lty_app_end_l
.
eauto
.
Qed
.
...
...
@@ -291,14 +291,14 @@ Section compute_example.
iIntros
"Hlys"
.
iInduction
ys
as
[|
y
ys
]
"IH"
forall
(
lys
)
.
-
iExists
lys
,
NONEV
.
rewrite
/
llist
.
iFrame
"Hlys"
.
iSplit
=>
//
.
iSplit
;
[
done
|
]
.
rewrite
/
lty_list
/
lty_rec
fixpoint_unfold
.
iLeft
.
eauto
.
-
iDestruct
"Hlys"
as
(
vb
l''
)
"[[-> HB] [Hl' Hrec]]"
.
iExists
lys
,
_
.
iFrame
"Hl'"
.
iSplit
=>
//
.
iSplit
;
[
done
|
]
.
rewrite
/
lty_list
/
lty_rec
.
iEval
(
rewrite
fixpoint_unfold
)
.
iRight
.
iExists
_
.
iSplit
=>
//
.
iExists
_,
_
.
iSplit
=>
//
.
iRight
.
iExists
_
.
iSplit
;
[
done
|
]
.
iExists
_,
_
.
iSplit
;
[
done
|
]
.
iFrame
"HB"
.
by
iApply
(
"IH"
with
"Hrec"
)
.
Qed
.
...
...
@@ -308,7 +308,7 @@ Section compute_example.
ref_uniq
(
lty_list
A
)
.
Proof
.
iApply
ltyped_val_ltyped
.
iApply
ltyped_val_lam
=>
//
.
iApply
ltyped_val_lam
.
iApply
ltyped_post_nil
.
iApply
(
ltyped_lam
[
EnvItem
"xs"
_])
.
iIntros
"!>"
(
vs
)
"HΓ"
.
simplify_map_eq
.
...
...
@@ -352,7 +352,7 @@ Section compute_example.
iApply
lty_le_r
;
[
|
iApply
lty_bi_le_sym
;
iApply
lty_le_rec_unfold
]
.
iApply
lty_le_l
;
[
iApply
lty_le_dual_select
|
]
.
iApply
lty_le_branch
.
rewrite
fmap_insert
fmap_insert
fmap_empty
.
iApply
big_sepM2_insert
=>
//
.
iApply
big_sepM2_insert
;
[
done
|
done
|
]
.
iSplit
.
-
iApply
lty_le_l
;
[
iApply
lty_le_dual_send
|
]
.
iExists
A
.
...
...
@@ -360,8 +360,8 @@ Section compute_example.
iApply
lty_le_l
;
[
iApply
lty_le_dual_recv
|
]
.
iApply
lty_le_send
;
[
iApply
lty_le_refl
|
]
.
iIntros
"!>!>!>"
.
iApply
lty_le_dual_l
.
iApply
"IH"
.
-
iApply
big_sepM2_insert
=>
//
.
iSplit
=>
//.
iApply
lty_le_l
;
[
iApply
lty_le_dual_end
|
iApply
lty_le_refl
]
.
-
iApply
big_sepM2_insert
;
[
done
|
done
|
]
.
iSplit
;
[
|
done
]
.
iApply
lty_le_l
;
[
iApply
lty_le_dual_end
|
iApply
lty_le_refl
]
.
Qed
.
Lemma
ltyped_compute_list_par
A
e
Γ
Γ'
:
...
...
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