Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
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
Pierre Roux
Iris
Commits
7db70704
Commit
7db70704
authored
2 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
make an internal lemma local
parent
57d390bb
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
iris/base_logic/lib/fancy_updates.v
+2
-1
2 additions, 1 deletion
iris/base_logic/lib/fancy_updates.v
iris/base_logic/lib/later_credits.v
+1
-1
1 addition, 1 deletion
iris/base_logic/lib/later_credits.v
with
3 additions
and
2 deletions
iris/base_logic/lib/fancy_updates.v
+
2
−
1
View file @
7db70704
...
...
@@ -116,7 +116,8 @@ Lemma fupd_plain_soundness_no_lc `{!invGpreS Σ} E1 E2 (P: iProp Σ) `{!Plain P}
(
∀
`{
Hinv
:
!
invGS
Σ
}
`{
!
HasNoLc
Σ
},
⊢
|
=
{
E1
,
E2
}=>
P
)
→
⊢
P
.
Proof
.
iIntros
(
Hfupd
)
.
apply
later_soundness
.
iMod
wsat_alloc
as
(
Hw
)
"[Hw HE]"
.
iMod
(
lc_alloc
0
)
as
(
Hc
)
"[_ _]"
.
(* We don't actually want any credits, but we need the [lcGS]. *)
iMod
(
later_credits
.
le_upd
.
lc_alloc
0
)
as
(
Hc
)
"[_ _]"
.
set
(
Hi
:=
InvG
_
Hw
Hc
false
)
.
iAssert
(|
=
{
⊤
,
E2
}=>
P
)
%
I
as
"H"
.
{
iMod
(
fupd_mask_subseteq
E1
)
as
"_"
;
first
done
.
iApply
Hfupd
.
by
constructor
.
}
...
...
This diff is collapsed.
Click to expand it.
iris/base_logic/lib/later_credits.v
+
1
−
1
View file @
7db70704
...
...
@@ -345,7 +345,7 @@ Module le_upd.
(** You probably do NOT want to use this lemma; use [lc_soundness] if you want
to actually use [le_upd]! *)
Lemma
lc_alloc
`{
!
lcGpreS
Σ
}
n
:
Local
Lemma
lc_alloc
`{
!
lcGpreS
Σ
}
n
:
⊢
|
==>
∃
_
:
lcGS
Σ
,
lc_supply
n
∗
£
n
.
Proof
.
rewrite
lc_unseal
/
lc_def
lc_supply_unseal
/
lc_supply_def
.
...
...
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