Compare commits

...

2 Commits

Author SHA1 Message Date
Thomas Baruchel f314138731 Update 2022-11-26 06:01:41 +01:00
Thomas Baruchel c81fec4ebd Update 2022-11-26 06:01:17 +01:00
1 changed files with 21 additions and 0 deletions

View File

@ -1069,6 +1069,27 @@ Proof.
apply H0.
Qed.
Lemma tm_step_split_index :
forall (k b n m : nat),
S k < 2^m -> k = 2^n - 1 + 2^S n * b
-> nth_error (tm_step m) k = nth_error (tm_step m) (S k)
<-> odd n = true.
Proof.
intros k a b n m. intros H I J.
assert (K: nth_error (tm_step n) a = Some (odd n)). rewrite I.
apply tm_step_repunit.