MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.FinitePayment

theorem MindFormal.A695LogicPaper.SecurityProgram.finite_outcome_integral {Ω : Type u_1} {A : Type u_2} [MeasurableSpace Ω] [Fintype A] (μ : MeasureTheory.Measure Ω) (outcome : Ω → A) (hm : ∀ (a : A), MeasurableSet {ω : Ω | outcome ω = a}) (pay : A → ℝ) (hi : MeasureTheory.Integrable (fun (ω : Ω) => pay (outcome ω)) μ) {B : Set Ω} (hB : MeasurableSet B) :
∫ (ω : Ω) in B, pay (outcome ω) ∂μ = ∑ a : A, μ.real (B ∩ {ω : Ω | outcome ω = a}) * pay a

A finite scored outcome is integrated on its actual measurable fibers.

theorem MindFormal.A695LogicPaper.SecurityProgram.finite_private_payment {Ω : Type u_1} {A : Type u_2} {C : Type u_3} [MeasurableSpace Ω] [Fintype A] [Finite C] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsFiniteMeasure μ] [Nonempty C] (q : A → ℝ) (hq : FiniteDecision.Probability q) (pay : A → C → ℝ) (L U reject threshold : ℝ) (hpay : ∀ (a : A) (b : C), L ≤ pay a b ∧ pay a b ≤ U) (hr : 0 ≤ reject ∧ reject ≤ 1) (hsecurity : ∀ (b : C), threshold ≤ ∑ a : A, q a * pay a b) (outcome : Ω → Option A × C) (hm : ∀ (a : Option A × C), MeasurableSet {ω : Ω | outcome ω = a}) (scored : Ω → ℝ) (hi : MeasureTheory.Integrable scored μ) (hs : ∀ (ω : Ω), scored ω = (outcome ω).1.elim L fun (a : A) => pay a (outcome ω).2) {B : Set Ω} (hB : MeasurableSet B) (hjoint : ∀ (a : A) (b : C), μ.real (B ∩ {ω : Ω | outcome ω = (some a, b)}) = (1 - reject) * q a * μ.real (B ∩ {ω : Ω | (outcome ω).2 = b})) (hnone : μ.real (B ∩ {ω : Ω | (outcome ω).1 = none}) = reject * μ.real B) :
(threshold - (U - L) * reject) * μ.real B ≤ ∫ (ω : Ω) in B, scored ω ∂μ

Conditional independence is the printed implementation convention. The finite identity retains its whole information event and the failure score.