Skip to content
Snippets Groups Projects
Commit 4a5f19ed authored by Ralf Jung's avatar Ralf Jung
Browse files

better proof by Robbert

parent 5acbf503
No related branches found
No related tags found
1 merge request!204add insert_subseteq_l
......@@ -570,9 +570,7 @@ Qed.
Lemma insert_subseteq_l {A} (m1 m2 : M A) i x :
m2 !! i = Some x m1 m2 <[i:=x]> m1 m2.
Proof.
intros Hi Hincl. replace m2 with (<[i:=x]> m2).
- apply insert_mono. done.
- apply insert_id. done.
intros Hi Hincl. etrans; [apply insert_mono, Hincl|]. by rewrite insert_id.
Qed.
Lemma insert_delete_subseteq {A} (m1 m2 : M A) i x :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment