Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

(6), p. 16 — CASV is a difference of Shapley values

Proved
ShapleyAttribution.UniqueUniform.eq_6

by mikedeng1 · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

attributioncounterfactualp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1shapley-value

Let M\mathcal MM be the Markov attribution model and r=(s,a)r=(s,a)r=(s,a) a state-action player. Let Mr\mathcal M_rMr​ retain player rrr but replace its transition row by the no-ad row. Then

ψrShap(M)=πrShap(M)−πrShap(Mr).\psi_r^{\mathrm{Shap}}(\mathcal M)=\pi_r^{\mathrm{Shap}}(\mathcal M)-\pi_r^{\mathrm{Shap}}(\mathcal M_r).ψrShap​(M)=πrShap​(M)−πrShap​(Mr​).

This identifies CASV as a difference of two ordinary coalition-game Shapley values. Formalization Note The identity is algebraic and requires no stochastic or absorption hypotheses.

Preamble
import Mathlib
import Definitions.Def_ShapleyAttribution_UniqueUniform_Model
Formal statement
namespace ShapleyAttribution.UniqueUniform

theorem eq_6 {m n : ℕ} (M : Model m n) (r : Fin m × Fin n) :
    M.casv r = M.shap r - (M.cfModel r).shap r := by sorry

end ShapleyAttribution.UniqueUniform
Source
Singal, Besbes, Desir, Goyal & Iyengar, Shapley Meets Uniform: An Axiomatic Framework for Attribution in Online Advertising, SSRN 3392721 (version of August 21, 2021), p. 16, display (6)
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 20, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me