MindFormal v1.0.0One Mind

MindFormal.Tools.A640Standards.BinaryCoupling

theorem MindFormal.A640Standards.BinaryCoupling.cell_change (p z : ℝ) (a b : Bool) :
joint p z (a, b) - independent p (a, b) = if a = b then z * p * (1 - p) else -(z * p * (1 - p))
theorem MindFormal.A640Standards.BinaryCoupling.defect {p z : ℝ} (hp : p ∈ Set.Icc 0 1) (hz : 0 ≤ z) :
MarkError.tv (joint p z) (independent p) = 2 * z * p * (1 - p)
theorem MindFormal.A640Standards.BinaryCoupling.product_iff {p z : ℝ} (hp : p ∈ Set.Ioo 0 1) :
(∀ (s : Bool × Bool), joint p z s = independent p s) ↔ z = 0
theorem MindFormal.A640Standards.BinaryCoupling.tolerance {p z d : ℝ} (hp : p ∈ Set.Ioo 0 1) (hz : 0 ≤ z) :
MarkError.tv (joint p z) (independent p) ≤ d ↔ z ≤ d / (2 * p * (1 - p))