Skip to content

Commit

Permalink
move brand_eq_dec to where it belongs
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnar committed Sep 16, 2020
1 parent 15d2783 commit c99bce2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions compiler/core/Brands/BrandRelation.v
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ Definition any : brands := nil.

Definition brand_relation_t := list (string*string).

Lemma brand_eq_dec : EqDec brand eq.
Proof.
repeat red. apply string_dec.
Defined.

Section brand_relation_types.
Context (brand_relation_brands:brand_relation_t).

Expand Down
5 changes: 0 additions & 5 deletions compiler/core/Data/Model/Data.v
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@ Section Data.
intros. apply (H (x,y)). trivial.
Qed.

Lemma brand_eq_dec : EqDec brand eq.
Proof.
repeat red. apply string_dec.
Defined.

(** Equality is decidable for data *)
Lemma data_eq_dec : forall x y:data, {x=y}+{x<>y}.
Proof.
Expand Down

0 comments on commit c99bce2

Please sign in to comment.