text\<open>Is a list sorted without duplicates, i.e., wrt \<open><\<close>?.\<close>
abbreviation sorted :: "'a::linorder list \ bool" where "sorted \ sorted_wrt (<)"
lemmas sorted_wrt_Cons = sorted_wrt.simps(2)
text\<open>The definition of \<^const>\<open>sorted_wrt\<close> relates each element to all the elements after it.
This causes a blowup of the formulas. Thus we simplify matters by only comparing adjacent elements.\<close>
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 ist noch experimentell.