Learning.sum_pullCount_mul
No docstring.
Learning.sum_pullCount_mul.{u_1, u_2, u_3} {๐ : Type u_1} {R : Type u_2} {ฮฉ : Type u_3} [DecidableEq ๐] {A : โ โ ฮฉ โ ๐} [Fintype ๐] [Semiring R] (ฯ : ฮฉ) (f : ๐ โ R) (t : โ) : โ a, โ(pullCount A a t ฯ) * f a = โ s โ Finset.range t, f (A s ฯ)Learning.sum_pullCount_mul.{u_1, u_2, u_3} {๐ : Type u_1} {R : Type u_2} {ฮฉ : Type u_3} [DecidableEq ๐] {A : โ โ ฮฉ โ ๐} [Fintype ๐] [Semiring R] (ฯ : ฮฉ) (f : ๐ โ R) (t : โ) : โ a, โ(pullCount A a t ฯ) * f a = โ s โ Finset.range t, f (A s ฯ)
Code
lemma sum_pullCount_mul [Fintype ๐] [Semiring R] (ฯ : ฮฉ) (f : ๐ โ R) (t : โ) :
โ a, pullCount A a t ฯ * f a = โ s โ range t, f (A s ฯ)Proof
by unfold pullCount classical simp_rw [card_eq_sum_ones] push_cast simp_rw [sum_mul, one_mul] exact sum_fiberwise' (range t) (A ยท ฯ) f
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, 20 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.