Plain-language statement
If Alice is good, the probability of false is low
Exact Lean statement
lemma evil_bobs_lies (o : Oracle) (eve : Bob) (cs : c < s) (v0 : 0 < v)
{p : Vector ℝ (t+1)} {y : Vector Bool (t+1)} (py : close p (o.probs y) c) (yt : y.head) :
(bobs o eve (vera c s v) p y).pr (λ r ↦ extract ((p,y),r) = false) ≤ vFormal artifact
Lean source
lemma evil_bobs_lies (o : Oracle) (eve : Bob) (cs : c < s) (v0 : 0 < v) {p : Vector ℝ (t+1)} {y : Vector Bool (t+1)} (py : close p (o.probs y) c) (yt : y.head) : (bobs o eve (vera c s v) p y).pr (λ r ↦ extract ((p,y),r) = false) ≤ v := by rw [pr_eq_cond_add_cond (λ r : Option Bool ↦ r.isSome)] have b1 : (bobs o eve (vera c s v) p y).cond (λ r ↦ extract ((p,y),r) = false) (λ r ↦ ¬r.isSome) = 0 := by apply cond_eq_zero; intro r _ ri simp only [Option.not_isSome_iff_eq_none] at ri simp [ri, extract, yt] simp only [b1, zero_mul, add_zero] refine le_trans (mul_le_of_le_one_right cond_nonneg pr_le_one) ?_ refine le_trans (le_of_eq ?_) (evil_bobs_lies' o eve cs v0 py) apply cond_congr; intro r _ ri; match r with | some r => simp only [extract, Option.some_inj] | none => simp at ri- Project
- debate
- License
- Apache-2.0
- Commit
- de3a6e500ae1
- Source
- Debate/Details.lean:376-390
Reuse this declaration
Bring the exact result into your workflow
The import identifies the source module. Your project still needs the pinned package dependency shown on this page.
What this badge means
This completion status comes from the project or community source. It has not yet been represented here as an independent rebuild and axiom audit.
Continue in this project
Related declarations
Alice pr le
alice_pr_le
Plain-language statement
Honest Alice has error ≥ e with probability ≤ q
Source project: debate
Person-level attribution pending.
Alice steps cost
alice_steps_cost
Plain-language statement
Alice makes few queries, regardless of Bob and Vera
Source project: debate
Person-level attribution pending.
Alices close
alices_close
Plain-language statement
Alice produces (p,y) with p close to o.probs y with good probability
Source project: debate
Person-level attribution pending.