EconCSLib.Foundation.Profile #
Compatibility shim for the older standalone Profile N S vocabulary.
The canonical profile abstraction for strategic games is now G.Profile in
StrategicGame.Basic, together with StrategicGame.deviate.
This file remains only to minimize breakage while Stage 2 is in progress. It should not be treated as the primary public interface.
@[reducible, inline]
abbrev
deviate
{N : Type u_1}
{S : N → Type u_2}
[DecidableEq N]
(σ : Profile N S)
(i : N)
(s' : S i)
:
Profile N S
Unilateral deviation: index i switches to s', all others keep their value.
This is Function.update with a game-theoretic name.
Equations
- deviate σ i s' = Function.update σ i s'
Instances For
@[simp]
theorem
Profile.deviate_self
{N : Type u_1}
{S : N → Type u_2}
[DecidableEq N]
(σ : Profile N S)
(i : N)
:
Deviating to the same value is the identity.
@[simp]
theorem
Profile.deviate_same
{N : Type u_1}
{S : N → Type u_2}
[DecidableEq N]
(σ : Profile N S)
(i : N)
(s' : S i)
:
At the deviated index, the profile returns the new value.
@[simp]
theorem
Profile.deviate_of_ne
{N : Type u_1}
{S : N → Type u_2}
[DecidableEq N]
(σ : Profile N S)
(i : N)
(s' : S i)
{j : N}
(h : j ≠ i)
:
At any other index, the profile is unchanged.