interpretation Queue where empty = "([],[])"and enq = enq and deq = deq and first = first and is_empty = is_empty and list = list and invar = invar proof (standard, goal_cases) case 1 show ?caseby (simp) next case (2 q) thus ?caseby(cases q) (simp) next case (3 q) thus ?caseby(cases q) (simp add: itrev_Nil) next case (4 q) thus ?caseby(cases q) (auto simp: neq_Nil_conv) next case (5 q) thus ?caseby(cases q) (auto) next case 6 show ?caseby(simp) next case (7 q) thus ?caseby(cases q) (simp) next case (8 q) thus ?caseby(cases q) (simp) qed
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.