Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move brand_eq_dec to where it belongs #151

Merged
merged 1 commit into from
Sep 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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