diff --git a/lib/Heap_List.thy b/lib/Heap_List.thy index 1bbaaab1e8..3d2575450d 100644 --- a/lib/Heap_List.thy +++ b/lib/Heap_List.thy @@ -53,6 +53,10 @@ lemma heap_path_None[simp]: "heap_path hp None xs end = (xs = [] \ end = None)" by (cases xs, auto) +lemma heap_path_not_Nil: + "heap_ls hp (Some st) ls \ ls \ []" + by fastforce + lemma heap_ls_unique: "\ heap_ls hp x xs; heap_ls hp x ys \ \ xs = ys" by (induct xs arbitrary: ys x; simp) (case_tac ys; clarsimp)