Monetary budget identity: value of excess demand for goods plus excess demand for money is zero
ProvedSaysLaw.monetary_walras_lawThroughout, is a finite set of agents and a finite set of goods; is a real price vector; and are real vectors giving the quantities agent brings to market (supplies) and plans to buy (demands); is the market value of a bundle ; and is the aggregate excess demand for good . Each agent also holds money: initially and as planned.
If every agent satisfies the monetary budget constraint , then
Thus the value of the aggregate excess demand for goods is exactly the negative of the aggregate excess demand for money: a deficiency of demand for goods in value terms is the same thing as an excess demand for money (hoarding), as in J. S. Mill's account of a general glut.
import Mathlib import Definitions.Def_SaysLaw_Model
namespace SaysLaw
theorem monetary_walras_law {ι G : Type*} [Fintype ι] [Fintype G]
(p : G → ℝ) (supply demand : ι → G → ℝ) (m m' : ι → ℝ)
(hbudget : MonetaryBudget p supply demand m m') :
bundleValue p (excessDemand supply demand) + excessMoneyDemand m m' = 0 := by sorry
end SaysLawRead-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 be arbitrary finite types, any prices (no sign condition), and arbitrary. Assume for every : . Then, with ,
This is an exact equality of real numbers; it holds trivially (both terms ) when is empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.