(* Require Import VST.sepcomp.semantics_lemmas. *)
Set Bullet Behavior "Strict Subproofs".
Module MiniAddressOrdered <: MiniOrderedType.
Definition t:= address.
Definition eq:= @eq t.
Definition lt' (x y:t): bool :=
(match x, y with (x1,x2),(y1,y2) =>
if peq x1 y1 then zlt x2 y2 else plt x1 y1
end).
Definition lt x y:= is_true (lt' x y).

Lemma eq_sym : forall x y : t, eq x y -> eq y x.