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
bce1a24c
Commit
bce1a24c
authored
7 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Turn some MaybeLaterN instances into LaterN instances.
parent
741641e3
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
theories/proofmode/class_instances.v
+10
-14
10 additions, 14 deletions
theories/proofmode/class_instances.v
theories/proofmode/monpred.v
+3
-3
3 additions, 3 deletions
theories/proofmode/monpred.v
with
13 additions
and
17 deletions
theories/proofmode/class_instances.v
+
10
−
14
View file @
bce1a24c
...
@@ -1609,24 +1609,20 @@ Proof.
...
@@ -1609,24 +1609,20 @@ Proof.
Qed
.
Qed
.
Global
Instance
into_later_affinely
n
P
Q
:
Global
Instance
into_later_affinely
n
P
Q
:
MaybeIntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
(
bi_affinely
P
)
(
bi_affinely
Q
)
.
MaybeIntoLaterN
false
n
(
bi_affinely
P
)
(
bi_affinely
Q
)
.
Proof
.
rewrite
/
IntoLaterN
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_affinely_2
.
Qed
.
Proof
.
rewrite
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_affinely_2
.
Qed
.
Global
Instance
into_later_absorbingly
n
P
Q
:
Global
Instance
into_later_absorbingly
n
P
Q
:
MaybeIntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
(
bi_absorbingly
P
)
(
bi_absorbingly
Q
)
.
MaybeIntoLaterN
false
n
(
bi_absorbingly
P
)
(
bi_absorbingly
Q
)
.
Proof
.
rewrite
/
IntoLaterN
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_absorbingly
.
Qed
.
Proof
.
rewrite
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_absorbingly
.
Qed
.
Global
Instance
into_later_plainly
n
P
Q
:
Global
Instance
into_later_plainly
n
P
Q
:
MaybeIntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
(
bi_plainly
P
)
(
bi_plainly
Q
)
.
MaybeIntoLaterN
false
n
(
bi_plainly
P
)
(
bi_plainly
Q
)
.
Proof
.
rewrite
/
IntoLaterN
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_plainly
.
Qed
.
Proof
.
rewrite
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_plainly
.
Qed
.
Global
Instance
into_later_persistently
n
P
Q
:
Global
Instance
into_later_persistently
n
P
Q
:
MaybeIntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
(
bi_persistently
P
)
(
bi_persistently
Q
)
.
MaybeIntoLaterN
false
n
(
bi_persistently
P
)
(
bi_persistently
Q
)
.
Proof
.
rewrite
/
IntoLaterN
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_persistently
.
Qed
.
Proof
.
rewrite
/
MaybeIntoLaterN
=>
->
.
by
rewrite
laterN_persistently
.
Qed
.
Global
Instance
into_later_embed
`{
SbiEmbedding
PROP
PROP'
}
n
P
Q
:
Global
Instance
into_later_embed
`{
SbiEmbedding
PROP
PROP'
}
n
P
Q
:
Maybe
IntoLaterN
false
n
P
Q
→
Maybe
IntoLaterN
false
n
⎡
P
⎤
⎡
Q
⎤.
IntoLaterN
false
n
P
Q
→
IntoLaterN
false
n
⎡
P
⎤
⎡
Q
⎤.
Proof
.
rewrite
/
MaybeIntoLaterN
=>
->
.
by
rewrite
sbi_embed_laterN
.
Qed
.
Proof
.
rewrite
/
IntoLaterN
/
MaybeIntoLaterN
=>
->
.
by
rewrite
sbi_embed_laterN
.
Qed
.
Global
Instance
into_laterN_sep_l
n
P1
P2
Q1
Q2
:
Global
Instance
into_laterN_sep_l
n
P1
P2
Q1
Q2
:
IntoLaterN
false
n
P1
Q1
→
MaybeIntoLaterN
false
n
P2
Q2
→
IntoLaterN
false
n
P1
Q1
→
MaybeIntoLaterN
false
n
P2
Q2
→
...
...
This diff is collapsed.
Click to expand it.
theories/proofmode/monpred.v
+
3
−
3
View file @
bce1a24c
...
@@ -426,10 +426,10 @@ Global Instance into_except_0_monPred_at_bwd i P 𝓟 Q :
...
@@ -426,10 +426,10 @@ Global Instance into_except_0_monPred_at_bwd i P 𝓟 Q :
Proof
.
rewrite
/
IntoExcept0
/
MakeMonPredAt
=>
H
<-.
by
rewrite
H
monPred_at_except_0
.
Qed
.
Proof
.
rewrite
/
IntoExcept0
/
MakeMonPredAt
=>
H
<-.
by
rewrite
H
monPred_at_except_0
.
Qed
.
Global
Instance
maybe_into_later_monPred_at
i
n
P
Q
𝓠
:
Global
Instance
maybe_into_later_monPred_at
i
n
P
Q
𝓠
:
Maybe
IntoLaterN
false
n
P
Q
→
MakeMonPredAt
i
Q
𝓠
→
IntoLaterN
false
n
P
Q
→
MakeMonPredAt
i
Q
𝓠
→
Maybe
IntoLaterN
false
n
(
P
i
)
𝓠
.
IntoLaterN
false
n
(
P
i
)
𝓠
.
Proof
.
Proof
.
rewrite
/
MaybeIntoLaterN
/
MakeMonPredAt
=>
->
<-.
elim
n
=>
//=
?
<-.
rewrite
/
IntoLaterN
/
MaybeIntoLaterN
/
MakeMonPredAt
=>
->
<-.
elim
n
=>
//=
?
<-.
by
rewrite
monPred_at_later
.
by
rewrite
monPred_at_later
.
Qed
.
Qed
.
Global
Instance
from_later_monPred_at
i
n
P
Q
𝓠
:
Global
Instance
from_later_monPred_at
i
n
P
Q
𝓠
:
...
...
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