text‹Is a list sorted without duplicates, i.e., wrt ‹<\<>
sorted :: "'a::linorder list → bool" where
sorted ≡ sorted_wrt (<)"
sorted_wrt_Cons = sorted_wrt.simps(2)
‹The definition of const‹sorted_wrt› relates each element to all the elements after it.
causes a blowup of the formulas. Thus we simplify matters by only comparing adjacent elements.›
‹Splay trees need two additional const‹sorted› lemmas:›
sorted_snoc_le:
"ASSUMPTION(sorted(xs @ [x])) ==> x ≤ y ==> sorted (xs @ [y])"
(auto simp add: sorted_wrt_append ASSUMPTION_def)
sorted_Cons_le:
"ASSUMPTION(sorted(x # xs)) ==> y ≤ x ==> sorted (y # xs)"
(auto simp add: sorted_wrt_Cons ASSUMPTION_def)
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.92Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.