Learning.instMeasurableSpaceAlgorithm
No docstring.
-
๐ : Type u_1m๐ : MeasurableSpace ๐A measurable space is a space equipped with a ฯ-algebra. -
๐ : Type u_2m๐ : MeasurableSpace ๐ -
๐จ : Type u_3m๐จ : MeasurableSpace ๐จ
MeasurableSpace (Algorithm ๐ ๐ ๐จ)MeasurableSpace.comap (fun alg => alg.policy) inferInstanceMeasurableSpace : Type u_6 โ Type u_6A measurable space is a space equipped with a ฯ-algebra.
Learning.Algorithm : (๐ : Type u_5) โ
(๐ : Type u_6) โ
(๐จ : Type u_7) โ [MeasurableSpace ๐] โ [MeasurableSpace ๐] โ [MeasurableSpace ๐จ] โ Type (max (max u_5 u_6) u_7)A stochastic, sequential algorithm. At each round, it sees an observation in `๐`, then takes an action in `๐`, and finally receives feedback in `๐จ`. The action is a random function of the past rounds and the current observation.Go to its page
MeasurableSpace.comap : {ฮฑ : Type u_1} โ {ฮฒ : Type u_2} โ (ฮฑ โ ฮฒ) โ MeasurableSpace ฮฒ โ MeasurableSpace ฮฑThe reverse image of a measurable space under a function. `comap f m` contains the sets `s : Set ฮฑ` such that `s` is the `f`-preimage of a measurable set in `ฮฒ`.
inferInstance : {ฮฑ : Sort u} โ [i : ฮฑ] โ ฮฑ`inferInstance` synthesizes a value of any target type by typeclass inference. This function has the same type signature as the identity function, but the square brackets on the `[i : ฮฑ]` argument means that it will attempt to construct this argument by typeclass inference. (This will fail if `ฮฑ` is not a `class`.) Example: ``` #check (inferInstance : Inhabited Nat) -- Inhabited Nat def foo : Inhabited (Nat ร Nat) := inferInstance example : foo.default = (default, default) := rfl ```
Code
instance : MeasurableSpace (Algorithm ๐ ๐ ๐จ)
Proof
MeasurableSpace.comap (fun alg โฆ alg.policy) inferInstance
New in v4.34.0-rc2-78-g3ff93c0 (2026-09-10), and its meaning has not changed since.
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: 4 project declarations, 14 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.