Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Iris
Iris
Commits
64b4548a
Commit
64b4548a
authored
Nov 18, 2015
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up Patricia trees implementation.
parent
0d69828b
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
179 additions
and
254 deletions
+179
-254
prelude/base.v
prelude/base.v
+9
-0
prelude/pmap.v
prelude/pmap.v
+170
-254
No files found.
prelude/base.v
View file @
64b4548a
...
...
@@ -767,6 +767,15 @@ Infix "=.>*" := (Forall2 bool_le) (at level 70).
Instance
:
PartialOrder
bool_le
.
Proof
.
repeat
split
;
repeat
intros
[|]
;
compute
;
tauto
.
Qed
.
Lemma
andb_True
b1
b2
:
b1
&&
b2
↔
b1
∧
b2
.
Proof
.
destruct
b1
,
b2
;
simpl
;
tauto
.
Qed
.
Lemma
orb_True
b1
b2
:
b1
||
b2
↔
b1
∨
b2
.
Proof
.
destruct
b1
,
b2
;
simpl
;
tauto
.
Qed
.
Lemma
negb_True
b
:
negb
b
↔
¬
b
.
Proof
.
destruct
b
;
simpl
;
tauto
.
Qed
.
Lemma
Is_true_false
(
b
:
bool
)
:
b
=
false
→
¬
b
.
Proof
.
now
intros
->
?.
Qed
.
(** * Miscellaneous *)
Class
Half
A
:
=
half
:
A
→
A
.
Notation
"½"
:
=
half
:
C_scope
.
...
...
prelude/pmap.v
View file @
64b4548a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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