LeanMachineLearning

Learning.Environment.ฮฝ0_congr๐Ÿ”—

Lemma

No docstring.

Types
  • ๐“ž : Type u_1m๐“ž : MeasurableSpace ๐“žA measurable space is a space equipped with a ฯƒ-algebra.
  • ๐“ž' : Type u_2m๐“ž' : MeasurableSpace ๐“ž'
  • ๐“ : Type u_4m๐“ : MeasurableSpace ๐“
  • ๐“' : Type u_5m๐“' : MeasurableSpace ๐“'
  • ๐“จ : Type u_7m๐“จ : MeasurableSpace ๐“จ
  • ๐“จ' : Type u_8m๐“จ' : MeasurableSpace ๐“จ'
Given
  • env : Environment ๐“ž ๐“ ๐“จA stochastic environment.
  • e๐“ž : ๐“ž โ‰ƒแต ๐“ž'Equivalences between measurable spaces.
  • e๐“ : ๐“ โ‰ƒแต ๐“'
  • e๐“จ : ๐“จ โ‰ƒแต ๐“จ'
Then
(env.congr e๐“ž e๐“ e๐“จ).ฮฝ0 = (env.ฮฝ0.map โ‡‘e๐“จ).comap (fun p => (e๐“ž.symm p.1, e๐“.symm p.2)) โ‹ฏ
Code
lemma Environment.ฮฝ0_congr (env : Environment ๐“ž ๐“ ๐“จ) (e๐“ž : ๐“ž โ‰ƒแต ๐“ž') (e๐“ : ๐“ โ‰ƒแต ๐“')
    (e๐“จ : ๐“จ โ‰ƒแต ๐“จ') :
    (env.congr e๐“ž e๐“ e๐“จ).ฮฝ0
      = (env.ฮฝ0.map e๐“จ).comap (fun p โ†ฆ (e๐“ž.symm p.1, e๐“.symm p.2)) (by fun_prop)
Proof
by
  ext p : 1
  rw [Environment.ฮฝ0_apply, feedback_congr, Kernel.comap_apply,
    Kernel.map_apply _ e๐“จ.measurable, env.feedback_zero, Kernel.comap_apply,
    Kernel.map_apply _ e๐“จ.measurable]

Meaning last changed in v4.34.0-rc2-76-g565f652 (2026-09-10).

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: 10 project declarations, 31 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.