From: Javier Diaz <cl-isabelle-users@lists.cam.ac.uk>
Hi everyone,
I think it would be useful to add the following lemma to the List
theory:
lemma count_append: "count_list (xs @ ys) z = count_list xs z + count_list
ys z"
by (induct xs) simp_all
Best regards,
Javier
From: Tobias Nipkow <nipkow@in.tum.de>
The lemma is there already:
lemma count_list_append[simp]: "count_list (xs @ ys) x = count_list xs x +
count_list ys x"
by (induction xs) simp_all
Tobias
smime.p7s
Last updated: Jan 04 2025 at 20:18 UTC