Commit eddf490d authored by Dan Frumin's avatar Dan Frumin

Clean up the fundamental property, and generalize it to arb mask.

Following the advice of Amin Timany
generalize all the compatibility lemmas
at the same time by declaring a mask E in a Section.
parent 2f06623a
......@@ -175,3 +175,9 @@ Proof.
intros seq. subst s. by apply H.
Qed.
Lemma fmap_insert' {A B} (x : binder) (f : A B) v (vs : stringmap A) :
f <$> <[x:=v]>vs = <[x:=f v]> (f <$> vs).
Proof.
destruct x; cbn; auto.
by rewrite fmap_insert.
Qed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment