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
fdfe3d31
Commit
fdfe3d31
authored
2 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Test with custom inductive.
parent
4ace54e6
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
tests/bi.v
+7
-1
7 additions, 1 deletion
tests/bi.v
with
7 additions
and
1 deletion
tests/bi.v
+
7
−
1
View file @
fdfe3d31
...
...
@@ -24,6 +24,12 @@ Definition big_sepM_pattern_value_tt
{
PROP
:
bi
}
(
m
:
gmap
nat
())
:
PROP
:=
[
∗
map
]
'
()
∈
m
,
True
.
Inductive
foo
:=
Foo
(
n
:
nat
)
.
Definition
big_sepM_pattern_value_custom
{
PROP
:
bi
}
(
m
:
gmap
nat
foo
)
:
PROP
:=
[
∗
map
]
'
(
Foo
x
)
∈
m
,
⌜
10
=
x
⌝.
Definition
big_sepM_pattern_key
{
PROP
:
bi
}
(
m
:
gmap
(
nat
*
nat
)
nat
)
:
PROP
:=
[
∗
map
]
'
(
k
,_)
↦
_
∈
m
,
⌜
10
=
k
⌝.
...
...
@@ -36,4 +42,4 @@ Definition big_sepM_cast {PROP : bi} (m : gmap nat nat) : PROP :=
[
∗
map
]
(
x
:
nat
)
∈
m
,
⌜
10
%
Z
=
x
⌝.
Definition
big_sepM2_pattern
{
PROP
:
bi
}
(
m1
m2
:
gmap
nat
(
nat
*
nat
))
:
PROP
:=
[
∗
map
]
'
(
x
,_);
'
(_,
y
)
∈
m1
;
m2
,
⌜
x
=
y
⌝.
\ No newline at end of file
[
∗
map
]
'
(
x
,_);
'
(_,
y
)
∈
m1
;
m2
,
⌜
x
=
y
⌝.
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