All proofs
Project-declaredLean 4.8.0 · mathlib@b5eba5954288

Bob debate cost

bob_debate_cost

Plain-language statement

Bob makes few queries, regardless of Alice and Vera

Exact Lean statement

theorem bob_debate_cost (o : Oracle) (alice : Alice) (vera : Vera) (t : ℕ):
    (debate alice (bob s b q) vera t).cost' o BobId ≤ (t+1) * samples ((b-s)/2) q

Formal artifact

Lean source

Canonical source
Full Lean sourceLean 4
theorem bob_debate_cost (o : Oracle) (alice : Alice) (vera : Vera) (t : ):    (debate alice (bob s b q) vera t).cost' o BobId  (t+1) * samples ((b-s)/2) q := by  simp only [debate, Comp.cost', Comp.cost_bind]  have e :  x, ((t:) + 1) * samples x q = (t + 1) * samples x q + 0 := by    simp only [add_zero, forall_const]  rw [e]  apply add_le_add  · rw [Nat.cast_add_one]; apply bob_steps_cost  · refine exp_le_of_forall_le (fun y m  ?_)    induction y; repeat simp only [Comp.cost_pure, le_refl]
Project
debate
License
Apache-2.0
Commit
de3a6e500ae1
Source
Debate/Cost.lean:103-112

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