Learning.randomSampling.hasLaw_action
Each action follows the distribution ฮผ.
Learning.randomSampling.hasLaw_action.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} {mฮฉ : MeasurableSpace ฮฉ} {ฮผ : MeasureTheory.Measure ๐} [MeasureTheory.IsProbabilityMeasure ฮผ] {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsProbabilityMeasure P] {A : โ โ ฮฉ โ ๐} {Y : โ โ ฮฉ โ ๐จ} {env : Environment ๐ ๐จ} (h : IsAlgEnvSeq A Y (randomSampling ฮผ) env P) (n : โ) : ProbabilityTheory.HasLaw (A n) ฮผ PLearning.randomSampling.hasLaw_action.{u_1, u_2, u_3} {๐ : Type u_1} {๐จ : Type u_2} {ฮฉ : Type u_3} {m๐ : MeasurableSpace ๐} {m๐จ : MeasurableSpace ๐จ} {mฮฉ : MeasurableSpace ฮฉ} {ฮผ : MeasureTheory.Measure ๐} [MeasureTheory.IsProbabilityMeasure ฮผ] {P : MeasureTheory.Measure ฮฉ} [MeasureTheory.IsProbabilityMeasure P] {A : โ โ ฮฉ โ ๐} {Y : โ โ ฮฉ โ ๐จ} {env : Environment ๐ ๐จ} (h : IsAlgEnvSeq A Y (randomSampling ฮผ) env P) (n : โ) : ProbabilityTheory.HasLaw (A n) ฮผ P
Code
lemma hasLaw_action (h : IsAlgEnvSeq A Y (randomSampling ฮผ) env P) (n : โ) :
HasLaw (A n) ฮผ PProof
by
by_cases hn : n = 0
ยท rw [hn]
exact h.hasLaw_action_zero
ยท push Not at hn
obtain โจk, rflโฉ := Nat.exists_eq_succ_of_ne_zero hn
exact (h.hasCondDistrib_action k).hasLaw_of_constActions: Source ยท Open Issue
Meaning last changed in v4.34.0-rc2-1-g439785b (2026-08-23), the 4th 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, 42 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.