AFTD Auto-Formalizing Theoretical Domains

monotoneMixtureWeight

def

For a sequence $P : \mathbb{N}^+ \to \mathbb{R}$, the mixture weight at $k \in \mathbb{N}^+$ is defined by $w_k = k (P(k) - P(k+1))$.

Statement

noncomputable def monotoneMixtureWeight (P : ℕ+ → ℝ) (k : ℕ+) : ℝ
Defined in
arXiv:2610.01563 Lemma 3
Verified
31 Oct 2026
Axioms
none listed
Used by 4

Read back from the Lean

Given a function/sequence P : ℕ+ → ℝ and a positive integer k : ℕ+, monotoneMixtureWeight P k is defined to be the real number k * (P k - P (k + 1)), where k is coerced to ℝ.

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- Mixture weight w_k = k(P(k) - P(k+1)) for a sequence on positive integers. -/
noncomputable def monotoneMixtureWeight (P : ℕ+ → ℝ) (k : ℕ+) : ℝ := (k : ℝ) * (P k - P (k + 1))
See it in the graphDiscuss this resultChallenge it