Terms of trade: specialization pays exactly when the world price beats the opportunity cost
ProvedComparativeAdvantage.terms_of_trade_iffLet a country have unit labour requirements and labour force , and let world prices be .
- Its autarky set is contained in its consumption set when it specializes in cloth if and only if
- Its autarky set is contained in its consumption set when it specializes in wine if and only if
Hence terms of trade that benefit both a cloth exporter and a wine exporter lie between the two countries' opportunity costs.
import Mathlib import Definitions.Def_ComparativeAdvantage_Model
namespace ComparativeAdvantage
theorem terms_of_trade_iff (c : Country) (PC PW : ℝ) (hPC : 0 < PC) (hPW : 0 < PW) :
(autarkySet c ⊆ tradeSetCloth c PC PW ↔ c.aLC / c.aLW ≤ PC / PW) ∧
(autarkySet c ⊆ tradeSetWine c PC PW ↔ PC / PW ≤ c.aLC / c.aLW) := by sorry
end ComparativeAdvantageRead-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.
Here a country is a triple of real numbers , all strictly positive (the structure itself carries the positivity proofs). Let be a country and , . The statement asserts both equivalences:
- [every with and also satisfies ] ;
- [every with and also satisfies ] .
Only one country appears; the statement about two trading partners is obtained by applying it to each.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.