proposition: Lemma cti_space_eq: forall h i s (Hi : 0 <= Z.of_nat i < Zlength (spaces h)) (Hh : has_space (Znth (Z.of_nat i) (spaces h)) s), nth_space (cut_heap h (Z.of_nat i) s Hi Hh) i = cut_space (Znth (Z.of_nat i) (spaces h)) s Hh.
proof: Proof. intros. rewrite nth_space_Znth. simpl. rewrite upd_Znth_same by assumption. reflexivity. 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