The size of a type class #
The type class of a : Fin n → ℕ is the set of the vectors a ∘ σ obtained by permuting its
entries. If the value k appears D k times in a, the type class has
n.factorial / ∏ k, (D k).factorial elements. This file bounds the logarithm of this number from
below by ∑ k, D k * log (ψ k)⁻¹, up to an error controlled by
∑ k, (D k - n * ψ k) ^ 2 / (n * ψ k), for every positive probability vector ψ. This is Lemma 3.1
of Kleinberg, Sawin and Speyer, together with the comparison between entropy and cross entropy.
Main definitions #
ArithmeticTriangleRemovalInVectorSpaces.typeClass a: the vectors obtained by permuting the entries ofa.
Main statements #
ArithmeticTriangleRemovalInVectorSpaces.card_typeClass_mul_prod_factorial: the type class ofahasn.factorial / ∏ k, (D k).factorialelements.ArithmeticTriangleRemovalInVectorSpaces.le_log_card_typeClass: the lower bound on its logarithm.
The type class of a: the vectors a ∘ σ obtained by permuting the entries of a.
Equations
- ArithmeticTriangleRemovalInVectorSpaces.typeClass a = Finset.image (fun (σ : Equiv.Perm (Fin n)) => a ∘ ⇑σ) Finset.univ
Instances For
Lower bound for the size of a type class. If the value k ≤ N appears D k times in
a : Fin n → ℕ and ψ is a positive probability vector on range (N + 1), then
log #(typeClass a) is at least
∑ k, D k * log (ψ k)⁻¹ - ∑ k, (D k - n * ψ k) ^ 2 / (n * ψ k) - (N + 1) * (1 + log (n + 1)).