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
e5905932
Commit
e5905932
authored
2 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Rename `laterN_plus` into `laterN_add`.
parent
55e78d6f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
iris/algebra/numbers.v
+1
-1
1 addition, 1 deletion
iris/algebra/numbers.v
iris/bi/derived_laws_later.v
+1
-1
1 addition, 1 deletion
iris/bi/derived_laws_later.v
iris/proofmode/class_instances_later.v
+2
-2
2 additions, 2 deletions
iris/proofmode/class_instances_later.v
with
4 additions
and
4 deletions
iris/algebra/numbers.v
+
1
−
1
View file @
e5905932
...
@@ -163,7 +163,7 @@ Section positive.
...
@@ -163,7 +163,7 @@ Section positive.
Local
Instance
pos_validN_instance
:
ValidN
positive
:=
λ
n
x
,
True
.
Local
Instance
pos_validN_instance
:
ValidN
positive
:=
λ
n
x
,
True
.
Local
Instance
pos_pcore_instance
:
PCore
positive
:=
λ
x
,
None
.
Local
Instance
pos_pcore_instance
:
PCore
positive
:=
λ
x
,
None
.
Local
Instance
pos_op_instance
:
Op
positive
:=
Pos
.
add
.
Local
Instance
pos_op_instance
:
Op
positive
:=
Pos
.
add
.
Definition
pos_op_
plus
x
y
:
x
⋅
y
=
(
x
+
y
)
%
positive
:=
eq_refl
.
Definition
pos_op_
add
x
y
:
x
⋅
y
=
(
x
+
y
)
%
positive
:=
eq_refl
.
Lemma
pos_included
(
x
y
:
positive
)
:
x
≼
y
↔
(
x
<
y
)
%
positive
.
Lemma
pos_included
(
x
y
:
positive
)
:
x
≼
y
↔
(
x
<
y
)
%
positive
.
Proof
.
by
rewrite
Plt_sum
.
Qed
.
Proof
.
by
rewrite
Plt_sum
.
Qed
.
Lemma
pos_ra_mixin
:
RAMixin
positive
.
Lemma
pos_ra_mixin
:
RAMixin
positive
.
...
...
This diff is collapsed.
Click to expand it.
iris/bi/derived_laws_later.v
+
1
−
1
View file @
e5905932
...
@@ -183,7 +183,7 @@ Lemma later_laterN n P : ▷^(S n) P ⊣⊢ ▷ ▷^n P.
...
@@ -183,7 +183,7 @@ Lemma later_laterN n P : ▷^(S n) P ⊣⊢ ▷ ▷^n P.
Proof
.
done
.
Qed
.
Proof
.
done
.
Qed
.
Lemma
laterN_later
n
P
:
▷^
(
S
n
)
P
⊣⊢
▷^
n
▷
P
.
Lemma
laterN_later
n
P
:
▷^
(
S
n
)
P
⊣⊢
▷^
n
▷
P
.
Proof
.
induction
n
;
f_equiv
/=
;
auto
.
Qed
.
Proof
.
induction
n
;
f_equiv
/=
;
auto
.
Qed
.
Lemma
laterN_
plus
n1
n2
P
:
▷^
(
n1
+
n2
)
P
⊣⊢
▷^
n1
▷^
n2
P
.
Lemma
laterN_
add
n1
n2
P
:
▷^
(
n1
+
n2
)
P
⊣⊢
▷^
n1
▷^
n2
P
.
Proof
.
induction
n1
;
f_equiv
/=
;
auto
.
Qed
.
Proof
.
induction
n1
;
f_equiv
/=
;
auto
.
Qed
.
Lemma
laterN_le
n1
n2
P
:
n1
≤
n2
→
▷^
n1
P
⊢
▷^
n2
P
.
Lemma
laterN_le
n1
n2
P
:
n1
≤
n2
→
▷^
n1
P
⊢
▷^
n2
P
.
Proof
.
induction
1
;
simpl
;
by
rewrite
-
?later_intro
.
Qed
.
Proof
.
induction
1
;
simpl
;
by
rewrite
-
?later_intro
.
Qed
.
...
...
This diff is collapsed.
Click to expand it.
iris/proofmode/class_instances_later.v
+
2
−
2
View file @
e5905932
...
@@ -288,7 +288,7 @@ Global Instance into_laterN_later only_head n n' m' P Q lQ :
...
@@ -288,7 +288,7 @@ Global Instance into_laterN_later only_head n n' m' P Q lQ :
Proof
.
Proof
.
rewrite
/
MakeLaterN
/
IntoLaterN
/
MaybeIntoLaterN
/
NatCancel
.
rewrite
/
MakeLaterN
/
IntoLaterN
/
MaybeIntoLaterN
/
NatCancel
.
move
=>
Hn
[_
->
|
->
]
<-
;
move
=>
Hn
[_
->
|
->
]
<-
;
by
rewrite
-
later_laterN
-
laterN_
plus
-
Hn
Nat
.
add_comm
.
by
rewrite
-
later_laterN
-
laterN_
add
-
Hn
Nat
.
add_comm
.
Qed
.
Qed
.
Global
Instance
into_laterN_laterN
only_head
n
m
n'
m'
P
Q
lQ
:
Global
Instance
into_laterN_laterN
only_head
n
m
n'
m'
P
Q
lQ
:
NatCancel
n
m
n'
m'
→
NatCancel
n
m
n'
m'
→
...
@@ -297,7 +297,7 @@ Global Instance into_laterN_laterN only_head n m n' m' P Q lQ :
...
@@ -297,7 +297,7 @@ Global Instance into_laterN_laterN only_head n m n' m' P Q lQ :
IntoLaterN
only_head
n
(
▷^
m
P
)
lQ
|
1
.
IntoLaterN
only_head
n
(
▷^
m
P
)
lQ
|
1
.
Proof
.
Proof
.
rewrite
/
MakeLaterN
/
IntoLaterN
/
MaybeIntoLaterN
/
NatCancel
.
rewrite
/
MakeLaterN
/
IntoLaterN
/
MaybeIntoLaterN
/
NatCancel
.
move
=>
Hn
[_
->
|
->
]
<-
;
by
rewrite
-!
laterN_
plus
-
Hn
Nat
.
add_comm
.
move
=>
Hn
[_
->
|
->
]
<-
;
by
rewrite
-!
laterN_
add
-
Hn
Nat
.
add_comm
.
Qed
.
Qed
.
Global
Instance
into_laterN_and_l
n
P1
P2
Q1
Q2
:
Global
Instance
into_laterN_and_l
n
P1
P2
Q1
Q2
:
...
...
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