text‹Is a list sorted without duplicates, i.e., wrt ‹<\<close>?.›
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.›
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.