Finite-game security algebra. These objects contain no native controller, encounter law, or independence assumption.
def
MindFormal.Security.worst
{A : Type u_1}
{B : Type u_2}
[Fintype A]
[Fintype B]
[Nonempty B]
(pay : A → B → ℝ)
(p : A → ℝ)
:
Equations
- MindFormal.Security.worst pay p = Finset.univ.inf' ⋯ (MindFormal.Security.column pay p)
Instances For
theorem
MindFormal.Security.worst_continuous
{A : Type u_1}
{B : Type u_2}
[Fintype A]
[Fintype B]
[Nonempty B]
(pay : A → B → ℝ)
:
Continuous (worst pay)
theorem
MindFormal.Security.maximin_exists
{A : Type u_1}
{B : Type u_2}
[Fintype A]
[Fintype B]
[Nonempty B]
[Nonempty A]
(pay : A → B → ℝ)
:
∃ (p : A → ℝ), FiniteDecision.Probability p ∧ ∀ (q : A → ℝ), FiniteDecision.Probability q → worst pay q ≤ worst pay p
SD26: a maximizer exists, by compactness and continuity of the finite minimum of column expectations. No fixed-point theorem is used.
def
MindFormal.Security.payment
{A : Type u_1}
{B : Type u_2}
[Fintype A]
[Fintype B]
(pay : A → B → ℝ)
(p : A → ℝ)
(q : B → ℝ)
:
Equations
- MindFormal.Security.payment pay p q = ∑ b : B, q b * MindFormal.Security.column pay p b
Instances For
theorem
MindFormal.Security.maximizer_iff
{A : Type u_1}
{B : Type u_2}
[Fintype A]
[Fintype B]
[Nonempty B]
[Nonempty A]
(pay : A → B → ℝ)
(p : A → ℝ)
(hp : FiniteDecision.Probability p)
:
SD26's maximizers are exactly the mixtures whose every column expectation is at least the security value.
theorem
MindFormal.Security.mean_tv
{A : Type u_1}
[Fintype A]
[Nonempty A]
(p q f : A → ℝ)
(hp : FiniteDecision.Probability p)
(hq : FiniteDecision.Probability q)
(R : ℝ)
(oscillation : ∀ (i j : A), |f i - f j| ≤ R)
:
The exact bounded-payoff TV price, with the oscillation rather than twice the supremum norm. Both distributions have mass one.
theorem
MindFormal.Security.column_table_error
{A : Type u_1}
{B : Type u_2}
[Fintype A]
(pay estimate : A → B → ℝ)
(p : A → ℝ)
(hp : FiniteDecision.Probability p)
(ε : ℝ)
(err : ∀ (a : A) (b : B), |estimate a b - pay a b| ≤ ε)
(b : B)
:
A uniform entrywise table error bounds every mixed column error.
theorem
MindFormal.Security.robustness
{A : Type u_1}
{B : Type u_2}
[Fintype A]
[Fintype B]
[Nonempty B]
[Nonempty A]
(pay estimate : A → B → ℝ)
(candidate actual : A → ℝ)
(hc : FiniteDecision.Probability candidate)
(ha : FiniteDecision.Probability actual)
(εpay δalg R εact Cproc cost : ℝ)
(tableError : ∀ (a : A) (b : B), |estimate a b - pay a b| ≤ εpay)
(algorithm : value estimate - δalg ≤ worst estimate candidate)
(range : ∀ (b : B) (a c : A), |pay a b - pay c b| ≤ R)
(readError : tv actual candidate ≤ εact)
(hR : 0 ≤ R)
(processing : cost ≤ Cproc)
:
SD28's entire finite error bill: two payoff-table errors, algorithm defect, actual conditional act TV error and processing cost.