LeanMachineLearning

Learning.pullCount_eq_comp_history๐Ÿ”—

Lemma

From the authors

pullCount A a n is a function of the history before time n.

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

Meaning last changed in v4.35.0-rc2-1-g61e506b (2026-09-22), 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: 6 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.