Skip to content
Snippets Groups Projects
Commit 8f80353d authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Add tests for `multiset_solver`.

parent d3d95ed9
No related branches found
No related tags found
1 merge request!167Add solver `multiset_solver` for multisets
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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment