diff options
author | Andres Erbsen <andreser@mit.edu> | 2016-08-23 18:34:01 -0400 |
---|---|---|
committer | Andres Erbsen <andreser@mit.edu> | 2016-08-23 18:44:17 -0400 |
commit | ecd6954da5768ca3d38c7c52c6ac40b2b24d41a6 (patch) | |
tree | b5084f85ba3295efc0c9dc23e58a7557adacd643 /src/Spec/WeierstrassCurve.v | |
parent | 103549c7a210da4c007802a310cf79d314d277da (diff) |
remove eq_dec from Monoid
Diffstat (limited to 'src/Spec/WeierstrassCurve.v')
-rw-r--r-- | src/Spec/WeierstrassCurve.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Spec/WeierstrassCurve.v b/src/Spec/WeierstrassCurve.v index e2c99a8fe..484a67c89 100644 --- a/src/Spec/WeierstrassCurve.v +++ b/src/Spec/WeierstrassCurve.v @@ -9,7 +9,7 @@ Module E. * <http://cs.ucsb.edu/~koc/ccs130h/2013/EllipticHyperelliptic-CohenFrey.pdf> (page 79) *) - Context {F Feq Fzero Fone Fopp Fadd Fsub Fmul Finv Fdiv} `{Algebra.field F Feq Fzero Fone Fopp Fadd Fsub Fmul Finv Fdiv}. + Context {F Feq Fzero Fone Fopp Fadd Fsub Fmul Finv Fdiv} {field:@Algebra.field F Feq Fzero Fone Fopp Fadd Fsub Fmul Finv Fdiv} {Feq_dec:Decidable.DecidableRel Feq}. Local Infix "=" := Feq : type_scope. Local Notation "a <> b" := (not (a = b)) : type_scope. Local Notation "x =? y" := (Decidable.dec (Feq x y)) (at level 70, no associativity) : type_scope. Local Notation "x =? y" := (Sumbool.bool_of_sumbool (Decidable.dec (Feq x y))) : bool_scope. |