Plain-language statement
Relate stepsV and steps
Exact Lean statement
lemma post_stepsV (alice : Alice) (bob : Bob) (vera : Vera) :
(stepsV alice bob n).allow_all >>= postV vera = steps alice bob vera nFormal artifact
Lean source
lemma post_stepsV (alice : Alice) (bob : Bob) (vera : Vera) : (stepsV alice bob n).allow_all >>= postV vera = steps alice bob vera n := by induction' n with n h · simp only [Nat.zero_eq, Comp.allow_all, Comp.allow, postV, pure_bind, steps] · simp only [stepsV, Comp.allow_all_bind, bind_assoc, steps, ← h] apply congr_arg₂ _ rfl ?_ ext x; induction' x with n y p · simp only [Comp.allow_all_pure, postV, pure_bind, bind_assoc] · simp only [stepV, Comp.sample'_bind, pure_bind, Comp.allow_all_bind, Comp.allow_all_allow, bind_assoc, postV, step] apply congr_arg₂ _ rfl ?_; ext p; apply congr_arg₂ _ rfl ?_; ext b induction b · simp only [ite_false, Comp.allow_all_pure, pure_bind, postV] · simp only [ite_true] rw [Comp.allow_all, Comp.allow, bind_assoc] simp only [Comp.allow, pure_bind, Comp.sample'_bind, postV]- Project
- debate
- License
- Apache-2.0
- Commit
- de3a6e500ae1
- Source
- Debate/Cost.lean:181-196
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.