10.07.2015 Views

Isabelle/HOL Exercises Lists Summation, Flattening

Isabelle/HOL Exercises Lists Summation, Flattening

Isabelle/HOL Exercises Lists Summation, Flattening

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

"list_exists P (xs @ ys) = (list_exists P xs ∨ list_exists P ys)"lemma "list_exists (list_exists P) xs = list_exists P (flatten xs)"You could have defined list_exists only with the aid of list_all. Do this now, i.e. definea function list_exists2 and show that it is equivalent to list_exists.2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!