Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

SequenceCoefficients

Abstract

Dyadic coefficient recurrences control the sixfold evil and odious representation counts.

Definition 1.1 (r).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.r (✓ std3).

Citation. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

Equation (2), page 2: “rⱼ(n) := |{(x₁, x₂, …, xⱼ) : n = ∑₁≤ᵢ≤ⱼ xᵢ and tₓᵢ = 0 for 1 ≤ i ≤ j}|” The carrier Fin j indexes ordered natural coordinates; false encodes zero and true encodes one. Zero is included, and repetitions are allowed.

Definition 1.2 (s).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.s (✓ std3).

Citation. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

Equation (3), page 2: “sⱼ(n) := |{(x₁, x₂, …, xⱼ) : n = ∑₁≤ᵢ≤ⱼ xᵢ and tₓᵢ = 1 for 1 ≤ i ≤ j}|,” The carrier Fin j indexes ordered natural coordinates; false encodes zero and true encodes one. Zero is included, and repetitions are allowed.

Definition 1.3 (recur).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.recur (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.4 (zrecur).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.zrecur (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.5 (p).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.p (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.6 (errorTerm).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.errorTerm (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.7 (r difference).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.r_difference (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.8 (s difference).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.s_difference (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.9 (matrixBound).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.matrixBound (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.10 (vectorBound).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.vectorBound (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.11 (matrix apply bound).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.matrix_apply_bound (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.12 (pz).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.pz (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.13 (stateMatrix).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.stateMatrix (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.14 (words).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.words (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.15 (wordMatrix).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.wordMatrix (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.16 (h matrix bound).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.h_matrix_bound (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.17 (wordsCheck).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.wordsCheck (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.18 (c five checked).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.c_five_checked (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.19 (c word bound).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.c_word_bound (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.20 (state).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.state (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.21 (recur pos).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.recur_pos (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.22 (stateZ).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.23 (stateZ eq state).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ_eq_state (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.24 (stateZ step 1).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ_step_1 (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.25 (stateZ step 2).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ_step_2 (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.26 (stateZ step 3).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ_step_3 (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Definition 1.27 (appendValue).

Formalization. D5/S1/Words/EvilOdious/SequenceCoefficients.appendValue (✓ std3).

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.28 (state word).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.state_word (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

Induction on the binary word composes each one-bit state transition into its matrix product.

Theorem 1.29 (vector prefix bound).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.vector_prefix_bound (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The matrix-word bound transfers the seed bound to every word extension.

Theorem 1.30 (appendValue decompose).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.appendValue_decompose (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.31 (stateZ step 4).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ_step_4 (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.32 (stateZ step 5).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ_step_5 (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.33 (stateZ step 6).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.stateZ_step_6 (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.34 (lowWord bound).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.lowWord_bound (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

The formula uses the indicated natural or integer carriers. Natural subtraction is truncated; a slash between natural numbers denotes floor division, Nat.div. Dotted operations and the displayed casts retain their Lean meanings.

Theorem 1.35 (word for low).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.word_for_low (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

Induction on the length constructs a binary word for every allowed low part, including leading zero bits.

Theorem 1.36 (state dyadic bound).

Proof. Machine-checked in Lean as D5/S1/Words/EvilOdious/SequenceCoefficients.state_dyadic_bound (✓ std3). ∎

Source. Repository-derived.

Acknowledgement. Jean-Paul Allouche and Jeffrey Shallit (2021). Additive properties of the evil and odious numbers and similar sequences. DOI: 10.7169/facm/2108. URL: https://arxiv.org/abs/2112.13627v3.

Commentary.

Binary-word construction and the matrix estimate bound every dyadic extension by the largest seed coordinate.

References