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
d39d3c1e
Commit
d39d3c1e
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Consistently Use meta variable `TT` for telescopes in `class_instances_bi`.
parent
fa438702
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
theories/proofmode/class_instances_bi.v
+6
-7
6 additions, 7 deletions
theories/proofmode/class_instances_bi.v
with
6 additions
and
7 deletions
theories/proofmode/class_instances_bi.v
+
6
−
7
View file @
d39d3c1e
...
@@ -434,8 +434,7 @@ Qed.
...
@@ -434,8 +434,7 @@ Qed.
Global
Instance
into_wand_forall
{
A
}
p
q
(
Φ
:
A
→
PROP
)
P
Q
x
:
Global
Instance
into_wand_forall
{
A
}
p
q
(
Φ
:
A
→
PROP
)
P
Q
x
:
IntoWand
p
q
(
Φ
x
)
P
Q
→
IntoWand
p
q
(
∀
x
,
Φ
x
)
P
Q
.
IntoWand
p
q
(
Φ
x
)
P
Q
→
IntoWand
p
q
(
∀
x
,
Φ
x
)
P
Q
.
Proof
.
rewrite
/
IntoWand
=>
<-.
by
rewrite
(
forall_elim
x
)
.
Qed
.
Proof
.
rewrite
/
IntoWand
=>
<-.
by
rewrite
(
forall_elim
x
)
.
Qed
.
Global
Instance
into_wand_tforall
{
TT
:
tele
}
p
q
(
Φ
:
TT
→
PROP
)
P
Q
x
:
Global
Instance
into_wand_tforall
{
A
}
p
q
(
Φ
:
tele_arg
A
→
PROP
)
P
Q
x
:
IntoWand
p
q
(
Φ
x
)
P
Q
→
IntoWand
p
q
(
∀
.
.
x
,
Φ
x
)
P
Q
.
IntoWand
p
q
(
Φ
x
)
P
Q
→
IntoWand
p
q
(
∀
.
.
x
,
Φ
x
)
P
Q
.
Proof
.
rewrite
/
IntoWand
=>
<-.
by
rewrite
bi_tforall_forall
(
forall_elim
x
)
.
Qed
.
Proof
.
rewrite
/
IntoWand
=>
<-.
by
rewrite
bi_tforall_forall
(
forall_elim
x
)
.
Qed
.
...
@@ -882,7 +881,7 @@ Global Instance into_or_embed `{BiEmbed PROP PROP'} P Q1 Q2 :
...
@@ -882,7 +881,7 @@ Global Instance into_or_embed `{BiEmbed PROP PROP'} P Q1 Q2 :
Proof
.
by
rewrite
/
IntoOr
-
embed_or
=>
<-.
Qed
.
Proof
.
by
rewrite
/
IntoOr
-
embed_or
=>
<-.
Qed
.
(** FromExist *)
(** FromExist *)
Global
Instance
from_exist_texist
{
A
}
(
Φ
:
tele
_arg
A
→
PROP
)
:
Global
Instance
from_exist_texist
{
TT
:
tele
}
(
Φ
:
TT
→
PROP
)
:
FromExist
(
∃
.
.
a
,
Φ
a
)
Φ
.
FromExist
(
∃
.
.
a
,
Φ
a
)
Φ
.
Proof
.
by
rewrite
/
FromExist
bi_texist_exist
.
Qed
.
Proof
.
by
rewrite
/
FromExist
bi_texist_exist
.
Qed
.
Global
Instance
from_exist_pure
{
A
}
(
φ
:
A
→
Prop
)
:
Global
Instance
from_exist_pure
{
A
}
(
φ
:
A
→
Prop
)
:
...
@@ -913,7 +912,7 @@ Qed.
...
@@ -913,7 +912,7 @@ Qed.
(** IntoExist *)
(** IntoExist *)
Global
Instance
into_exist_exist
{
A
}
(
Φ
:
A
→
PROP
)
:
IntoExist
(
∃
a
,
Φ
a
)
Φ
.
Global
Instance
into_exist_exist
{
A
}
(
Φ
:
A
→
PROP
)
:
IntoExist
(
∃
a
,
Φ
a
)
Φ
.
Proof
.
by
rewrite
/
IntoExist
.
Qed
.
Proof
.
by
rewrite
/
IntoExist
.
Qed
.
Global
Instance
into_exist_texist
{
A
}
(
Φ
:
tele
_arg
A
→
PROP
)
:
Global
Instance
into_exist_texist
{
TT
:
tele
}
(
Φ
:
TT
→
PROP
)
:
IntoExist
(
∃
.
.
a
,
Φ
a
)
Φ
|
10
.
IntoExist
(
∃
.
.
a
,
Φ
a
)
Φ
|
10
.
Proof
.
by
rewrite
/
IntoExist
bi_texist_exist
.
Qed
.
Proof
.
by
rewrite
/
IntoExist
bi_texist_exist
.
Qed
.
Global
Instance
into_exist_pure
{
A
}
(
φ
:
A
→
Prop
)
:
Global
Instance
into_exist_pure
{
A
}
(
φ
:
A
→
Prop
)
:
...
@@ -951,7 +950,7 @@ Proof. by rewrite /IntoExist -embed_exist => <-. Qed.
...
@@ -951,7 +950,7 @@ Proof. by rewrite /IntoExist -embed_exist => <-. Qed.
(** IntoForall *)
(** IntoForall *)
Global
Instance
into_forall_forall
{
A
}
(
Φ
:
A
→
PROP
)
:
IntoForall
(
∀
a
,
Φ
a
)
Φ
.
Global
Instance
into_forall_forall
{
A
}
(
Φ
:
A
→
PROP
)
:
IntoForall
(
∀
a
,
Φ
a
)
Φ
.
Proof
.
by
rewrite
/
IntoForall
.
Qed
.
Proof
.
by
rewrite
/
IntoForall
.
Qed
.
Global
Instance
into_forall_tforall
{
A
}
(
Φ
:
tele
_arg
A
→
PROP
)
:
Global
Instance
into_forall_tforall
{
TT
:
tele
}
(
Φ
:
TT
→
PROP
)
:
IntoForall
(
∀
.
.
a
,
Φ
a
)
Φ
|
10
.
IntoForall
(
∀
.
.
a
,
Φ
a
)
Φ
|
10
.
Proof
.
by
rewrite
/
IntoForall
bi_tforall_forall
.
Qed
.
Proof
.
by
rewrite
/
IntoForall
bi_tforall_forall
.
Qed
.
Global
Instance
into_forall_affinely
{
A
}
P
(
Φ
:
A
→
PROP
)
:
Global
Instance
into_forall_affinely
{
A
}
P
(
Φ
:
A
→
PROP
)
:
...
@@ -999,8 +998,8 @@ Qed.
...
@@ -999,8 +998,8 @@ Qed.
Global
Instance
from_forall_forall
{
A
}
(
Φ
:
A
→
PROP
)
:
Global
Instance
from_forall_forall
{
A
}
(
Φ
:
A
→
PROP
)
:
FromForall
(
∀
x
,
Φ
x
)
Φ
.
FromForall
(
∀
x
,
Φ
x
)
Φ
.
Proof
.
by
rewrite
/
FromForall
.
Qed
.
Proof
.
by
rewrite
/
FromForall
.
Qed
.
Global
Instance
from_forall_tforall
{
A
}
(
Φ
:
tele
_arg
A
→
PROP
)
:
Global
Instance
from_forall_tforall
{
TT
:
tele
}
(
Φ
:
TT
→
PROP
)
:
FromForall
(
∀
.
.
x
,
Φ
x
)
%
I
Φ
.
FromForall
(
∀
.
.
x
,
Φ
x
)
Φ
.
Proof
.
by
rewrite
/
FromForall
bi_tforall_forall
.
Qed
.
Proof
.
by
rewrite
/
FromForall
bi_tforall_forall
.
Qed
.
Global
Instance
from_forall_pure
{
A
}
(
φ
:
A
→
Prop
)
:
Global
Instance
from_forall_pure
{
A
}
(
φ
:
A
→
Prop
)
:
@
FromForall
PROP
A
⌜∀
a
:
A
,
φ
a
⌝
(
λ
a
,
⌜
φ
a
⌝
)
%
I
.
@
FromForall
PROP
A
⌜∀
a
:
A
,
φ
a
⌝
(
λ
a
,
⌜
φ
a
⌝
)
%
I
.
...
...
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