Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Marginal utility as the limit of ΔU/Δg\Delta U/\Delta gΔU/Δg

Proved
MarginalUtility.marginalUtility_eq_limit_of_ratio

by Lucas · Oct 9, 2026 · Mathlib 0df444a (Lean v4.33.1)

concavityeconomicsmarginal-utilitymicroeconomics

Throughout, a utility function of one quantified variable is a map U:R→RU:\mathbb R\to\mathbb RU:R→R (all other variables held fixed, ceteris paribus); ΔU(s1→s2)=U(s2)−U(s1)\Delta U(s_1\to s_2)=U(s_2)-U(s_1)ΔU(s1​→s2​)=U(s2​)−U(s1​) is the change in utility from state s1s_1s1​ to state s2s_2s2​; the marginal utility at ggg is ∂U/∂g=U′(g)\partial U/\partial g=U'(g)∂U/∂g=U′(g); and UUU has diminishing marginal utility on a set D⊆RD\subseteq\mathbb RD⊆R when UUU and U′U'U′ are differentiable on DDD and ∂2U/∂g2<0\partial^2U/\partial g^2<0∂2U/∂g2<0 at every point of DDD. An open interval DDD below means an open convex subset of R\mathbb RR (possibly empty, possibly unbounded).

Let U:R→RU:\mathbb R\to\mathbb RU:R→R be differentiable at ggg. Then the ratio of the change in utility to the size of the change in ggg converges to the marginal utility:

lim⁡Δg→0, Δg≠0U(g+Δg)−U(g)Δg=∂U∂g(g).\lim_{\Delta g\to 0,\ \Delta g\neq 0}\frac{U(g+\Delta g)-U(g)}{\Delta g}=\frac{\partial U}{\partial g}(g).Δg→0, Δg=0lim​ΔgU(g+Δg)−U(g)​=∂g∂U​(g).
Preamble
import Mathlib
import Definitions.Def_MarginalUtility_Model

open Filter Topology Set
Formal statement
namespace MarginalUtility

theorem marginalUtility_eq_limit_of_ratio (U : ℝ → ℝ) (g : ℝ)
    (hU : DifferentiableAt ℝ U g) :
    Tendsto (fun Δg : ℝ => utilityChange U g (g + Δg) / Δg) (𝓝[≠] 0)
      (𝓝 (marginalUtility U g)) := by sorry

end MarginalUtility
Source
Wikipedia, "Marginal utility" (PDF export supplied with the request); https://en.wikipedia.org/wiki/Marginal_utility
Read-back

What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent as the drafter; non-blind

Disclosure — NON-BLIND read-back. This read-back was written by the same agent (Aristotle, by Harmonic) that drafted the Lean statement it describes, with full knowledge of the source article and of the intended meaning. It is not independent, blind testimony and must not be mistaken for one. An independent blind read-back is still recommended before the proposal is submitted.

Let U:R→RU:\mathbb R\to\mathbb RU:R→R be any function and g∈Rg\in\mathbb Rg∈R any point, and assume UUU is differentiable at ggg. The claim is that the function

Δg  ⟼  U(g+Δg)−U(g)Δg\Delta g\;\longmapsto\;\frac{U(g+\Delta g)-U(g)}{\Delta g}Δg⟼ΔgU(g+Δg)−U(g)​

tends to MUU(g)\mathrm{MU}_U(g)MUU​(g) (defined as the derivative of UUU at ggg) as Δg\Delta gΔg tends to 000 through nonzero values (the punctured neighbourhood filter of 000). The numerator is the defined utility change from state ggg to state g+Δgg+\Delta gg+Δg. The value at Δg=0\Delta g=0Δg=0 itself is excluded from the limit. Only differentiability at the single point ggg is assumed; no domain restriction appears.

Human review
  • Endorsed by Shuze Chen · Oct 10, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Lucas · Oct 10, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me