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
2f262935
Commit
2f262935
authored
3 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
Apply 3 suggestion(s) to 1 file(s)
parent
05f77071
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
docs/proof_guide.md
+3
-3
3 additions, 3 deletions
docs/proof_guide.md
with
3 additions
and
3 deletions
docs/proof_guide.md
+
3
−
3
View file @
2f262935
...
...
@@ -30,9 +30,9 @@ There are two situations to distinguish here.
#### Eliminating a [fupd] with a mask smaller than the current one
When our goal
u
s
`|={E,_}=> _`
and you want to do
[
iMod
]
on an
`|={E',_}=> _`
, Coq will complain even if
`E' ⊆ E`
.
When
y
our goal
i
s
`|={E,_}=> _`
and you want to do
`
iMod
`
on an
`|={E',_}=> _`
, Coq will complain even if
`E' ⊆ E`
.
To resolve this, you first need to explicitly weaken your mask from
`E`
to
`E'`
by doing:
```
```
coq
iMod
(
fupd_mask_subseteq
E'
)
as
"Hclose"
.
{
(* Resolve subset sidecondition. *)
}
```
...
...
@@ -47,7 +47,7 @@ In that case, you will have to experiment with rules like `fupd_mask_frame`, but
When your goal is
`|={E,E'}=> _`
and you want to do
`iModIntro`
, Coq will complain even if
`E' ⊆ E`
.
This arises, for example, in clients of TaDA-style logically atomic specifications.
To resolve this, do:
```
```
coq
iApply
fupd_mask_intro
.
{
(* Resolve subset sidecondition. *)
}
iIntros
"Hclose"
.
...
...
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