AFTD Auto-Formalizing Theoretical Domains

plackett_luce_laplace_profile

def

For a weight profile w on [0,1], the Laplace profile L(t) is the integral over [0,1] of w(x) * exp(-t * w(x)) dx.

Statement

noncomputable def plackett_luce_laplace_profile (w : ℝ → ℝ) (t : ℝ) : ℝ
Defined in
OP-1712
Verified
14 Nov 2026
Axioms
none listed
Used by 5

Read back from the Lean

The function plackett_luce_laplace_profile takes a function $w : \mathbb{R} \to \mathbb{R}$ and a real number $t$, and returns the real number defined as the Lebesgue integral over the closed interval $[0, 1]$ of $x \mapsto w(x) \exp(-t \cdot w(x))$: $$\int_0^1 w(x) e^{-t w(x)} \, dx$$

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

/-- Continuous Laplace profile for a Plackett-Luce weight profile w on [0,1]. -/
noncomputable def plackett_luce_laplace_profile (w : ℝ → ℝ) (t : ℝ) : ℝ := ∫ x in Set.Icc (0 : ℝ) 1, w x * Real.exp (-t * w x)
See it in the graphDiscuss this resultChallenge it