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
Simcha van Collem
Iris
Commits
f31533a8
Commit
f31533a8
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Make iSplit work with later and always.
parent
1fc3937f
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
proofmode/coq_tactics.v
+13
-0
13 additions, 0 deletions
proofmode/coq_tactics.v
with
13 additions
and
0 deletions
proofmode/coq_tactics.v
+
13
−
0
View file @
f31533a8
...
...
@@ -667,6 +667,12 @@ Proof. intros. by rewrite /AndSplit always_and_sep_l. Qed.
Global
Instance
and_split_sep_persistent_r
P1
P2
:
PersistentP
P2
→
AndSplit
(
P1
★
P2
)
P1
P2
.
Proof
.
intros
.
by
rewrite
/
AndSplit
always_and_sep_r
.
Qed
.
Global
Instance
and_split_always
P
Q1
Q2
:
AndSplit
P
Q1
Q2
→
AndSplit
(
□
P
)
(
□
Q1
)
(
□
Q2
)
.
Proof
.
rewrite
/
AndSplit
=>
<-.
by
rewrite
always_and
.
Qed
.
Global
Instance
and_split_later
P
Q1
Q2
:
AndSplit
P
Q1
Q2
→
AndSplit
(
▷
P
)
(
▷
Q1
)
(
▷
Q2
)
.
Proof
.
rewrite
/
AndSplit
=>
<-.
by
rewrite
later_and
.
Qed
.
Lemma
tac_and_split
Δ
P
Q1
Q2
:
AndSplit
P
Q1
Q2
→
(
Δ
⊢
Q1
)
→
(
Δ
⊢
Q2
)
→
Δ
⊢
P
.
Proof
.
intros
.
rewrite
-
(
and_split
P
)
.
by
apply
and_intro
.
Qed
.
...
...
@@ -677,6 +683,13 @@ Arguments sep_split : clear implicits.
Global
Instance
sep_split_sep
P1
P2
:
SepSplit
(
P1
★
P2
)
P1
P2
|
100
.
Proof
.
done
.
Qed
.
Global
Instance
sep_split_always
P
Q1
Q2
:
SepSplit
P
Q1
Q2
→
SepSplit
(
□
P
)
(
□
Q1
)
(
□
Q2
)
.
Proof
.
rewrite
/
SepSplit
=>
<-.
by
rewrite
always_sep
.
Qed
.
Global
Instance
sep_split_later
P
Q1
Q2
:
SepSplit
P
Q1
Q2
→
SepSplit
(
▷
P
)
(
▷
Q1
)
(
▷
Q2
)
.
Proof
.
rewrite
/
SepSplit
=>
<-.
by
rewrite
later_sep
.
Qed
.
Global
Instance
sep_split_ownM
(
a
b
:
M
)
:
SepSplit
(
uPred_ownM
(
a
⋅
b
))
(
uPred_ownM
a
)
(
uPred_ownM
b
)
|
99
.
Proof
.
by
rewrite
/
SepSplit
ownM_op
.
Qed
.
...
...
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