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
Model registry
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
Iris
stdpp
Merge requests
!229
clarify Pmap_raw comment
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
clarify Pmap_raw comment
ralf/pmap
into
master
Overview
3
Commits
1
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
Ralf Jung
requested to merge
ralf/pmap
into
master
4 years ago
Overview
3
Commits
1
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
Making this an MR so
@robbertkrebbers
can check if it makes sense.
0
0
Merge request reports
Compare
master
version 1
9ee2ef2d
4 years ago
master (base)
and
latest version
latest version
5703969d
1 commit,
4 years ago
version 1
9ee2ef2d
1 commit,
4 years ago
1 file
+
5
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
theories/pmap.v
+
5
−
4
Options
@@ -15,10 +15,11 @@ Local Hint Extern 0 (_ =@{positive} _) => congruence : core.
Local
Hint
Extern
0
(_
≠@
{
positive
}
_)
=>
congruence
:
core
.
(** * The tree data structure *)
(** The data type [Pmap_raw] specifies radix-2 search trees. These trees do
not ensure canonical representations of maps. For example the empty map can
be represented as a binary tree of an arbitrary size that contains [None] at
all nodes. *)
(** The internal data type [Pmap_raw] specifies radix-2 search trees. These
trees do not ensure canonical representations of maps. For example the empty map
can be represented as a binary tree of an arbitrary size that contains [None] at
all nodes.
See below for [Pmap] which ensures canonical representation. *)
Inductive
Pmap_raw
(
A
:
Type
)
:
Type
:=
|
PLeaf
:
Pmap_raw
A
|
PNode
:
option
A
→
Pmap_raw
A
→
Pmap_raw
A
→
Pmap_raw
A
.
Loading