LeanMachineLearning

Learning.p0_detAlgorithm๐Ÿ”—

Lemma

No docstring.

Types
  • ๐“ž : Type u_1m๐“ž : MeasurableSpace ๐“žA measurable space is a space equipped with a ฯƒ-algebra.
  • ๐“ : Type u_2m๐“ : MeasurableSpace ๐“
  • ๐“จ : Type u_3m๐“จ : MeasurableSpace ๐“จ
Given
  • nextA : (n : โ„•) โ†’ Hist ๐“ž ๐“ ๐“จ n ร— ๐“ž โ†’ ๐“
Assuming
  • h_next : โˆ€ (n : โ„•), Measurable (nextA n)implicitA function f between measurable spaces is measurable if the preimage of every measurable set is measurable.
Then
(detAlgorithm nextA h_next).p0 = ProbabilityTheory.Kernel.deterministic (fun o => nextA 0 (default, o)) โ‹ฏ
Code
lemma p0_detAlgorithm :
    (detAlgorithm nextA h_next).p0
      = Kernel.deterministic (fun o โ†ฆ nextA 0 (default, o))
        ((h_next 0).comp (measurable_const.prodMk measurable_id))
Proof
by
  ext o : 1
  rw [Algorithm.p0_apply, detAlgorithm_policy, Kernel.deterministic_apply,
    Kernel.deterministic_apply]

Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10), the 2th 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: 5 project declarations, 23 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.