Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
Iris
Commits
272d3554
Commit
272d3554
authored
Mar 06, 2018
by
Ralf Jung
Browse files
add a test for TC resolution not happening too early
parent
676dd4ec
Pipeline
#7278
passed with stage
in 12 minutes and 9 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
theories/tests/proofmode.v
View file @
272d3554
...
@@ -166,6 +166,15 @@ Proof.
...
@@ -166,6 +166,15 @@ Proof.
iSpecialize
(
"H"
$!
_
[#
10
]).
done
.
iSpecialize
(
"H"
$!
_
[#
10
]).
done
.
Qed
.
Qed
.
(* Check that typeclasses are not resolved too early *)
Lemma
test_TC_resolution
`
{!
BiAffine
PROP
}
(
Φ
:
nat
→
PROP
)
l
x
:
x
∈
l
→
([
∗
list
]
y
∈
l
,
Φ
y
)
-
∗
Φ
x
.
Proof
.
iIntros
(
Hp
)
"HT"
.
iDestruct
(
bi
.
big_sepL_elem_of
_
_
_
Hp
with
"HT"
)
as
"Hp"
.
done
.
Qed
.
Lemma
test_eauto_iFrame
P
Q
R
`
{!
Persistent
R
}
:
Lemma
test_eauto_iFrame
P
Q
R
`
{!
Persistent
R
}
:
P
-
∗
Q
-
∗
R
→
R
∗
Q
∗
P
∗
R
∨
False
.
P
-
∗
Q
-
∗
R
→
R
∗
Q
∗
P
∗
R
∨
False
.
Proof
.
eauto
10
with
iFrame
.
Qed
.
Proof
.
eauto
10
with
iFrame
.
Qed
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment