Documentation

LeanPool.AutoconvolutionSharpness.Occupancy

Counting the single - occupancy multiplicities #

An occupied set of cardinality k gives a distinct multiplicity vector in the antidiagonal. This counts the vectors by Mathlib's Finset.card_powersetCard (the number of combinations).

Embed a set of occupied digit positions into its vector of multiplicities.

Equations
Instances For
    def Autoconvolutions.Blocks.goodVectors {ι : Type u_1} [DecidableEq ι] (I : Finset ι) (k : ℕ) :
    Finset (ι → ℕ)

    Distinct choices of k positions, represented as multiplicities.

    Equations
    Instances For
      theorem Autoconvolutions.Blocks.goodVectors_spec {ι : Type u_1} [DecidableEq ι] {I : Finset ι} {k : ℕ} {a : ι → ℕ} (ha : a ∈ goodVectors I k) :
      a ∈ I.piAntidiag k ∧ ∀ (i : ι), a i ≤ 1