Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marianna Rapoport
iris-coq
Commits
64b4548a
Commit
64b4548a
authored
Nov 18, 2015
by
Robbert Krebbers
Browse files
Clean up Patricia trees implementation.
parent
0d69828b
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment