diff options
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 |