Weighted N Sector Economy

Documentation

Lean 4 Proof

structure WeightedNSectorEconomy (N : ℕ) extends NSectorEconomy N where
  /-- Per-sector weight vectors: a_n : Fin J_n → ℝ -/
  a : (n : Fin N) → Fin (toNSectorEconomy.J n) → ℝ
  /-- Weights are positive -/
  ha_pos : ∀ n j, 0 < a n j
  /-- Weights sum to 1 per sector -/
  ha_sum : ∀ n, ∑ j, a n j = 1

Dependency Graph

Module Section

## Weighted N-Sector Economy