fact: Definition upd_root (from to: nat) (g: LGraph) (root: root_t) : root_t := match root with | inl _ => root | inr v => if Nat.eq_dec (vgeneration v) from then if (vlabel g v).(raw_mark) then inr (vlabel g v).(copied_vertex) else inr (new_copied_v g to) else root end.
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