Density and coordinate-resampling identities #
Uniform cube densities normalize probability masses. Completing a selected pattern identifies the fraction of a fiber with its resampling probability. These identities connect Korten's entropy and light-patterns lemmas.
theorem
Complexity.BooleanAnalysis.coordinateDensity_eq_expect_internal
{ι : Type u_1}
[Fintype ι]
[DecidableEq ι]
(X : Finset (ι → Bool))
(s x : ι → Bool)
:
coordinateDensity X s x = Finset.univ.expect fun (y : ι → Bool) => if resample s x y ∈ X then 1 else 0
theorem
Complexity.BooleanAnalysis.expect_uniformDensity_internal
{ι : Type u_1}
[Fintype ι]
[DecidableEq ι]
{X : Finset (ι → Bool)}
(hX : X.Nonempty)
:
theorem
Complexity.BooleanAnalysis.uniformDensity_le_rpow_internal
{ι : Type u_1}
[Fintype ι]
{X : Finset (ι → Bool)}
(hX : X.Nonempty)
{k : ℝ}
(hk : uniformDeficit X ≤ k)
(x : ι → Bool)
: