mirror of
https://github.com/achlipala/frap.git
synced 2024-12-03 01:16:19 +00:00
Proofreading FirstClassFunctions
This commit is contained in:
parent
a0993b537d
commit
c050ec21ae
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ Fixpoint sorted {A} (le : A -> A -> bool) (ls : list A) : bool :=
|
||||||
end
|
end
|
||||||
end.
|
end.
|
||||||
|
|
||||||
(* [insert] preserves sortedness. Note the crucial hypothesis that comaprator
|
(* [insert] preserves sortedness. Note the crucial hypothesis that comparator
|
||||||
* [le] is *total*: any two elements are related by it, in one order or the
|
* [le] is *total*: any two elements are related by it, in one order or the
|
||||||
* other. *)
|
* other. *)
|
||||||
Lemma insert_sorted : forall {A} (le : A -> A -> bool) a,
|
Lemma insert_sorted : forall {A} (le : A -> A -> bool) a,
|
||||||
|
|
Loading…
Reference in a new issue