LeanMachineLearning

Learning.empMean_eq_comp_history๐Ÿ”—

Lemma

From the authors

empMean A R a n is a function of the history before time n.

Types
  • ๐“ž : Type u_1
  • ๐“ : Type u_2DecidableEq ๐“
  • ฮฉ : Type u_4
Given
  • O : โ„• โ†’ ฮฉ โ†’ ๐“ž
  • A : โ„• โ†’ ฮฉ โ†’ ๐“
  • R : โ„• โ†’ ฮฉ โ†’ โ„
  • a : ๐“
  • n : โ„•
Then
empMean A R a n = (fun h => empMean' n h a) โˆ˜ history O A R n
Code
lemma empMean_eq_comp_history {R : โ„• โ†’ ฮฉ โ†’ โ„} (a : ๐“) (n : โ„•) :
    empMean A R a n = (fun h : Hist ๐“ž ๐“ โ„ n โ†ฆ empMean' n h a) โˆ˜ history O A R n
Proof
by
  ext ฯ‰
  exact empMean_eq_empMean'

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: 11 project declarations, 34 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.