Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
stdpp
Commits
8f80353d
Commit
8f80353d
authored
Jun 25, 2020
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add tests for `multiset_solver`.
parent
d3d95ed9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
tests/multiset_solver.ref
tests/multiset_solver.ref
+0
-0
tests/multiset_solver.v
tests/multiset_solver.v
+18
-0
No files found.
tests/multiset_solver.ref
0 → 100644
View file @
8f80353d
tests/multiset_solver.v
0 → 100644
View file @
8f80353d
From
stdpp
Require
Import
gmultiset
.
Section
test
.
Context
`
{
Countable
A
}.
Implicit
Types
x
y
:
A
.
Implicit
Types
X
Y
:
gmultiset
A
.
Lemma
test1
x
y
X
:
{[
x
]}
⊎
({[
y
]}
⊎
X
)
≠
∅
.
Proof
.
multiset_solver
.
Qed
.
Lemma
test2
x
y
X
:
{[
x
]}
⊎
({[
y
]}
⊎
X
)
=
{[
y
]}
⊎
({[
x
]}
⊎
X
).
Proof
.
multiset_solver
.
Qed
.
Lemma
test3
x
:
{[
x
]}
⊎
∅
≠
@{
gmultiset
A
}
∅
.
Proof
.
multiset_solver
.
Qed
.
Lemma
test4
x
y
z
X
Y
:
{[
z
]}
⊎
X
=
{[
y
]}
⊎
Y
→
{[
x
]}
⊎
({[
z
]}
⊎
X
)
=
{[
y
]}
⊎
({[
x
]}
⊎
Y
).
Proof
.
multiset_solver
.
Qed
.
End
test
.
Write
Preview
Markdown
is supported
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