Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
stdpp
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
Model registry
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
Iris
stdpp
Commits
5f26f6cd
Commit
5f26f6cd
authored
5 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Add tests for `set_solver` on `dom`.
parent
8e949e3c
No related branches found
No related tags found
1 merge request
!116
Add `set_solver` support for `dom`
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/fin_maps.v
+12
-1
12 additions, 1 deletion
tests/fin_maps.v
with
12 additions
and
1 deletion
tests/fin_maps.v
+
12
−
1
View file @
5f26f6cd
From
stdpp
Require
Import
fin_maps
.
From
stdpp
Require
Import
fin_maps
fin_map_dom
.
Section
map_disjoint
.
Context
`{
FinMap
K
M
}
.
...
...
@@ -11,3 +11,14 @@ Section map_disjoint.
m2
!!
i
=
None
→
m1
##
ₘ
{[
i
:=
x
]}
∪
m2
→
m2
##
ₘ
<
[
i
:=
x
]
>
m1
∧
m1
!!
i
=
None
.
Proof
.
intros
.
solve_map_disjoint
.
Qed
.
End
map_disjoint
.
Section
map_dom
.
Context
`{
FinMapDom
K
M
D
}
.
Lemma
set_solver_dom_subseteq
{
A
}
(
i
j
:
K
)
(
x
y
:
A
)
:
{[
i
;
j
]}
⊆
dom
D
(
<
[
i
:=
x
]
>
(
<
[
j
:=
y
]
>
(
∅
:
M
A
)))
.
Proof
.
set_solver
.
Qed
.
Lemma
set_solver_dom_disjoint
{
A
}
(
X
:
D
)
:
dom
D
(
∅
:
M
A
)
##
X
.
Proof
.
set_solver
.
Qed
.
End
map_dom
.
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