Bernoulli's and Cramer's have diminishing marginal utility
ProvedMarginalUtility.bernoulli_cramer_diminishingThroughout, a utility function of one quantified variable is a map (all other variables held fixed, ceteris paribus); is the change in utility from state to state ; the marginal utility at is ; and has diminishing marginal utility on a set when and are differentiable on and at every point of . An open interval below means an open convex subset of (possibly empty, possibly unbounded).
Both measures of the desirability of a sum of money proposed in the 18th century have diminishing marginal utility on : Bernoulli's natural logarithm and Cramer's square root are twice differentiable on with for every .
import Mathlib import Definitions.Def_MarginalUtility_Model open Filter Topology Set
namespace MarginalUtility
theorem bernoulli_cramer_diminishing :
HasDiminishingMarginalUtility Real.log (Ioi 0) ∧
HasDiminishingMarginalUtility Real.sqrt (Ioi 0) := by sorry
end MarginalUtilityRead-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.
The statement is the conjunction of two facts, both about the open half-line .
- The real natural logarithm (as a function ; its values for are irrelevant here) has diminishing marginal utility on : is differentiable on , its derivative function is differentiable on , and the second derivative is strictly negative at every .
- The real square root (as a function , equal to for ) has diminishing marginal utility on in the same sense.
The point is excluded from the domain in both cases.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.