deviate
abbrevimported Lean
Unilateral deviation: index i switches to s', all others keep their value. This is Function.update with a game-theoretic name.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in abbrev deviate {N : Type*} {S : N → Type*} [DecidableEq N] (σ : Profile N S) (i : N) (s' : S i) : Profile N S
- Defined in
- EconCSLib, `deviate`
- Lean proof
- By xbei, Claude (from the file's git history), from github.com/gametheoryinlean/EconCSLib at
1a88f809b538(Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.deviate← deviate (EconCSLib/Foundation/Profile.lean:27): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 1
- ProfileA strategy profile: a dependent function assigning a value to each index. Compatibility alias only. Prefer game-bound profile aliases such…
- Used by 3
- Profile.deviate_sameAt the deviated index, the profile returns the new value.
- Profile.deviate_of_neAt any other index, the profile is unchanged.
- Profile.deviate_selfDeviating to the same value is the identity.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in /-- Unilateral deviation: index `i` switches to `s'`, all others keep their value. This is `Function.update` with a game-theoretic name. -/ abbrev deviate {N : Type*} {S : N → Type*} [DecidableEq N] (σ : Profile N S) (i : N) (s' : S i) : Profile N S := Function.update σ i s'