Category of Rational Action Agents #
Category of RationalAction agents (fixed S, A types) with
score-proportionality as morphisms.
If agent₂'s scores are k times agent₁'s scores (for k > 0), Luce
scale invariance (RationalAction.scaleBy_policy) guarantees identical
policies. This makes the category a groupoid: every morphism is invertible
(with inverse constant 1/k).
The key downstream consumer is RSA/Structural/ModelMorphism.lean, where
proportional S1 scores imply identical L1 posteriors.
Bundled rational action agent: an object in the agent category.
- agent : RationalAction S A
The underlying rational action agent.
Instances For
A morphism between agents: a score proportionality witness.
AgentMor ra₁ ra₂ asserts that ra₂'s scores are k times ra₁'s scores
for some positive constant k. By Luce invariance, this guarantees that
both agents have identical policies.
- k : ℝ
The proportionality constant.
The constant is positive.
Scores are proportional: score₂(s,a) = k · score₁(s,a).
Instances For
Identity morphism: scores are 1 × themselves.
Equations
- Core.Categorical.AgentMor.id ra = { k := 1, k_pos := Core.Categorical.AgentMor.id._proof_1, proportional := ⋯ }
Instances For
Equations
- One or more equations did not get rendered due to their size.
Luce invariance: a morphism preserves the policy.
If scores are proportional, both agents assign the same probability to every action in every state.