proposition: Lemma make_header_int_rep_mark_iff: forall g v, (if Archi.ptr64 then Int64.repr (make_header g v) = Int64.repr 0 else Int.repr (make_header g v) = Int.repr 0) <-> raw_mark (vlabel g v) = true.
proof: Proof. intros. rewrite <- make_header_mark_iff. split; intros; [|rewrite H; reflexivity]. cbv delta [Archi.ptr64] in H. simpl in H. Transparent Int.repr Int64.repr. inversion H. Opaque Int64.repr Int.repr. clear H. rewrite H1. match goal with | H : Int64.Z_mod_modulus _ = _ |- _ => rewrite Int64.Z_mod_modulus_eq in H | H : Int.Z_mod_modulus _ = _ |- _ => rewrite Int.Z_mod_modulus_eq in H end. rewrite Z.mod_small in H1; auto. apply make_header_range. 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