MindFormal v1.0.0One Mind

MindFormal.Tools.AfriatEnvelope

def MindFormal.Afriat.expenditure {I : Type u_1} {C : Type u_2} [Fintype C] (p x : I → C → ℝ) (i j : I) :
Equations
Instances For
    def MindFormal.Afriat.plane {I : Type u_1} {C : Type u_2} [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) (i : I) (y : C → ℝ) :
    Equations
    Instances For
      def MindFormal.Afriat.envelope {I : Type u_1} {C : Type u_2} [Fintype I] [Nonempty I] [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) (y : C → ℝ) :

      The finite minimum of Afriat's supporting affine planes.

      Equations
      Instances For
        theorem MindFormal.Afriat.envelope_le {I : Type u_1} {C : Type u_2} [Fintype I] [Nonempty I] [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) (i : I) (y : C → ℝ) :
        envelope p x u m y ≤ plane p x u m i y
        theorem MindFormal.Afriat.envelope_at_observation {I : Type u_1} {C : Type u_2} [Fintype I] [Nonempty I] [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) (hu : ∀ (i j : I), u j ≤ u i + m i * expenditure p x i j) (j : I) :
        envelope p x u m (x j) = u j
        theorem MindFormal.Afriat.envelope_continuous {I : Type u_1} {C : Type u_2} [Fintype I] [Nonempty I] [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) :
        theorem MindFormal.Afriat.plane_affine {I : Type u_1} {C : Type u_2} [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) (i : I) (y z : C → ℝ) {a b : ℝ} (hab : a + b = 1) :
        plane p x u m i (a • y + b • z) = a * plane p x u m i y + b * plane p x u m i z
        theorem MindFormal.Afriat.envelope_concave {I : Type u_1} {C : Type u_2} [Fintype I] [Nonempty I] [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) :

        Concavity follows directly from the lower envelope, including ties.

        theorem MindFormal.Afriat.envelope_increasing {I : Type u_1} {C : Type u_2} [Fintype I] [Nonempty I] [Fintype C] (p x : I → C → ℝ) (u m : I → ℝ) (hp : ∀ (i : I) (c : C), 0 < p i c) (hm : ∀ (i : I), 0 < m i) (y z : C → ℝ) (hyz : ∀ (c : C), y c ≤ z c) (hlt : ∃ (c : C), y c < z c) :
        envelope p x u m y < envelope p x u m z

        Positive prices and multipliers make the envelope strictly increasing when at least one coordinate rises and none falls.

        def MindFormal.Afriat.Nonsatiated {C : Type u_2} (D : Set (C → ℝ)) (U : (C → ℝ) → ℝ) :

        Topological local nonsatiation, relative to the declared bundle domain.

        Equations
        Instances For
          theorem MindFormal.Afriat.nonsatiated_rationalization_garp {I : Type u_1} {C : Type u_2} [Fintype C] (D : Set (C → ℝ)) (p x : I → C → ℝ) (hx : ∀ (i : I), x i ∈ D) (U : (C → ℝ) → ℝ) (hns : Nonsatiated D U) (hr : ∀ (i : I), ∀ y ∈ D, ∑ c : C, p i c * (y c - x i c) ≤ 0 → U y ≤ U (x i)) :

          Local nonsatiation makes strict budget slack a strict revealed preference. This proves the necessary GARP direction on any domain.

          theorem MindFormal.Afriat.envelope_nonsatiated {I : Type u_1} {C : Type u_2} [Fintype I] [Nonempty I] [Fintype C] [Nonempty C] (p x : I → C → ℝ) (u m : I → ℝ) (hp : ∀ (i : I) (c : C), 0 < p i c) (hm : ∀ (i : I), 0 < m i) :
          Nonsatiated {y : C → ℝ | ∀ (c : C), 0 ≤ y c} (envelope p x u m)

          The explicit envelope is locally nonsatiated on nonnegative bundles. The nonempty commodity catalog and strictly positive prices are explicit.

          theorem MindFormal.Afriat.garp_rationalization {I : Type u_1} {C : Type u_2} [Nonempty I] [Fintype C] [Finite I] (p x : I → C → ℝ) (hg : GARP (expenditure p x)) :
          ∃ (U : (C → ℝ) → ℝ), Continuous U ∧ ConcaveOn ℝ Set.univ U ∧ ∀ (i : I) (y : C → ℝ), ∑ c : C, p i c * (y c - x i c) ≤ 0 → U y ≤ U (x i)

          A GARP data set has an explicit continuous concave rationalizer. Strict positivity of prices is needed for nonsatiation, not for this budget-optimality statement, which includes every bundle in each budget.

          theorem MindFormal.Afriat.afriat_iff {I : Type u_1} {C : Type u_2} [Nonempty I] [Fintype C] [Finite I] [Nonempty C] (p x : I → C → ℝ) (hp : ∀ (i : I) (c : C), 0 < p i c) (hx : ∀ (i : I) (c : C), 0 ≤ x i c) :
          GARP (expenditure p x) ↔ ∃ (U : (C → ℝ) → ℝ), Nonsatiated {y : C → ℝ | ∀ (c : C), 0 ≤ y c} U ∧ ∀ (i : I) (y : C → ℝ), (∀ (c : C), 0 ≤ y c) → ∑ c : C, p i c * (y c - x i c) ≤ 0 → U y ≤ U (x i)

          Afriat's full finite positive-price criterion on nonnegative bundles: GARP iff a locally nonsatiated utility rationalizes every observed budget. The sufficient direction constructs a continuous concave such utility.