Okun's law: annual change, growth rate, gap law
DefinitionOkunsLaw_defsBasic vocabulary for Okun's law over discrete time (years ), for real-valued time series .
- Annual change. .
- Growth rate. .
- Gap version of Okun's law in year . For actual output , potential GDP , actual unemployment rate , natural rate of unemployment , and coefficient ,
These are the objects in which the gap version and the growth-rate version of Okun's law are stated.
Formalization Note Real division by zero returns in Lean, so theorems using these definitions carry explicit positivity hypotheses where needed.
import Mathlib
/-!
# Okun's law — definitions
Platform definition file `Definitions.Def_OkunsLaw_defs` (draft).
Time is discrete (years `t : ℕ`); every economic quantity is a real-valued time series.
Source: Wikipedia, "Okun's law" (oldid 1341356066), sections "Mathematical statements"
and "Derivation of the growth rate form".
-/
namespace OkunsLaw
/-- Year-to-year change `Δx_t = x_{t+1} - x_t` of a time series. -/
def delta (x : ℕ → ℝ) (t : ℕ) : ℝ := x (t + 1) - x t
/-- Growth rate `Δx_t / x_t` of a time series from year `t` to year `t + 1`. -/
noncomputable def growthRate (x : ℕ → ℝ) (t : ℕ) : ℝ := delta x t / x t
/-- The gap version of Okun's law holds in year `t` with coefficient `c`:
`(Ȳ_t - Y_t) / Ȳ_t = c (u_t - ū_t)`, where `Y` is actual output, `Ybar` potential GDP,
`u` the actual unemployment rate and `ubar` the natural rate of unemployment. -/
def GapLaw (c : ℝ) (Y Ybar u ubar : ℕ → ℝ) (t : ℕ) : Prop :=
(Ybar t - Y t) / Ybar t = c * (u t - ubar t)
end OkunsLaw
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic) — same agent that drafted the statements (non-blind)
Non-blind read-back — not independent testimony. This read-back was written by the same agent that drafted the Lean statements, at the account owner's explicit request. It was not produced by a blind, independent auditor, and the author knew the intended meaning when writing it. Reviewers should not treat it as independent evidence of faithfulness.
The file declares, in the namespace OkunsLaw, three objects about real sequences indexed by natural numbers.
-
Annual change. For a sequence and , .
-
Growth rate. For and , . Real division by zero is defined to be , so when the growth rate is regardless of .
-
Gap law. For , sequences and , the proposition is
It refers only to the values at the single index . No positivity is built in: if the left side is and the proposition reduces to . The definition itself does not constrain , the signs of the sequences, or whether lie in .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.