MindFormal v1.0.0One Mind

MindFormal.Tools.MarketComparisonMath.Support

Complete binary-unit budgets and simultaneous response bounds.

One indivisible unit and nonnegative divisible money, in one money unit.

Equations
Instances For
    def MindFormal.MarketComparisonMath.BudgetMaximum (J : Bool → ℝ → ℝ) (p w : ℝ) (h : Bool) (m : ℝ) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.MarketComparisonMath.selling_maximum_iff (J : Bool → ℝ → ℝ) (p w b s o : ℝ) (hp : 0 ≤ p) (hpw : p ≤ w) (hs : 0 < s) (hJ : ∀ (h : Bool) (m : ℝ), Affordable p w h m → J h m = s * (b * holding h + m) + o) :

      Positive money slope reduces the complete selling budget to its two best cash balances.

      theorem MindFormal.MarketComparisonMath.buying_maximum_iff (J : Bool → ℝ → ℝ) (p w b s o : ℝ) (hp : 0 ≤ p) (hpw : p ≤ w) (hs : 0 < s) (hJ : ∀ (h : Bool) (m : ℝ), Affordable p w h m → J h m = s * (b * holding h + m) + o) :
      BudgetMaximum J p w true (w - p) ↔ p ≤ b

      The buying budget uses the same denominator/price and every affordable bundle.

      def MindFormal.MarketComparisonMath.UniformBand (P : Set ℝ) (b : ℝ → ℝ) (b0 chi d e : ℝ) :
      Equations
      Instances For
        theorem MindFormal.MarketComparisonMath.band_tests {P : Set ℝ} {b : ℝ → ℝ} {b0 chi d e p : ℝ} (h : UniformBand P b b0 chi d e) (hp : p ∈ P) :
        (b p ≤ p → b0 + chi * d - e ≤ (1 + chi) * p) ∧ (p ≤ b p → (1 + chi) * p ≤ b0 + chi * d + e) ∧ (b0 + chi * d + e ≤ (1 + chi) * p → b p ≤ p) ∧ ((1 + chi) * p ≤ b0 + chi * d - e → p ≤ b p) ∧ (b0 + chi * d + e < (1 + chi) * p → b p < p) ∧ ((1 + chi) * p < b0 + chi * d - e → p < b p)

        Undivided outer and inner tests remain meaningful at every coefficient sign.

        theorem MindFormal.MarketComparisonMath.signed_linear_tests (A c p : ℝ) :
        (0 < c → (A ≤ c * p ↔ A / c ≤ p) ∧ (c * p ≤ A ↔ p ≤ A / c)) ∧ (c < 0 → (A ≤ c * p ↔ p ≤ A / c) ∧ (c * p ≤ A ↔ A / c ≤ p)) ∧ (c = 0 → (A ≤ c * p ↔ A ≤ 0) ∧ (c * p ≤ A ↔ 0 ≤ A))

        The same undivided inequality reverses for a negative coefficient and is a constant feasibility test at zero; no division by those coefficients is used.

        theorem MindFormal.MarketComparisonMath.midpoint_support {lo hi delta : ℝ} {b1 b2 : ℝ → ℝ} (hlohi : lo ≤ hi) (hdelta : 0 < delta) (h1 : ContinuousOn b1 (Set.Icc lo hi)) (h2 : ContinuousOn b2 (Set.Icc lo hi)) (hgap : ∀ p ∈ Set.Icc lo hi, 2 * delta ≤ b2 p - b1 p) (hlo : lo ≤ (b1 lo + b2 lo) / 2) (hhi : (b1 hi + b2 hi) / 2 ≤ hi) :
        ∃ p ∈ Set.Icc lo hi, p = (b1 p + b2 p) / 2 ∧ b1 p ≤ p - delta ∧ p + delta ≤ b2 p ∧ b1 p < p ∧ p < b2 p

        IVT for the given coupled response family, including its endpoint cases.