Documentation

CslibFrontier.Foundations.Analysis.SpecialFunctions.FiberCount

Mean lower bounds from fiber counts #

Let s : X → ℕ take values at most G on a finite type X, and suppose each fiber {x | s x = j} has at most A * B ^ j elements. Then the mean of s is large: |X| (log |X| - log A - log (G + 1)) ≤ log B * ∑ x, s x.

This is the counting form of an entropy argument. If x is uniformly random and can be described by first giving s x and then one of at most A * B ^ (s x) descriptions, then log |X| ≤ log (G + 1) + log A + E[s] log B. The proof applies Jensen's inequality to the convex function t ↦ B ^ (-t) (Real.exp_expect_le) and needs no probability theory.

Main results #

theorem Real.card_mul_log_sub_le_of_card_fiber_le {X : Type u_1} [Fintype X] (s : X → ℕ) {G : ℕ} (hs : ∀ (x : X), s x ≤ G) {A B : ℝ} (hA : 0 < A) (hB : 1 ≤ B) (hfiber : ∀ j ≤ G, ↑{x : X | s x = j}.card ≤ A * B ^ j) :
↑(Fintype.card X) * (log ↑(Fintype.card X) - log A - log (↑G + 1)) ≤ log B * ∑ x : X, ↑(s x)

Mean lower bound from fiber counts. If s : X → ℕ is bounded by G and each fiber {x | s x = j} with j ≤ G has at most A * B ^ j elements, then |X| (log |X| - log A - log (G + 1)) ≤ log B * ∑ x, s x.