Documentation

LeanPool.SumDifferenceExponent.Column

Kernel-friendly base-39 column construction.

The twelve base-39 digits whose sums cover a full digit range, with fewer differences.

Equations
Instances For

    Evaluate a fixed-length digit vector in base b, with the least significant digit first.

    Equations
    Instances For
      theorem SumDifferenceExponent.ColumnConstruction.baseValue_injOn {b : ℕ} (hb : 1 < b) {D : Finset ℕ} (hD : ∀ x ∈ D, x < b) (m : ℕ) :
      Set.InjOn (baseValue b m) ↑(Fintype.piFinset fun (x : Fin m) => D)
      theorem SumDifferenceExponent.ColumnConstruction.digitSet_card {b : ℕ} (hb : 1 < b) {D : Finset ℕ} (hD : ∀ x ∈ D, x < b) (m : ℕ) :
      (digitSet b D m).card = D.card ^ m
      theorem SumDifferenceExponent.ColumnConstruction.baseValue_lt_pow {b : ℕ} (hb : 1 < b) {m : ℕ} {w : Fin m → ℕ} (hw : ∀ (i : Fin m), w i < b) :
      baseValue b m w < b ^ m

      Evaluate an integer digit vector, allowing negative digits, in base 39.

      Equations
      Instances For

        A finite cover of column differences by independent digit differences.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For