Skip to content

Commit cef2a9a

Browse files
Misc: add in_set_cons lemma
Signed-off-by: Ike Mulder <ikemul@amazon.com>
1 parent 1431bbb commit cef2a9a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Misc/SetAdditional.thy

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ lemma LetE:
124124
shows \<open>Q\<close>
125125
using assms by simp
126126

127+
lemma in_set_cons:
128+
shows \<open>(x \<in> set (Cons y zs)) = (x = y \<or> x \<in> set zs)\<close>
129+
by auto
130+
127131
(*<*)
128132
end
129133
(*>*)

0 commit comments

Comments
 (0)