LeanMachineLearning

Learning.exists_pullCount_eq_of_le๐Ÿ”—

Lemma

No docstring.

๐Ÿ”—theorem
Learning.exists_pullCount_eq_of_le.{u_1, u_3} {๐“ : Type u_1} {ฮฉ : Type u_3} [DecidableEq ๐“] {A : โ„• โ†’ ฮฉ โ†’ ๐“} {a : ๐“} {n t : โ„•} {ฯ‰ : ฮฉ} (hnm : t โ‰ค pullCount A a (n + 1) ฯ‰) (ht : t โ‰  0) : โˆƒ s, pullCount A a (s + 1) ฯ‰ = t
Learning.exists_pullCount_eq_of_le.{u_1, u_3} {๐“ : Type u_1} {ฮฉ : Type u_3} [DecidableEq ๐“] {A : โ„• โ†’ ฮฉ โ†’ ๐“} {a : ๐“} {n t : โ„•} {ฯ‰ : ฮฉ} (hnm : t โ‰ค pullCount A a (n + 1) ฯ‰) (ht : t โ‰  0) : โˆƒ s, pullCount A a (s + 1) ฯ‰ = t

Code

lemma exists_pullCount_eq_of_le (hnm : t โ‰ค pullCount A a (n + 1) ฯ‰) (ht : t โ‰  0) :
    โˆƒ s, pullCount A a (s + 1) ฯ‰ = t
Proof
by
  by_contra! h_contra
  refine lt_irrefl (pullCount A a (n + 1) ฯ‰) ?_
  refine lt_of_lt_of_le ?_ hnm
  exact pullCount_lt_of_forall_ne h_contra ht

Actions: Source ยท Open Issue

Meaning unchanged since v4.33.0-rc1-29-gce231eb, the oldest revision on record (2026-07-30).

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: 1 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.