diff options
author | Jason Gross <jagro@google.com> | 2016-07-06 12:30:06 -0700 |
---|---|---|
committer | Jason Gross <jagro@google.com> | 2016-07-06 12:30:06 -0700 |
commit | 89bdd2380c37f07aa5394fd11e1c0b2ca4308790 (patch) | |
tree | 64c0134e07842423ab99005b7261445c61413deb /src/BaseSystem.v | |
parent | 601886c27382c663d1d9ff910860d6fff50c0705 (diff) |
Add a TODO comment
For jadep, or for me, after the 8.5 build is fixed.
Diffstat (limited to 'src/BaseSystem.v')
-rw-r--r-- | src/BaseSystem.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/BaseSystem.v b/src/BaseSystem.v index 0ad6c0a03..840713168 100644 --- a/src/BaseSystem.v +++ b/src/BaseSystem.v @@ -9,7 +9,7 @@ Local Open Scope Z. Class BaseVector (base : list Z):= { base_positive : forall b, In b base -> b > 0; (* nonzero would probably work too... *) - b0_1 : forall x, nth_default x base 0 = 1; + b0_1 : forall x, nth_default x base 0 = 1; (** TODO(jadep,jgross): change to [nth_error base 0 = Some 1], then use [nth_error_value_eq_nth_default] to prove a [forall x, nth_default x base 0 = 1] as a lemma *) base_good : forall i j, (i+j < length base)%nat -> let b := nth_default 0 base in @@ -39,7 +39,7 @@ Section BaseSystem. Fixpoint encode' z max i : digits := match i with | O => nil - | S i' => let b := nth_default max base in + | S i' => let b := nth_default max base in encode' z max i' ++ ((z mod (b i)) / (b i')) :: nil end. |