Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
Iris
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
116
Issues
116
List
Boards
Labels
Service Desk
Milestones
Merge Requests
20
Merge Requests
20
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Iris
Iris
Commits
b71c6f44
Commit
b71c6f44
authored
Apr 27, 2018
by
Ralf Jung
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
have two instances for ElimInv and MakeEmbed, instead of one horrible one
parent
3627c45f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
theories/proofmode/monpred.v
theories/proofmode/monpred.v
+14
-11
No files found.
theories/proofmode/monpred.v
View file @
b71c6f44
...
...
@@ -486,18 +486,21 @@ Global Instance add_modal_at_fupd_goal `{BiFUpd PROP} E1 E2 𝓟 𝓟' Q i :
AddModal
𝓟
𝓟
'
(|={
E1
,
E2
}=>
Q
i
)
→
AddModal
𝓟
𝓟
'
((|={
E1
,
E2
}=>
Q
)
i
).
Proof
.
by
rewrite
/
AddModal
!
monPred_at_fupd
.
Qed
.
Global
Instance
elim_inv_embed
φ
𝓟
inv
𝓟
in
𝓟
out
𝓟
close
Pin
Pout
Pclose
Q
Q'
:
(
∀
i
,
ElimInv
φ
𝓟
inv
𝓟
in
𝓟
out
𝓟
close
(
Q
i
)
(
Q'
i
))
→
Global
Instance
elim_inv_embed_with_close
φ
𝓟
inv
𝓟
in
𝓟
out
𝓟
close
Pin
Pout
Pclose
Q
Q'
:
(
∀
i
,
ElimInv
φ
𝓟
inv
𝓟
in
𝓟
out
(
Some
𝓟
close
)
(
Q
i
)
(
Q'
i
))
→
MakeEmbed
𝓟
in
Pin
→
MakeEmbed
𝓟
out
Pout
→
MakeEmbed
𝓟
close
Pclose
→
ElimInv
φ
⎡𝓟
inv
⎤
Pin
Pout
(
Some
Pclose
)
Q
Q'
.
Proof
.
rewrite
/
MakeEmbed
/
ElimInv
=>
H
<-
<-
<-
?.
iStartProof
PROP
.
iIntros
(?)
"(?&?&HQ')"
.
iApply
H
;
[
done
|].
iFrame
.
iIntros
"?"
.
by
iApply
"HQ'"
.
Qed
.
Global
Instance
elim_inv_embed_without_close
φ
𝓟
inv
𝓟
in
𝓟
out
Pin
Pout
Q
Q'
:
(
∀
i
,
ElimInv
φ
𝓟
inv
𝓟
in
𝓟
out
None
(
Q
i
)
(
Q'
i
))
→
MakeEmbed
𝓟
in
Pin
→
MakeEmbed
𝓟
out
Pout
→
match
𝓟
close
,
Pclose
with
|
Some
𝓟
close
,
Some
Pclose
=>
MakeEmbed
𝓟
close
Pclose
|
None
,
None
=>
True
|
_
,
_
=>
False
end
→
ElimInv
φ
⎡𝓟
inv
⎤
Pin
Pout
Pclose
Q
Q'
.
ElimInv
φ
⎡𝓟
inv
⎤
Pin
Pout
None
Q
Q'
.
Proof
.
rewrite
/
MakeEmbed
/
ElimInv
=>
H
<-
<-
Hclose
?.
iStartProof
PROP
.
iIntros
(?)
"(?&?&HQ')"
.
iApply
H
;
[
done
|].
iFrame
.
iIntros
"?"
.
destruct
𝓟
close
;
destruct
Pclose
;
try
rewrite
-
Hclose
;
iApply
"HQ'"
;
done
.
rewrite
/
MakeEmbed
/
ElimInv
=>
H
<-
<-
?.
iStartProof
PROP
.
iIntros
(?)
"(?&?&HQ')"
.
iApply
H
;
[
done
|].
iFrame
.
iIntros
"?"
.
by
iApply
"HQ'"
.
Qed
.
End
sbi
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment