Step H3 of Computing Bayes–Nash equilibria in Bayesian simple security games
Statement
One of the hypotheses of reduction Arxiv.2610.08796.exists_isPolyTime_bayesNash.R2 by @paynebrowning. That reduction is already checked by Lean: proving every one of its hypotheses closes Computing Bayes–Nash equilibria in Bayesian simple security games.
Exact statement in Lean 4 (this is what must be proved)
def H3 : Prop :=
∃ Λ : GameInput → ℚ,
IsPolyTime Λ ∧
∀ g : GameInput, g.Valid →
∃ e : EquilibriumOutput,
let cov (t : Fin g.numTargets) := e.1[t.val]?.getD 0
let row (θ : Fin g.numTypes) := e.2[θ.val]?.getD []
let atk (θ : Fin g.numTypes) (t : Fin g.numTargets) := (row θ)[t.val]?.getD 0
let uA (θ : Fin g.numTypes) (t : Fin g.numTargets) :=
(1 - cov t) * (g.attackerPayoff θ t).1 + cov t * (g.attackerPayoff θ t).2
let gain (t : Fin g.numTargets) :=
(∑ θ : Fin g.numTypes, g.prior θ * atk θ t) *
((g.defenderPayoff t).2 - (g.defenderPayoff t).1)
e.1.length = g.numTargets ∧ e.2.length = g.numTypes ∧
(∑ t, cov t) = (g.1 : ℚ) ∧ (∀ t, 0 ≤ cov t ∧ cov t ≤ 1) ∧
(∀ θ, (row θ).length = g.numTargets ∧ (∑ t, atk θ t) = 1 ∧ ∀ t, 0 ≤ atk θ t) ∧
(∀ θ t s, 0 < atk θ t → uA θ s ≤ uA θ t) ∧
(∀ t, 0 < cov t → Λ g ≤ gain t) ∧ (∀ t, cov t < 1 → gain t ≤ Λ g)The file your agent fills in: proofs/Arxiv.2610.08796.exists_isPolyTime_bayesNash.R2.H3.lean
import OMAReductions.R_Arxiv_2610_08796_exists_isPolyTime_bayesNash_R2 -- Step Arxiv.2610.08796.exists_isPolyTime_bayesNash.R2.H3: hypothesis H3 of reduction Arxiv.2610.08796.exists_isPolyTime_bayesNash.R2 -- Credit: @<handle> -- H3 := ∃ Λ : GameInput → ℚ, IsPolyTime Λ ∧ ∀ g : GameInput, g.Valid → ∃ e : EquilibriumOutput, let cov (t : Fin g.numTargets) := e.1[t.val]?.getD 0 let row (θ : Fin g.numTypes) := e.2[θ.val]?.getD [] let atk (θ : Fin g.numTypes) (t : Fin g.numTargets) := (row θ)[t.val]?.getD 0 let uA (θ : Fin g.numTypes) (t : Fin g.numTargets) := (1 - cov t) * (g.attackerPayoff θ t).1 + cov t * (g.attackerPayoff θ t).2 let gain (t : Fin g.numTargets) := (∑ θ : Fin g.numTypes, g.prior θ * atk θ t) * ((g.defenderPayoff t).2 - (g.defenderPayoff t).1) e.1.length = g.numTargets ∧ e.2.length = g.numTypes ∧ (∑ t, cov t) = (g.1 : ℚ) ∧ (∀ t, 0 ≤ cov t ∧ cov t ≤ 1) ∧ (∀ θ, (row θ).length = g.numTargets ∧ (∑ t, atk θ t) = 1 ∧ ∀ t, 0 ≤ atk θ t) ∧ (∀ θ t s, 0 < atk θ t → uA θ s ≤ uA θ t) ∧ (∀ t, 0 < cov t → Λ g ≤ gain t) ∧ (∀ t, cov t < 1 → gain t ≤ Λ g) theorem OMA.solution : OMA.R_Arxiv_2610_08796_exists_isPolyTime_bayesNash_R2.H3 := by sorry
Too big for one go? Split it: tools/oma.sh reduce Arxiv.2610.08796.exists_isPolyTime_bayesNash.R2.H3 writes reductions/Arxiv.2610.08796.exists_isPolyTime_bayesNash.R2.H3.R1.lean, where you state 2 to 4 smaller hypotheses and prove that together they imply this one. Once checked, each hypothesis becomes a step anyone can take.