MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch14.LotteryRepresentation.Tests

def MindFormal.LotteryRepresentation.restrictions {C : Type u_1} (known : C → C → Prop) (anchors : Set (C × ℝ)) (best worst : Option C) (u : C → ℝ) :

The supplied strict consequence comparisons, known utility anchors, and available best/worst consequences remain restrictions on the same utility vector throughout the test. none means no such bound is known.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.LotteryRepresentation.objective_test {C : Type u_1} {K : Type u_2} {T : Type u_3} [Fintype C] [LinearOrder K] (lottery : T → K → C → ℝ) (menu : T → Finset K) (outside : K) (outsideConsequence : C) (chosen : T → K) (valid : ∀ (t : T), chosen t ∈ insert outside (menu t)) (design : ∀ (t : T) (i : K), FiniteDecision.Probability (lottery t i)) (outsideDesign : ∀ (t : T), lottery t outside = RevealedChoice.pureLottery outsideConsequence) (known : C → C → Prop) (anchors : Set (C × ℝ)) (best worst : Option C) :
    (∃ (u : C → ℝ), restrictions known anchors best worst u ∧ (∀ (t : T) (i : K), FiniteDecision.Probability (lottery t i)) ∧ (∀ (t : T), FiniteDecision.mean (lottery t outside) u = u outsideConsequence) ∧ ∀ (t : T), (Quantal.winner fun (i : ↥(insert outside (menu t))) => FiniteDecision.mean (lottery t ↑i) u) = ⟨chosen t, ⋯⟩) ↔ ∃ (u : C → ℝ), restrictions known anchors best worst u ∧ ∀ (t : T), (∀ j ∈ insert outside (menu t), FiniteDecision.mean (lottery t j) u ≤ FiniteDecision.mean (lottery t (chosen t)) u) ∧ ∀ j ∈ insert outside (menu t), j < chosen t → FiniteDecision.mean (lottery t j) u < FiniteDecision.mean (lottery t (chosen t)) u

    RP1.10: evaluating the maximizing rule on the fixed objective-lottery design is equivalent to its linear weak and earlier-priority strict inequalities. The declared outside consequence is a pure lottery, and every known consequence restriction is retained on both sides.

    theorem MindFormal.LotteryRepresentation.subjective_test {S : Type u_1} {C : Type u_2} [Fintype S] {M K : ℕ} (acts : Fin M → Fin K → S → C) (chosen : Fin M → Fin K) (known : C → C → Prop) (anchors : Set (C × ℝ)) (best worst : Option C) :
    (∃ (p : S → ℝ) (u : C → ℝ), FiniteDecision.Probability p ∧ restrictions known anchors best worst u ∧ ∀ (m : Fin M), (Choice.subjective_search acts p u m).event = some (0, chosen m)) ↔ ∃ (p : S → ℝ) (u : C → ℝ), FiniteDecision.Probability p ∧ restrictions known anchors best worst u ∧ ∀ (m : Fin M) (j : Fin K), ∑ s : S, p s * u (acts m j s) ≤ ∑ s : S, p s * u (acts m (chosen m) s) ∧ (∑ s : S, p s * u (acts m j s) = ∑ s : S, p s * u (acts m (chosen m) s) → chosen m ≤ j)

    RP1.10's same constrained equivalence for one common subjective probability vector, rather than an objective option-wise design. The strict consequence and available-anchor restrictions are unchanged.

    theorem MindFormal.LotteryRepresentation.subjective_outside_test {S : Type u_1} {C : Type u_2} {T : Type u_3} {K : Type u_4} [Fintype S] [LinearOrder K] (acts : T → K → S → C) (menu : T → Finset K) (outside : K) (outsideConsequence : C) (chosen : T → K) (valid : ∀ (t : T), chosen t ∈ insert outside (menu t)) (outsideAct : ∀ (t : T) (s : S), acts t outside s = outsideConsequence) (known : C → C → Prop) (anchors : Set (C × ℝ)) (best worst : Option C) :
    (∃ (p : S → ℝ) (u : C → ℝ), FiniteDecision.Probability p ∧ restrictions known anchors best worst u ∧ (∀ (t : T), ∑ s : S, p s * u (acts t outside s) = u outsideConsequence) ∧ ∀ (t : T), (Quantal.winner fun (i : ↥(insert outside (menu t))) => ∑ s : S, p s * u (acts t (↑i) s)) = ⟨chosen t, ⋯⟩) ↔ ∃ (p : S → ℝ) (u : C → ℝ), FiniteDecision.Probability p ∧ restrictions known anchors best worst u ∧ ∀ (t : T), (∀ j ∈ insert outside (menu t), ∑ s : S, p s * u (acts t j s) ≤ ∑ s : S, p s * u (acts t (chosen t) s)) ∧ ∀ j ∈ insert outside (menu t), j < chosen t → ∑ s : S, p s * u (acts t j s) < ∑ s : S, p s * u (acts t (chosen t) s)

    The subjective RP1.10 test with the declared menu, outside consequence and priority. One common state probability is retained on both sides, as are all consequence restrictions. Outside expectation is derived.

    theorem MindFormal.LotteryRepresentation.mean_affine {C : Type u_1} [Fintype C] (u p : C → ℝ) (hp : FiniteDecision.Probability p) (a b : ℝ) :
    (FiniteDecision.mean p fun (c : C) => a * u c + b) = a * FiniteDecision.mean p u + b
    theorem MindFormal.LotteryRepresentation.affine_preserves {C : Type u_1} [Fintype C] (u p q : C → ℝ) (hp : FiniteDecision.Probability p) (hq : FiniteDecision.Probability q) (a b : ℝ) (ha : 0 < a) :
    ((FiniteDecision.mean p fun (c : C) => a * u c + b) ≤ FiniteDecision.mean q fun (c : C) => a * u c + b) ↔ FiniteDecision.mean p u ≤ FiniteDecision.mean q u

    Every positive affine change preserves every lottery comparison, providing the converse freedom on the complete domain as well.

    theorem MindFormal.LotteryRepresentation.anchor_calibration {C : Type u_1} [Fintype C] (u : C → ℝ) (pref : (C → ℝ) → (C → ℝ) → Prop) (best worst : C) (reprU : ∀ (p : C → ℝ), FiniteDecision.Probability p → ∀ (q : C → ℝ), FiniteDecision.Probability q → (pref p q ↔ FiniteDecision.mean p u ≤ FiniteDecision.mean q u)) (bounds : ∀ (c : C), u worst ≤ u c ∧ u c ≤ u best) (gap : u worst < u best) :
    ∃ (p : C → ℝ), (∀ (c : C), p c ∈ Set.Icc 0 1) ∧ ∀ (c : C), pref (RevealedChoice.pureLottery c) (RevealedChoice.anchorLottery best worst (p c)) ∧ pref (RevealedChoice.anchorLottery best worst (p c)) (RevealedChoice.pureLottery c)

    Every consequence's best/worst lottery calibration is derived from the first representation on the complete objective-lottery domain. The calibration is not supplied as a separate indifference premise.

    theorem MindFormal.LotteryRepresentation.affine_uniqueness {C : Type u_1} [Fintype C] (u v : C → ℝ) (pref : (C → ℝ) → (C → ℝ) → Prop) (reprU : ∀ (p : C → ℝ), FiniteDecision.Probability p → ∀ (q : C → ℝ), FiniteDecision.Probability q → (pref p q ↔ FiniteDecision.mean p u ≤ FiniteDecision.mean q u)) (reprV : ∀ (p : C → ℝ), FiniteDecision.Probability p → ∀ (q : C → ℝ), FiniteDecision.Probability q → (pref p q ↔ FiniteDecision.mean p v ≤ FiniteDecision.mean q v)) (nonconstant : ∃ (c : C) (d : C), u c < u d) :
    ∃ (a : ℝ) (b : ℝ), 0 < a ∧ ∀ (c : C), v c = a * u c + b

    08.28: two expected-utility representations of the same complete lottery preference have exactly positive-affine utility freedom. Finite consequence extrema are chosen from nonconstancy, and the per-consequence anchor calibration is proved above from the complete domain.

    theorem MindFormal.LotteryRepresentation.affine_characterization {C : Type u_1} [Fintype C] (u v : C → ℝ) (nonconstant : ∃ (c : C) (d : C), u c < u d) :
    (∀ (p : C → ℝ), FiniteDecision.Probability p → ∀ (q : C → ℝ), FiniteDecision.Probability q → (FiniteDecision.mean p u ≤ FiniteDecision.mean q u ↔ FiniteDecision.mean p v ≤ FiniteDecision.mean q v)) ↔ ∃ (a : ℝ) (b : ℝ), 0 < a ∧ ∀ (c : C), v c = a * u c + b

    Positive affine transformations are exactly the freedom in a nonconstant complete objective-lottery ordering. This contains both the derived anchor calibration necessity and the comparison converse.