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
Iris
stdpp
Commits
994462dc
Commit
994462dc
authored
May 25, 2022
by
Robbert Krebbers
Browse files
More curry.
parent
13ddd3df
Pipeline
#66524
passed with stage
in 4 minutes and 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
theories/fin_maps.v
View file @
994462dc
...
...
@@ -176,8 +176,7 @@ and [DK:=gset K]. *)
Definition
map_preimage
`
{
FinMapToList
K
A
MKA
,
Empty
MADK
,
PartialAlter
A
DK
MADK
,
Empty
DK
,
Singleton
K
DK
,
Union
DK
}
(
m
:
MKA
)
:
MADK
:
=
map_fold
(
λ
i
x
,
partial_alter
(
λ
mX
,
Some
({[
i
]}
∪
default
∅
mX
))
x
)
∅
m
.
map_fold
(
λ
i
,
partial_alter
(
λ
mX
,
Some
$
{[
i
]}
∪
default
∅
mX
))
∅
m
.
Typeclasses
Opaque
map_preimage
.
(** * Theorems *)
...
...
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