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
Isaac van Bakel
Iris
Commits
d21b227f
Commit
d21b227f
authored
1 year ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Test.
parent
9b7fa3bb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/bi.ref
+16
-0
16 additions, 0 deletions
tests/bi.ref
tests/bi.v
+10
-0
10 additions, 0 deletions
tests/bi.v
with
26 additions
and
0 deletions
tests/bi.ref
+
16
−
0
View file @
d21b227f
...
...
@@ -4,3 +4,19 @@ PROP : bi
m : gmap nat nat
The term "m" has type "gmap nat nat" while it is expected to have type
"gmap nat Z" (cannot unify "nat" and "Z").
The command has indeed failed with message:
Unable to satisfy the following constraints:
In environment:
PROP : bi
P : PROP
?p : "Persistent (|==> P)"
The command has indeed failed with message:
Unable to satisfy the following constraints:
In environment:
PROP : bi
P : PROP
?p : "Persistent (■ P)"
This diff is collapsed.
Click to expand it.
tests/bi.v
+
10
−
0
View file @
d21b227f
...
...
@@ -60,3 +60,13 @@ Section big_sepM_implicit_type.
Definition
big_sepM_implicit_type
{
PROP
:
bi
}
(
m
:
gmap
nat
nat
)
:
PROP
:=
[
∗
map
]
x
∈
m
,
⌜
10
%
Z
=
x
⌝.
End
big_sepM_implicit_type
.
(** This tests that [bupd] is [Typeclasses Opaque]. If [bupd] were transparent,
Coq would unify [bupd_instance] with [persistently]. *)
Goal
∀
{
PROP
:
bi
}
(
P
:
PROP
),
∃
bupd_instance
,
Persistent
(
@
bupd
PROP
bupd_instance
P
)
.
Proof
.
intros
.
eexists
_
.
Fail
apply
_
.
Abort
.
(* Similarly for [plainly]. *)
Goal
∀
{
PROP
:
bi
}
(
P
:
PROP
),
∃
plainly_instance
,
Persistent
(
@
plainly
PROP
plainly_instance
P
)
.
Proof
.
intros
.
eexists
_
.
Fail
apply
_
.
Abort
.
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