All proofs
Project-declaredLean 4.8.0 · mathlib@b5eba5954288

Completeness

completeness'

Plain-language statement

Alice wins the debate with good probability

Exact Lean statement

theorem completeness' (o : Oracle) (L : o.lipschitz t k) (eve : Bob)
    (c0 : 0 < c) (cs : c < s) (q0 : 0 < q) (q1 : q ≤ 1) (v0 : 0 < v) (v1 : v ≤ 1) :
    (1 - v) * ((o.final t).prob true - k * c - (1 - (1 - q) ^ (t + 1))) ≤
      ((debate (alice c q) eve (vera c s v) t).prob' o).prob true

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem completeness' (o : Oracle) (L : o.lipschitz t k) (eve : Bob)    (c0 : 0 < c) (cs : c < s) (q0 : 0 < q) (q1 : q  1) (v0 : 0 < v) (v1 : v  1) :    (1 - v) * ((o.final t).prob true - k * c - (1 - (1 - q) ^ (t + 1)))       ((debate (alice c q) eve (vera c s v) t).prob' o).prob true := by  simp only [debate_eq_transposed, transposed, trace, map_bind, ge_iff_le, pr_eq_prob]  refine le_trans ?_ (le_pr_bind_of_cut _ (1-v) (alices_success o L c0 q0 q1) ?_ ?_)  · simp only [mul_comm _ (1-v), pr_eq_prob, le_refl]  · intro p,y _ h; simp only [pr_map] at h     have b : (bobs o eve (vera c s v) p y).pr (λ r  ¬extract ((p,y),r) = true)  v := by      simp only [Bool.not_eq_true]; apply evil_bobs_lies o eve cs v0 h.1 h.2    simp only [pr_neg] at b; linarith  · linarith
Project
debate
License
Apache-2.0
Commit
de3a6e500ae1
Source
Debate/Details.lean:393-404

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

Project-declaredLean 4.8.0

Alice pr le

alice_pr_le

Plain-language statement

Honest Alice has error ≥ e with probability ≤ q

probabilitycomplexity theoryinteractive protocols

Source project: debate

Person-level attribution pending.

View proof record
Project-declaredLean 4.8.0

Alice steps cost

alice_steps_cost

Plain-language statement

Alice makes few queries, regardless of Bob and Vera

probabilitycomplexity theoryinteractive protocols

Source project: debate

Person-level attribution pending.

View proof record
Project-declaredLean 4.8.0

Alices close

alices_close

Plain-language statement

Alice produces (p,y) with p close to o.probs y with good probability

probabilitycomplexity theoryinteractive protocols

Source project: debate

Person-level attribution pending.

View proof record