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
d0276a67
Commit
d0276a67
authored
9 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Rename some old occurences of always stable into persistent.
parent
7952bca4
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
algebra/upred.v
+4
-4
4 additions, 4 deletions
algebra/upred.v
algebra/upred_big_op.v
+6
-5
6 additions, 5 deletions
algebra/upred_big_op.v
with
10 additions
and
9 deletions
algebra/upred.v
+
4
−
4
View file @
d0276a67
...
...
@@ -957,7 +957,7 @@ Proof. intros P Q; apply later_mono. Qed.
Global
Instance
later_flip_mono'
:
Proper
(
flip
(
⊢
)
==>
flip
(
⊢
))
(
@
uPred_later
M
)
.
Proof
.
intros
P
Q
;
apply
later_mono
.
Qed
.
Lemma
later_True
:
(
▷
True
)
⊣⊢
True
.
Lemma
later_True
:
▷
True
⊣⊢
True
.
Proof
.
apply
(
anti_symm
(
⊢
));
auto
using
later_intro
.
Qed
.
Lemma
later_impl
P
Q
:
▷
(
P
→
Q
)
⊢
(
▷
P
→
▷
Q
)
.
Proof
.
...
...
@@ -969,7 +969,7 @@ Lemma later_exist `{Inhabited A} (Φ : A → uPred M) :
Proof
.
apply
:
anti_symm
;
eauto
using
later_exist'
,
later_exist_1
.
Qed
.
Lemma
later_wand
P
Q
:
▷
(
P
-★
Q
)
⊢
(
▷
P
-★
▷
Q
)
.
Proof
.
apply
wand_intro_r
;
rewrite
-
later_sep
;
apply
later_mono
,
wand_elim_l
.
Qed
.
Lemma
later_iff
P
Q
:
(
▷
(
P
↔
Q
)
)
⊢
(
▷
P
↔
▷
Q
)
.
Lemma
later_iff
P
Q
:
▷
(
P
↔
Q
)
⊢
(
▷
P
↔
▷
Q
)
.
Proof
.
by
rewrite
/
uPred_iff
later_and
!
later_impl
.
Qed
.
Lemma
löb_strong
P
Q
:
(
P
∧
▷
Q
)
⊢
Q
→
P
⊢
Q
.
Proof
.
...
...
@@ -1119,7 +1119,7 @@ Proof.
cmra_timeless_included_l
;
eauto
using
cmra_validN_le
.
Qed
.
(*
Always stabl
e *)
(*
Persistenc
e *)
Global
Instance
const_persistent
φ
:
PersistentP
(
■
φ
:
uPred
M
)
%
I
.
Proof
.
by
rewrite
/
PersistentP
always_const
.
Qed
.
Global
Instance
always_persistent
P
:
PersistentP
(
□
P
)
.
...
...
@@ -1153,7 +1153,7 @@ Global Instance default_persistent {A} P (Ψ : A → uPred M) (mx : option A) :
PersistentP
P
→
(
∀
x
,
PersistentP
(
Ψ
x
))
→
PersistentP
(
default
P
mx
Ψ
)
.
Proof
.
destruct
mx
;
apply
_
.
Qed
.
(* Derived lemmas for
always stabl
e *)
(* Derived lemmas for
persistenc
e *)
Lemma
always_always
P
`{
!
PersistentP
P
}
:
(
□
P
)
⊣⊢
P
.
Proof
.
apply
(
anti_symm
(
⊢
));
auto
using
always_elim
.
Qed
.
Lemma
always_intro
P
Q
`{
!
PersistentP
P
}
:
P
⊢
Q
→
P
⊢
□
Q
.
...
...
This diff is collapsed.
Click to expand it.
algebra/upred_big_op.v
+
6
−
5
View file @
d0276a67
...
...
@@ -28,17 +28,18 @@ Instance: Params (@uPred_big_sepS) 5.
Notation
"'Π★{set' X } Φ"
:=
(
uPred_big_sepS
X
Φ
)
(
at
level
20
,
X
at
level
10
,
format
"Π★{set X } Φ"
)
:
uPred_scope
.
(** *
Always stability for list
s *)
(** *
Persistence of lists of uPred
s *)
Class
PersistentL
{
M
}
(
Ps
:
list
(
uPred
M
))
:=
persistentL
:
Forall
PersistentP
Ps
.
Arguments
persistentL
{_}
_
{_}
.
(** * Properties *)
Section
big_op
.
Context
{
M
:
cmraT
}
.
Implicit
Types
Ps
Qs
:
list
(
uPred
M
)
.
Implicit
Types
A
:
Type
.
(* Big ops *)
(*
* **
Big ops
over lists
*)
Global
Instance
big_and_proper
:
Proper
((
≡
)
==>
(
⊣⊢
))
(
@
uPred_big_and
M
)
.
Proof
.
by
induction
1
as
[|
P
Q
Ps
Qs
HPQ
?
IH
];
rewrite
/=
?HPQ
?IH
.
Qed
.
Global
Instance
big_sep_proper
:
Proper
((
≡
)
==>
(
⊣⊢
))
(
@
uPred_big_sep
M
)
.
...
...
@@ -91,7 +92,7 @@ Proof. induction 1; simpl; auto with I. Qed.
Lemma
big_sep_elem_of
Ps
P
:
P
∈
Ps
→
Π
★
Ps
⊢
P
.
Proof
.
induction
1
;
simpl
;
auto
with
I
.
Qed
.
(* Big ops over finite maps *)
(*
* **
Big ops over finite maps *)
Section
gmap
.
Context
`{
Countable
K
}
{
A
:
Type
}
.
Implicit
Types
m
:
gmap
K
A
.
...
...
@@ -152,7 +153,7 @@ Section gmap.
Qed
.
End
gmap
.
(* Big ops over finite sets *)
(*
* **
Big ops over finite sets *)
Section
gset
.
Context
`{
Countable
A
}
.
Implicit
Types
X
:
gset
A
.
...
...
@@ -213,7 +214,7 @@ Section gset.
Qed
.
End
gset
.
(*
Always stabl
e *)
(*
* ** Persistenc
e *)
Global
Instance
big_and_persistent
Ps
:
PersistentL
Ps
→
PersistentP
(
Π
∧
Ps
)
.
Proof
.
induction
1
;
apply
_
.
Qed
.
Global
Instance
big_sep_persistent
Ps
:
PersistentL
Ps
→
PersistentP
(
Π
★
Ps
)
.
...
...
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