Update
This commit is contained in:
parent
c81fec4ebd
commit
f314138731
15
thue-morse.v
15
thue-morse.v
@ -1078,13 +1078,16 @@ Proof.
|
|||||||
intros k a b n m. intros H I J.
|
intros k a b n m. intros H I J.
|
||||||
assert (K: nth_error (tm_step n) a = Some (odd n)). rewrite I.
|
assert (K: nth_error (tm_step n) a = Some (odd n)). rewrite I.
|
||||||
apply tm_step_repunit.
|
apply tm_step_repunit.
|
||||||
ERREUR DANS l'énoncé : ce n'est pas Some odd mais lié à la parité du poids
|
|
||||||
de Hamming de b !!!
|
|
||||||
odd n XOR odd Hamming(b)
|
|
||||||
(chaque bit à 1 de b modifie)
|
|
||||||
o
|
|
||||||
|
|
||||||
test = lambda b, n: t[ 2**n-1 + 2**(n+1) * b ] == t[ 2**n-1 + 2**(n+1) * b + 1]
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user