cfahlgren1's picture
download
raw
837 Bytes
import OAI.Combinatorics.ContingencyTables.Machines.FiniteWordPadding
import OAI.Combinatorics.ContingencyTables.Transport.FiniteLawMoments
namespace OAI
/-! # Observables of a padded and reindexed finite Boolean word -/
namespace ContingencyTables.FairBits
open CommonBasesFPRAS FirstSuccess ResidualMixture FiniteLawMoments
open scoped BigOperators Classical
noncomputable section
lemma padded_equiv_average {k N : ℕ} (hk : k ≤ N) {X : Type*} [Fintype X]
(e : (Fin k → Bool) ≃ X) (f : X → ℝ) :
uniformAverage (fun bits : Fin N → Bool => f (e (prefixWord hk bits)))=
uniformAverage f := by
have hp := word_expectation (prefixWord hk) (fun bits => f (e bits))
rw [prefixWord_uniform,expectation_uniform] at hp
exact hp.trans (uniformAverage_equiv e f)
end
end ContingencyTables.FairBits
end OAI

Xet Storage Details

Size:
837 Bytes
·
Xet hash:
9d76a515c7428cb08d28d707daba19062378d11f74add191d8b3d59d58312809

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.