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
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
Adam
stdpp
Commits
73b4ee3b
"git-rts@gitlab.mpi-sws.org:tchajed/iris.git" did not exist on "dd543f9593c792948fe1876f8adbe345d9106f70"
Commit
73b4ee3b
authored
4 years ago
by
Tej Chajed
Committed by
Robbert Krebbers
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add a more substantial reduction test
parent
1a98fc89
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/gmap.ref
+8
-0
8 additions, 0 deletions
tests/gmap.ref
tests/gmap.v
+13
-2
13 additions, 2 deletions
tests/gmap.v
with
21 additions
and
2 deletions
tests/gmap.ref
+
8
−
0
View file @
73b4ee3b
...
@@ -70,3 +70,11 @@ Failed to progress.
...
@@ -70,3 +70,11 @@ Failed to progress.
============================
============================
bool_decide (∅ ⊆ {[1; 2; 3]}) = true
bool_decide (∅ ⊆ {[1; 2; 3]}) = true
1 goal
============================
{[3 := false; 2 := true]} = {[2 := true; 3 := false]}
1 goal
============================
Some true = Some true
This diff is collapsed.
Click to expand it.
tests/gmap.v
+
13
−
2
View file @
73b4ee3b
From
stdpp
Require
Import
gmap
.
From
stdpp
Require
Import
pmap
gmap
.
Goal
{[
1
;
2
;
3
]}
=@
{
gset
nat
}
∅.
Goal
{[
1
;
2
;
3
]}
=@
{
gset
nat
}
∅.
Proof
.
Proof
.
...
@@ -71,4 +71,15 @@ Qed.
...
@@ -71,4 +71,15 @@ Qed.
Theorem
gmap_insert_comm
:
Theorem
gmap_insert_comm
:
<
[
3
:=
false
]
>
{[
2
:=
true
]}
=@
{
gmap
nat
bool
}
<
[
2
:=
true
]
>
{[
3
:=
false
]}
.
<
[
3
:=
false
]
>
{[
2
:=
true
]}
=@
{
gmap
nat
bool
}
<
[
2
:=
true
]
>
{[
3
:=
false
]}
.
Proof
.
reflexivity
.
Qed
.
Proof
.
simpl
.
Show
.
reflexivity
.
Qed
.
Transparent
gmap_empty
.
Arguments
map_insert
_
_
_
/
_
_
_
_
:
assert
.
Arguments
Plookup
_
_
_
/
:
assert
.
Theorem
gmap_lookup_concrete
:
lookup
(
M
:=
gmap
nat
bool
)
2
(
<
[
3
:=
false
]
>
{[
2
:=
true
]})
=
Some
true
.
Proof
.
simpl
.
Show
.
reflexivity
.
Qed
.
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