Paying with one coin: the most debased coin is handed over
ProvedGreshamLaw.sixpence_single_coinLet be a finite wallet of coins, all of the same positive face value (legal tender at equal value). For a coin , paying the debt with the single coin is optimal for the payer (no other legal payment of from lets the payer keep more intrinsic value) if and only if
This is the article's sixpence example: the customer hands over the most debased coin, and the shopkeeper, giving one penny in change, has every reason to give the most debased penny.
import Mathlib import Definitions.Def_GreshamLaw_Model
namespace GreshamLaw
theorem sixpence_single_coin {ι : Type*} [DecidableEq ι] (coin : ι → Coin) (s : Finset ι)
(hlegal : EqualLegalTender coin s) (hpos : ∀ i ∈ s, 0 < (coin i).face) (c : ι) :
IsOptimalPayment coin s {c} (coin c).face ↔
c ∈ s ∧ ∀ j ∈ s, (coin c).melt ≤ (coin j).melt := by sorry
end GreshamLawRead-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.
For every type with decidable equality, every assignment of a face value and a melt value (arbitrary reals) to each index, every finite set and every index (not assumed to lie in ), assume:
- all coins of have equal face value: for ;
- every coin of has positive face value: for .
Then the following are equivalent:
- (a) is an optimal payment of the debt from : , , and for every finite with ,
- (b) and for every .
If both sides are false. Melt values are unrestricted reals.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.