MindFormal v1.0.0One Mind

MindFormal.Tools.A595Trade.Clearing

The unit-good quasilinear bundle corner. The interval concerns the complete asserted budget domain. A finite taught menu certifies only its own comparisons. Net reallocation is distinct from gross route length.

def MindFormal.A595Trade.bundleUtility (c b : ℝ) (owns : Bool) (money : ℝ) :
Equations
Instances For
    theorem MindFormal.A595Trade.bundle_gains (c b cash price : ℝ) (hc : 0 < c) :
    bundleUtility c b true (cash - price) - bundleUtility c b false cash = c * (b - price) ∧ bundleUtility c b false (cash + price) - bundleUtility c b true cash = c * (price - b) ∧ (bundleUtility c b false cash < bundleUtility c b true (cash - price) ↔ price < b) ∧ (bundleUtility c b true cash < bundleUtility c b false (cash + price) ↔ b < price)
    def MindFormal.A595Trade.DemandCompatible (b : ℕ → ℝ) (price : ℝ) (h : Finset ℕ) (N : ℕ) :
    Equations
    Instances For
      def MindFormal.A595Trade.Clears (b : ℕ → ℝ) (price : ℝ) (N K : ℕ) :
      Equations
      Instances For
        theorem MindFormal.A595Trade.clearing_holders {N K : ℕ} {b : ℕ → ℝ} {price : ℝ} {h : Finset ℕ} (hK : K ≤ N) (hc : h.card = K) (hr : h ⊆ Finset.range N) (hb : StrictMonoOn b (Set.Iio N)) (hd : DemandCompatible b price h N) :
        h = top N K
        theorem MindFormal.A595Trade.clearing_interval {N K : ℕ} {b : ℕ → ℝ} {price : ℝ} (hK : 0 < K) (hKN : K < N) (hb : StrictMonoOn b (Set.Iio N)) :
        Clears b price N K ↔ b (N - K - 1) ≤ price ∧ price ≤ b (N - K)
        Equations
        Instances For
          theorem MindFormal.A595Trade.missing_equals_excess {target h : Finset ℕ} (hc : target.card = h.card) :
          missing target h = (h \ target).card
          theorem MindFormal.A595Trade.missing_transfer_le_one (target h : Finset ℕ) (s b : ℕ) :
          missing target h ≤ missing target (transfer h s b) + 1
          def MindFormal.A595Trade.Budget (price wealth : ℝ) (z : Bool × ℝ) :

          A complete budget domain retains both binary holdings choices.

          Equations
          Instances For
            def MindFormal.A595Trade.LearnedOrder (c b price wealth : ℝ) (pref : Bool × ℝ → Bool × ℝ → Prop) :
            Equations
            • One or more equations did not get rendered due to their size.
            Instances For
              theorem MindFormal.A595Trade.full_budget_demand {c b price wealth : ℝ} (hc : 0 < c) (hw : 0 ≤ wealth) (haff : price ≤ wealth) {pref : Bool × ℝ → Bool × ℝ → Prop} (hl : LearnedOrder c b price wealth pref) :
              ((∀ (z : Bool × ℝ), Budget price wealth z → pref z (true, wealth - price)) ↔ price ≤ b) ∧ ((∀ (z : Bool × ℝ), Budget price wealth z → pref z (false, wealth)) ↔ b ≤ price)
              theorem MindFormal.A595Trade.missing_transfer {target h : Finset ℕ} {s b : ℕ} (hst : s ∉ target) (hb : b ∉ h) (hbt : b ∈ target) :
              missing target (transfer h s b) + 1 = missing target h
              theorem MindFormal.A595Trade.common_price_direct {N K : ℕ} {b : ℕ → ℝ} {price : ℝ} {s t : ℕ} (hK : 0 < K) (hKN : K < N) (hb : StrictMonoOn b (Set.Iio N)) (hprice : b (N - K - 1) < price ∧ price < b (N - K)) (hs : s < N) (ht : t < N) (hag : b s < price ∧ price < b t) :
              s ∉ top N K ∧ t ∈ top N K