Learning.instMeasurableSpaceEnvironment
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 (Environment ๐ ๐ ๐จ)MeasurableSpace.comap (fun env => (env.obs, env.feedback)) inferInstanceMeasurableSpace : Type u_6 โ Type u_6A measurable space is a space equipped with a ฯ-algebra.
Learning.Environment : (๐ : Type u_5) โ
(๐ : Type u_6) โ
(๐จ : Type u_7) โ [MeasurableSpace ๐] โ [MeasurableSpace ๐] โ [MeasurableSpace ๐จ] โ Type (max (max u_5 u_6) u_7)A stochastic environment. At each round, an observation is drawn prior to the algorithm taking an action. Then the environment provides feedback based on the observation and the action.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 `ฮฒ`.
Prod.mk : {ฮฑ : Type u} โ {ฮฒ : Type v} โ ฮฑ โ ฮฒ โ ฮฑ ร ฮฒConstructs a pair. This is usually written `(x, y)` instead of `Prod.mk x y`. Conventions for notations in identifiers: * The recommended spelling of `(a, b)` in identifiers is `mk`.
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 (Environment ๐ ๐ ๐จ)
Proof
MeasurableSpace.comap (fun env โฆ (env.obs, env.feedback)) 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, 15 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.