Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Signed Binary Weight

Abstract

The literal minimum over signed-power representations satisfies exact scaling and recurrences.

Definition 1.1 (Minimum signed-power weight).

Formalization. D5/S1/Words/Palindromes/PeriodDoubling/SignedWeight.signedWeight (✓ std3).

Source. Repository-derived.

Commentary.

A representation is a finite list of pairs consisting of a Boolean sign and a natural exponent. A true sign contributes the positive power; a false sign contributes the negative power. Repetitions are permitted. The natural infimum is the minimum number of terms summing to the integer x.

Theorem 1.2 (Exact arithmetic of the minimum).

Proof. Machine-checked in Lean as D5/S1/Words/Palindromes/PeriodDoubling/SignedWeight.signed_weight_arithmetic (✓ std3). ∎

Source. Repository-derived.

Commentary.

Optimal signed representations exist for every integer. Scaling removes a zero low digit. An odd integer has a positive or negative unit term, giving the exact two-branch recurrence. The argument constructs optimal lists and bounds every signed representation, including repetitions.

References

  • Truth anchor: D5/S1/Words/Palindromes/PeriodDoubling/SignedWeight.signedWeight
  • Truth anchor: D5/S1/Words/Palindromes/PeriodDoubling/SignedWeight.signed_weight_arithmetic