proposition: Lemma frames2rootpairs_update_frames: forall frames r, Zlength r = Zlength (frames2rootpairs frames) -> map rp_val (frames2rootpairs (update_frames frames r)) = r.
proof: Proof. induction frames as [ | [a b s] ?]; simpl in *; intros; autorewrite with sublist in *. - list_solve. - rewrite map_app, IHframes; clear IHframes. + autorewrite with sublist. simpl in *. list_solve. + simpl in H. autorewrite with sublist. lia. Qed.
imports: Coq.ZArith.ZArith Coq.Program.Basics Coq.micromega.Lia compcert.lib.Integers compcert.common.Values VST.veric.base VST.veric.Clight_lemmas VST.veric.val_lemmas VST.veric.shares VST.msl.seplog VST.msl.shares VST.zlist.sublist VST.floyd.coqlib3 VST.floyd.functional_base VST.floyd.data_at_rec_lemmas VST.zlist.list_solver CertiGraph.lib.EquivDec_ext CertiGraph.lib.List_ext CertiGraph.graph.graph_model CertiGraph.graph.graph_gen