Say's identity: aggregate value of demand equals aggregate value of supply
ProvedSaysLaw.aggregate_supply_eq_aggregate_demandThroughout, 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 .
Suppose every agent obeys Say's budget principle at prices : for all . Then the total value of planned purchases equals the total value of goods offered for sale:
This is the aggregate form of Say's law in the article: the goods offered for sale are evidence of an equal quantity of demand.
import Mathlib import Definitions.Def_SaysLaw_Model
namespace SaysLaw
theorem aggregate_supply_eq_aggregate_demand {ι G : Type*} [Fintype ι] [Fintype G]
(p : G → ℝ) (supply demand : ι → G → ℝ) (hsay : SaysBudget p supply demand) :
∑ i, bundleValue p (demand i) = ∑ i, bundleValue p (supply i) := 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 (agents) and (goods) be arbitrary finite types, possibly empty. Let be any real price vector (no sign condition) and let be arbitrary real arrays. Assume that for every ,
Then
When is empty both sides are . The statement is a plain equality of real numbers; nothing is asserted about individual goods.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.