Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
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
Model registry
Operate
Environments
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
Michael Sammler
iris-coq
Commits
34f9f865
Commit
34f9f865
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
More now_True laws.
parent
c4054f80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
algebra/upred.v
+10
-0
10 additions, 0 deletions
algebra/upred.v
proofmode/class_instances.v
+2
-4
2 additions, 4 deletions
proofmode/class_instances.v
with
12 additions
and
4 deletions
algebra/upred.v
+
10
−
0
View file @
34f9f865
...
@@ -1141,6 +1141,9 @@ Lemma now_True_mono P Q : (P ⊢ Q) → ◇ P ⊢ ◇ Q.
...
@@ -1141,6 +1141,9 @@ Lemma now_True_mono P Q : (P ⊢ Q) → ◇ P ⊢ ◇ Q.
Proof
.
by
intros
->
.
Qed
.
Proof
.
by
intros
->
.
Qed
.
Lemma
now_True_idemp
P
:
◇
◇
P
⊢
◇
P
.
Lemma
now_True_idemp
P
:
◇
◇
P
⊢
◇
P
.
Proof
.
rewrite
/
uPred_now_True
;
auto
.
Qed
.
Proof
.
rewrite
/
uPred_now_True
;
auto
.
Qed
.
Lemma
now_True_True
:
◇
True
⊣⊢
True
.
Proof
.
rewrite
/
uPred_now_True
.
apply
(
anti_symm
_);
auto
.
Qed
.
Lemma
now_True_or
P
Q
:
◇
(
P
∨
Q
)
⊣⊢
◇
P
∨
◇
Q
.
Lemma
now_True_or
P
Q
:
◇
(
P
∨
Q
)
⊣⊢
◇
P
∨
◇
Q
.
Proof
.
rewrite
/
uPred_now_True
.
apply
(
anti_symm
_);
auto
.
Qed
.
Proof
.
rewrite
/
uPred_now_True
.
apply
(
anti_symm
_);
auto
.
Qed
.
Lemma
now_True_and
P
Q
:
◇
(
P
∧
Q
)
⊣⊢
◇
P
∧
◇
Q
.
Lemma
now_True_and
P
Q
:
◇
(
P
∧
Q
)
⊣⊢
◇
P
∧
◇
Q
.
...
@@ -1160,6 +1163,8 @@ Lemma now_True_later P : ◇ ▷ P ⊢ ▷ P.
...
@@ -1160,6 +1163,8 @@ Lemma now_True_later P : ◇ ▷ P ⊢ ▷ P.
Proof
.
by
rewrite
/
uPred_now_True
-
later_or
False_or
.
Qed
.
Proof
.
by
rewrite
/
uPred_now_True
-
later_or
False_or
.
Qed
.
Lemma
now_True_always
P
:
◇
□
P
⊣⊢
□
◇
P
.
Lemma
now_True_always
P
:
◇
□
P
⊣⊢
□
◇
P
.
Proof
.
by
rewrite
/
uPred_now_True
always_or
always_later
always_pure
.
Qed
.
Proof
.
by
rewrite
/
uPred_now_True
always_or
always_later
always_pure
.
Qed
.
Lemma
now_True_always_if
p
P
:
◇
□
?p
P
⊣⊢
□
?p
◇
P
.
Proof
.
destruct
p
;
simpl
;
auto
using
now_True_always
.
Qed
.
Lemma
now_True_frame_l
P
Q
:
P
★
◇
Q
⊢
◇
(
P
★
Q
)
.
Lemma
now_True_frame_l
P
Q
:
P
★
◇
Q
⊢
◇
(
P
★
Q
)
.
Proof
.
by
rewrite
{
1
}(
now_True_intro
P
)
now_True_sep
.
Qed
.
Proof
.
by
rewrite
{
1
}(
now_True_intro
P
)
now_True_sep
.
Qed
.
Lemma
now_True_frame_r
P
Q
:
◇
P
★
Q
⊢
◇
(
P
★
Q
)
.
Lemma
now_True_frame_r
P
Q
:
◇
P
★
Q
⊢
◇
(
P
★
Q
)
.
...
@@ -1238,6 +1243,11 @@ Proof.
...
@@ -1238,6 +1243,11 @@ Proof.
exists
(
y
⋅
x3
);
split
;
first
by
rewrite
-
assoc
.
exists
(
y
⋅
x3
);
split
;
first
by
rewrite
-
assoc
.
exists
y
;
eauto
using
cmra_includedN_l
.
exists
y
;
eauto
using
cmra_includedN_l
.
Qed
.
Qed
.
Lemma
now_True_rvs
P
:
◇
(|
=
r
=>
◇
P
)
⊢
(|
=
r
=>
◇
P
)
.
Proof
.
rewrite
/
uPred_now_True
.
apply
or_elim
;
auto
using
rvs_mono
.
by
rewrite
-
rvs_intro
-
or_intro_l
.
Qed
.
(** * Derived rules *)
(** * Derived rules *)
Global
Instance
rvs_mono'
:
Proper
((
⊢
)
==>
(
⊢
))
(
@
uPred_rvs
M
)
.
Global
Instance
rvs_mono'
:
Proper
((
⊢
)
==>
(
⊢
))
(
@
uPred_rvs
M
)
.
...
...
This diff is collapsed.
Click to expand it.
proofmode/class_instances.v
+
2
−
4
View file @
34f9f865
...
@@ -272,10 +272,8 @@ Proof.
...
@@ -272,10 +272,8 @@ Proof.
Qed
.
Qed
.
Class
MakeNowTrue
(
P
Q
:
uPred
M
)
:=
make_now_True
:
◇
P
⊣⊢
Q
.
Class
MakeNowTrue
(
P
Q
:
uPred
M
)
:=
make_now_True
:
◇
P
⊣⊢
Q
.
Global
Instance
make_now_True_true
:
MakeNowTrue
True
True
.
Global
Instance
make_now_True_True
:
MakeNowTrue
True
True
.
Proof
.
Proof
.
by
rewrite
/
MakeNowTrue
now_True_True
.
Qed
.
rewrite
/
MakeNowTrue
/
uPred_now_True
.
apply
(
anti_symm
_);
auto
with
I
.
Qed
.
Global
Instance
make_now_True_default
P
:
MakeNowTrue
P
(
◇
P
)
|
100
.
Global
Instance
make_now_True_default
P
:
MakeNowTrue
P
(
◇
P
)
|
100
.
Proof
.
done
.
Qed
.
Proof
.
done
.
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