diff options
author | jadep <jade.philipoom@gmail.com> | 2016-04-29 18:27:26 -0400 |
---|---|---|
committer | jadep <jade.philipoom@gmail.com> | 2016-04-29 18:27:26 -0400 |
commit | 728b2f95dc83329c58aef7624283cb945c77b919 (patch) | |
tree | 519e2067b86022405b89287c687977804beacba5 /src/Spec/Encoding.v | |
parent | 44c3f52e7d431b4aa5de8e8679155ea2bed9d31c (diff) |
Changed name of Encoding to CanonicalEncoding, and changed notation to match.
Diffstat (limited to 'src/Spec/Encoding.v')
-rw-r--r-- | src/Spec/Encoding.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Spec/Encoding.v b/src/Spec/Encoding.v index 17dcb4b3e..b063b638f 100644 --- a/src/Spec/Encoding.v +++ b/src/Spec/Encoding.v @@ -1,8 +1,8 @@ -Class Encoding (T B:Type) := { +Class CanonicalEncoding (T B:Type) := { enc : T -> B ; dec : B -> option T ; encoding_valid : forall x, dec (enc x) = Some x ; encoding_canonical : forall x_enc x, dec x_enc = Some x -> enc x = x_enc }. -Notation "'encoding' 'of' T 'as' B" := (Encoding T B) (at level 50).
\ No newline at end of file +Notation "'canonical' 'encoding' 'of' T 'as' B" := (CanonicalEncoding T B) (at level 50).
\ No newline at end of file |