MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch13.FiniteRepresentation.Orders

Finite representation tests on comparisons and observed distributions. The outcome type may be Option X; none is then the outside/deferral outcome. No native optimization or choice law is postulated.

def MindFormal.FiniteRepresentation.tie {X : Type u_1} (r : X → X → Prop) (i j : X) :
Equations
Instances For
    def MindFormal.FiniteRepresentation.strict {X : Type u_1} (r : X → X → Prop) (i j : X) :
    Equations
    Instances For
      theorem MindFormal.FiniteRepresentation.comparison_iff {X : Type u_1} (r : X → X → Prop) (complete : ∀ (i j : X), r i j ∨ r j i) (u : X → ℝ) :
      (∀ (i j : X), r i j ↔ u j ≤ u i) ↔ (∀ (i j : X), tie r i j → u i = u j) ∧ ∀ (i j : X), strict r i j → u j < u i

      A complete comparison is represented by its ties and strict edges exactly when it is represented as a weak scalar comparison.

      The acyclic quotient test includes loops: it therefore also excludes every strict comparison within a generated tie class.

      theorem MindFormal.FiniteRepresentation.ordinal_iff {X : Type u_1} [Finite X] (r : X → X → Prop) (complete : ∀ (i j : X), r i j ∨ r j i) :
      (∃ (u : X → ℝ), ∀ (i j : X), r i j ↔ u j ≤ u i) ↔ Equivalence (tie r) ∧ ∀ (a : Quotient (Relation.EqvGen.setoid (tie r))), ¬Relation.TransGen (FiniteOrder.quotientStrict (tie r) (strict r)) a a

      16.2: a finite complete deterministic comparison has an ordinal representation iff its ties are an equivalence relation and its strict quotient has no directed cycle, including a self-loop.

      theorem MindFormal.FiniteRepresentation.levels_injective {X : Type u_1} (r : X → X → Prop) (u : X → ℝ) (representation : ∀ (i j : X), r i j ↔ u j ≤ u i) :
      ∃ (v : Quotient (Relation.EqvGen.setoid (tie r)) → ℝ), Function.Injective v ∧ ∀ (i : X), v ⟦i⟧ = u i

      16.2: different comparison classes require different utility levels; the utility induced on the actual tie quotient is injective.

      noncomputable def MindFormal.FiniteRepresentation.point {X : Type u_1} (c : X) :
      X → ℝ
      Equations
      Instances For
        def MindFormal.FiniteRepresentation.winnerGraph {X : Type u_1} {T : Type u_2} (menu : T → Finset X) (winner : T → X) (i j : X) :
        Equations
        Instances For
          theorem MindFormal.FiniteRepresentation.unique_family_iff {X : Type u_1} {T : Type u_2} [Finite X] (menu : T → Finset X) (q : T → X → ℝ) (outside : X) :
          (∃ (u : X → ℝ), u outside = 0 ∧ ∀ (t : T), ∃ c ∈ menu t, q t = point c ∧ ∀ j ∈ menu t, j ≠ c → u j < u c) ↔ ∃ (winner : T → X), (∀ (t : T), winner t ∈ menu t ∧ q t = point (winner t)) ∧ ∀ (i : X), ¬Relation.TransGen (winnerGraph menu winner) i i

          16.2: a common unique-maximizer vector for a whole family of actual distributions exists exactly at the point-mass and acyclic winner-graph test. Tests need not be finite; outcomes are finite. The public application inserts the outside outcome in every menu and normalizes its utility to zero.

          theorem MindFormal.FiniteRepresentation.unique_deferral_iff {X : Type u_1} {T : Type u_2} [Finite X] (menu : T → Finset X) (q : T → X → ℝ) (outside : X) :
          (∃ (u : X → ℝ), u outside = 0 ∧ ∀ (t : T), ∃ c ∈ insert outside (menu t), q t = point c ∧ ∀ j ∈ insert outside (menu t), j ≠ c → u j < u c) ↔ ∃ (winner : T → X), (∀ (t : T), winner t ∈ insert outside (menu t) ∧ q t = point (winner t)) ∧ ∀ (i : X), ¬Relation.TransGen (winnerGraph (fun (t : T) => insert outside (menu t)) winner) i i

          The family criterion with the declared deferral included in every menu, even when the raw menu is empty.