diff options
Diffstat (limited to 'backend/Locations.v')
-rw-r--r-- | backend/Locations.v | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/backend/Locations.v b/backend/Locations.v index ba2fb06..2381fea 100644 --- a/backend/Locations.v +++ b/backend/Locations.v @@ -89,7 +89,8 @@ Proof. decide equality. generalize zeq; intro. decide equality. -Qed. +Defined. +Global Opaque slot_eq. Open Scope Z_scope. @@ -122,7 +123,7 @@ Module Loc. Lemma eq: forall (p q: loc), {p = q} + {p <> q}. Proof. decide equality. apply mreg_eq. apply slot_eq. - Qed. + Defined. (** As mentioned previously, two locations can be different (in the sense of the [<>] mathematical disequality), yet denote @@ -286,7 +287,7 @@ Module Loc. case_eq (overlap l1 l2); intros. right. apply overlap_not_diff; auto. left. apply non_overlap_diff; auto. - Qed. + Defined. (** We now redefine some standard notions over lists, using the [Loc.diff] predicate instead of standard disequality [<>]. @@ -383,6 +384,8 @@ Module Loc. End Loc. +Global Opaque Loc.eq Loc.diff_dec. + (** * Mappings from locations to values *) (** The [Locmap] module defines mappings from locations to values, |