Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Léo Stefanesco
stdpp
Commits
5bb47351
Commit
5bb47351
authored
Feb 24, 2022
by
Robbert Krebbers
Browse files
Tests.
parent
d3736048
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/gmap.ref
View file @
5bb47351
...
...
@@ -70,3 +70,9 @@ Failed to progress.
============================
bool_decide (∅ ⊆ {[1; 2; 3]}) = true
The command has indeed failed with message:
Nothing to inject.
The command has indeed failed with message:
Nothing to inject.
The command has indeed failed with message:
Failed to progress.
tests/gmap.v
View file @
5bb47351
...
...
@@ -68,3 +68,17 @@ Proof.
Show
.
reflexivity
.
Qed
.
Lemma
should_not_unfold
(
m1
m2
:
gmap
nat
nat
)
k
x
:
dom
(
gset
nat
)
m1
=
dom
(
gset
nat
)
m2
→
<[
k
:
=
x
]>
m1
=
<[
k
:
=
x
]>
m2
→
True
.
Proof
.
(** Make sure that [injection]/[simplify_eq] does not unfold constructs on
[gmap] and [gset]. *)
intros
Hdom
Hinsert
.
Fail
injection
Hdom
.
Fail
injection
Hinsert
.
Fail
progress
simplify_eq
.
done
.
Qed
.
Write
Preview
Supports
Markdown
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