Documentation

LeanPool.AutoconvolutionSharpness.BlockKeys

Block indices #

a and b record the multiplicities at the high base - D digits; coordinate zero of these vectors is position one of the exponent. The low digit h is stored separately. Disjoint index sets allow either the alternating placement of §2 or a contiguous placement of the two sets of positions.

def Autoconvolutions.Blocks.code {m : ℕ} (D : ℕ) (a : Fin m → ℕ) :

High digits, before multiplying by the base to reserve the units place.

Equations
Instances For
    def Autoconvolutions.Blocks.key {m : ℕ} (D : ℕ) (a b : Fin m → ℕ) (h : ℕ) :

    The exponent formed by a low digit and two high-digit multiplicity vectors.

    Equations
    Instances For
      @[reducible, inline]

      Two multiplicity vectors together with a low digit.

      Equations
      Instances For
        noncomputable def Autoconvolutions.Blocks.rows {m : ℕ} (I J : Finset (Fin m)) (u v D : ℕ) :

        The finite rows with prescribed multiplicity totals and a low digit below the base.

        Equations
        Instances For
          def Autoconvolutions.Blocks.rowKey {m : ℕ} (D : ℕ) (t : Row m) :

          The exponent encoded by a row.

          Equations
          Instances For
            theorem Autoconvolutions.Blocks.mem_rows {m u v D : ℕ} {I J : Finset (Fin m)} {t : Row m} :
            t ∈ rows I J u v D ↔ t.1.1 ∈ I.piAntidiag u ∧ t.1.2 ∈ J.piAntidiag v ∧ t.2 < D
            theorem Autoconvolutions.Blocks.code_add {m D : ℕ} (a b : Fin m → ℕ) :
            (code D fun (i : Fin m) => a i + b i) = code D a + code D b
            theorem Autoconvolutions.Blocks.low_and_high {m D h h' : ℕ} (hD : 1 < D) {a b : Fin m → ℕ} (ha : ∀ (i : Fin m), a i < D) (hb : ∀ (i : Fin m), b i < D) (hh : h < D) (hh' : h' < D) (heq : h + D * code D a = h' + D * code D b) :
            h = h' ∧ a = b
            theorem Autoconvolutions.Blocks.coord_zero_of_notMem {m k : ℕ} {I : Finset (Fin m)} {a : Fin m → ℕ} (ha : a ∈ I.piAntidiag k) {i : Fin m} (hi : i ∉ I) :
            a i = 0
            theorem Autoconvolutions.Blocks.coord_le {m k : ℕ} {I : Finset (Fin m)} {a : Fin m → ℕ} (ha : a ∈ I.piAntidiag k) (i : Fin m) :
            a i ≤ k
            theorem Autoconvolutions.Blocks.rowKey_injective {m u v u' v' D : ℕ} {I J : Finset (Fin m)} (hD : 1 < D) (hd : Disjoint I J) (huv : u + v < D) (huv' : u' + v' < D) {t t' : Row m} (ht : t ∈ rows I J u v D) (ht' : t' ∈ rows I J u' v' D) (he : rowKey D t = rowKey D t') :
            t = t'

            Across arbitrary levels, bounded totals and disjoint supports make the low digit and the two multiplicity vectors individually recoverable.

            theorem Autoconvolutions.Blocks.rowKey_determines_level {m n s s' D : ℕ} {I J : Finset (Fin m)} (hD : 1 < D) (hd : Disjoint I J) (hs : s ≤ 2 * n) (hs' : s' ≤ 2 * n) (hnD : 4 * n < D) {t t' : Row m} (ht : t ∈ rows I J (2 * n - s) (2 * n + s) D) (ht' : t' ∈ rows I J (2 * n - s') (2 * n + s') D) (he : rowKey D t = rowKey D t') :
            s = s' ∧ t = t'

            After recovering a row, its right - digit sum determines the level.