Bandits.ArrayModel.hasLaw_fst_apply_arrayMeasure
No docstring.
-
š : Type u_1mš : MeasurableSpace šA measurable space is a space equipped with a Ļ-algebra. -
š” : Type u_2mš” : MeasurableSpace š”
-
ν : ProbabilityTheory.Kernel š š”A kernel from a measurable spaceαto another measurable spaceβis a measurable functionĪŗ : α ā Measure β.ProbabilityTheory.IsMarkovKernel νA kernel is a Markov kernel if every measure in its image is a probability measure. -
n : ā
ProbabilityTheory.HasLaw (fun Ļ => Ļ.1 n) MeasureTheory.volume (arrayMeasure ν)The predicate HasLaw X μ P registers the fact that the random variable X has law μ under the measure P, in other words that P.map X = μ.MeasurableSpace : Type u_6 ā Type u_6A measurable space is a space equipped with a Ļ-algebra.
ProbabilityTheory.IsMarkovKernel : {α : Type u_1} ā
{β : Type u_2} ā {mα : MeasurableSpace α} ā {mβ : MeasurableSpace β} ā ProbabilityTheory.Kernel α β ā PropA kernel is a Markov kernel if every measure in its image is a probability measure.
ProbabilityTheory.Kernel : (α : Type u_1) ā (β : Type u_2) ā [MeasurableSpace α] ā [MeasurableSpace β] ā Type (max u_1 u_2)A kernel from a measurable space `α` to another measurable space `β` is a measurable function `Īŗ : α ā Measure β`. The measurable space structure on `MeasureTheory.Measure β` is given by `MeasureTheory.Measure.instMeasurableSpace`. A map `Īŗ : α ā MeasureTheory.Measure β` is measurable iff `ā s : Set β, MeasurableSet s ā Measurable (fun a ⦠κ a s)`.
Nat : TypeThe natural numbers, starting at zero. This type is special-cased by both the kernel and the compiler, and overridden with an efficient implementation. Both use a fast arbitrary-precision arithmetic library (usually [GMP](https://gmplib.org/)); at runtime, `Nat` values that are sufficiently small are unboxed.
ProbabilityTheory.HasLaw : {Ī© : Type u_1} ā
{š§ : Type u_2} ā
{mĪ© : MeasurableSpace Ī©} ā
{mš§ : MeasurableSpace š§} ā
(Ī© ā š§) ā MeasureTheory.Measure š§ ā autoParam (MeasureTheory.Measure Ī©) ProbabilityTheory.HasLaw._auto_1 ā PropThe predicate `HasLaw X μ P` registers the fact that the random variable `X` has law `μ` under the measure `P`, in other words that `P.map X = μ`. We also require `X` to be `AEMeasurable`, to allow for nice interactions with operations on the codomain of `X`. See for instance `HasLaw.comp`, `IndepFun.hasLaw_mul` and `IndepFun.hasLaw_add`.
MeasureTheory.MeasureSpace.volume : {α : Type u_5} ā [self : MeasureTheory.MeasureSpace α] ā MeasureTheory.Measure α`volume` is the canonical measure on `α`.
Bandits.ArrayModel.arrayMeasure : {š : Type u_1} ā
{š” : Type u_2} ā
{mš : MeasurableSpace š} ā
{mš” : MeasurableSpace š”} ā ProbabilityTheory.Kernel š š” ā MeasureTheory.Measure (Bandits.ArrayModel.probSpace š š”)Probability measure for the array model of stochastic bandits.Go to its page
Code
lemma hasLaw_fst_apply_arrayMeasure (ν : Kernel š š”) [IsMarkovKernel ν] (n : ā) :
HasLaw (fun Ļ : probSpace š š” ⦠Ļ.1 n) volume (arrayMeasure ν)Proof
(hasLaw_eval_infinitePi (fun _ ⦠volume) n).comp (hasLaw_fst_prod _ _)
Meaning last changed in v4.35.0-rc2-1-g61e506b (2026-09-22), the 3th 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: 3 project declarations, 25 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.