Bandits.ArrayModel.hist_eq
No docstring.
Bandits.ArrayModel.hist_eq.{u_1, u_2} {π : Type u_1} {R : Type u_2} {mπ : MeasurableSpace π} {mR : MeasurableSpace R} [Nonempty π] [StandardBorelSpace π] [DecidableEq π] (alg : Learning.Algorithm π R) (Ο : probSpace π R) (n : β) : hist alg Ο n = fun i => hist alg Ο βi β¨βi, β―β©Bandits.ArrayModel.hist_eq.{u_1, u_2} {π : Type u_1} {R : Type u_2} {mπ : MeasurableSpace π} {mR : MeasurableSpace R} [Nonempty π] [StandardBorelSpace π] [DecidableEq π] (alg : Learning.Algorithm π R) (Ο : probSpace π R) (n : β) : hist alg Ο n = fun i => hist alg Ο βi β¨βi, β―β©
Code
lemma hist_eq [DecidableEq π] (alg : Algorithm π R) (Ο : probSpace π R) (n : β) :
hist alg Ο n = fun i : Iic n β¦ hist alg Ο i β¨i.1, by simpβ©Proof
by
induction n with
| zero =>
ext i : 1
simp only [hist]
rw [Unique.eq_default i]
simp [coe_default_Iic_zero]
| succ n hn =>
ext i : 1
by_cases hin : i β€ n
Β· rw [hist_add_one]
simp only [hin, βreduceDIte]
rw [funext_iff] at hn
simp_rw [hn]
Β· grindActions: Source Β· Open Issue
Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 5th recorded change.
Self-contained, with its dependencies inlined and proofs replaced by sorry: download the raw file Β· open it in the Lean web editor.
Dependency graph
Audit surface: 8 project declarations, 77 external constants
β Proved: no sorry anywhere in its closure
This is the tool's own reading of one build's recorded axioms, and it is not robust against an author who wants it to pass. Checking meant to be relied on should go through Comparator, which replays the proof through the kernel from an export against an explicit list of permitted axioms.