diff options
Diffstat (limited to 'src/hls/AssocMap.v')
-rw-r--r-- | src/hls/AssocMap.v | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/hls/AssocMap.v b/src/hls/AssocMap.v index 7e616af..d408b1f 100644 --- a/src/hls/AssocMap.v +++ b/src/hls/AssocMap.v @@ -227,3 +227,11 @@ Proof. intros. destruct_match; rewrite AssocMap.gso in Heqo by auto; rewrite Heqo; auto. Qed. + +Lemma fss : forall m v k, (m # k <- v) # k = v. +Proof. + unfold "_ # _". + unfold AssocMapExt.get_default. + intros. + destruct_match; rewrite AssocMap.gss in Heqo by auto; inv Heqo; crush. +Qed. |