proposition: Lemma frame_root_address_same: forall frames roots z, Zlength roots = Zlength (frames2rootpairs frames) -> 0 <= z < Zlength (frames2rootpairs frames) -> frame_root_address (update_frames frames roots) z = frame_root_address frames z.
proof: Proof. unfold frames2rootpairs. induction frames as [|[a r s ] fr]; simpl; intros; auto. autorewrite with sublist in *. simpl in *. if_tac. - rewrite if_true; auto. list_solve. - autorewrite with sublist in *. rewrite IHfr; clear IHfr; try list_solve. rewrite if_false; try list_solve. 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