Documentation

Linglib.Core.Agent.PsychophysicalChoice

Psychophysical Choice Bridge @cite{luce-1959} #

Connects three independently formalized modules that all operate on Luce ratio scales:

The bridge connects them via four results:

  1. Stevens choiceProb = pairwiseProb: Stevens' power-law choice probability is literally pairwiseProb on the power scale v(s) = sⁿ.
  2. Weber fraction from JND: The JND threshold π translates to a just-noticeable intensity ratio (π/(1-π))^(1/n), yielding a Weber-like law: Δs/s = (π/(1-π))^(1/n) - 1.
  3. Trace = intensity ordering: The trace ordering from §1.G on the power scale recovers the physical intensity ordering.
  4. RSA utility = two-dimensional psychophysics: RSA's multiplicative score informativity^α · exp(-α·cost) is a two-factor psychophysical scale in the sense of §2.C's dimension independence.
theorem Core.stevens_eq_pairwiseProb (σ : StevensScale) (s₁ s₂ : ) :
σ.choiceProb s₁ s₂ = pairwiseProb (fun (x : ) => x ^ σ.n) s₁ s₂

Stevens' power-law choice probability is literally the pairwise choice probability from §1.G with scale function v(s) = sⁿ.

StevensScale.choiceProb σ s₁ s₂ = s₁ⁿ / (s₁ⁿ + s₂ⁿ) pairwiseProb (· ^ σ.n) s₁ s₂ = s₁ⁿ / (s₁ⁿ + s₂ⁿ)

This identity hooks Stevens scales into the entire §1.G infrastructure: JND relations, semiorder structure, and the trace ordering all apply directly to psychophysical scales.

theorem Core.stevens_jndL_iff (σ : StevensScale) (thr s₁ s₂ : ) :
jndL (fun (x : ) => x ^ σ.n) thr s₁ s₂ thr < σ.choiceProb s₁ s₂

The JND "discriminably preferred" relation on a Stevens scale: stimulus s₁ is discriminably preferred to s₂ at threshold π iff P(s₁, s₂) = s₁ⁿ/(s₁ⁿ+s₂ⁿ) > π.

This is just jndL from §1.G applied to the power scale.

theorem Core.stevens_jndI_iff (σ : StevensScale) (thr s₁ s₂ : ) :
jndI (fun (x : ) => x ^ σ.n) thr s₁ s₂ 1 - thr σ.choiceProb s₁ s₂ σ.choiceProb s₁ s₂ thr

The JND "indistinguishable" relation on a Stevens scale: stimuli are indistinguishable iff 1-π ≤ P(s₁,s₂) ≤ π.

theorem Core.stevens_jndL_intensity_ratio (σ : StevensScale) (thr : ) (hthr_lower : 1 / 2 < thr) (hthr_upper : thr < 1) {s₁ s₂ : } (h₁ : 0 < s₁) (h₂ : 0 < s₂) (hL : jndL (fun (x : ) => x ^ σ.n) thr s₁ s₂) :
(thr / (1 - thr)) ^ (1 / σ.n) < s₁ / s₂

Weber-like ratio from JND: if s₁ is discriminably preferred to s₂ at threshold π under a Stevens scale with exponent n, then the intensity ratio s₁/s₂ exceeds (π/(1-π))^(1/n).

This is the psychophysical content of the JND: the just-noticeable intensity ratio (π/(1-π))^(1/n) is the Weber fraction + 1.

For n = 1 (linear scale): JND ratio = π/(1-π) For large n: JND ratio → 1 (finer discrimination) For small n: JND ratio → ∞ (coarser discrimination)

theorem Core.stevens_trace_iff_intensity (σ : StevensScale) {s₁ s₂ : } (h₁ : 0 < s₁) (h₂ : 0 < s₂) :
(∀ (z : ), 0 < zpairwiseProb (fun (x : ) => x ^ σ.n) s₂ z pairwiseProb (fun (x : ) => x ^ σ.n) s₁ z) s₂ s₁

The trace ordering from §1.G on the Stevens power scale recovers the physical intensity ordering: s₁ ≥_T s₂ iff s₁ ≥ s₂.

For v(s) = sⁿ with n > 0 and positive stimuli, s₂ⁿ ≤ s₁ⁿ ↔ s₂ ≤ s₁. The trace extracts pairwise dominance over all comparisons, but for a monotone power scale this reduces to the physical ordering.

The trace is restricted to positive comparison stimuli because rpow on negative bases is defined via complex exponentiation, so z ^ n for z < 0 can be negative (e.g., rpow (-1) 1 = -1), violating the positivity assumptions that underlie the choice-probability model. Stimulus intensities are inherently positive reals.

RSA's multiplicative score factoring is an instance of multidimensional psychophysics (§2.C).

RSAUtilityDecomposition.score = informativity^α · exp(-α · cost)

This is a two-factor product:

  • Factor 1: informativity^α — a Stevens power law with exponent α
  • Factor 2: exp(-α · cost) — a Fechner exponential with rate

The multiplicative independence axiom from §2.C says that the relative contribution of informativity to choice probability is independent of cost, and vice versa. This is a substantive empirical prediction of RSA, not a modeling convenience — it says speakers' sensitivity to informativity doesn't depend on utterance cost.

theorem Core.rsa_informativity_is_stevens (d : RSAUtilityDecomposition) (hα_pos : 0 < d.α) :
d.informativity ^ d.α = { n := d.α, k := 1, hn_pos := hα_pos, hk_pos := }.psi d.informativity

The RSA informativity factor is a Stevens power law.

informativity^α = StevensScale.psi ⟨α, 1,...⟩ informativity (with coefficient k = 1).

The full RSA decomposition is a two-dimensional psychophysical scale: log(score) = α · log(informativity) + (-α) · cost.

In log-space, each dimension contributes additively with its own "exponent" (α for informativity, -α for cost). This additive structure in log-space is exactly Luce's Chapter 3 decomposition viewed through the Stevens-Fechner equivalence.