Definition memval_lessdef: memval -> memval -> Prop := memval_inject inject_id.

Lemma encode_val_int64: forall v, Archi.ptr64 = false -> encode_val Mint64 v = encode_val Mint32 (if Archi.big_endian then Val.hiword v else Val.loword v) ++ encode_val Mint32 (if Archi.big_endian then Val.loword v else Val.hiword v).