Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1, p. 20 — Shapley value equals unique-uniform attribution

Proved
ShapleyAttribution.UniqueUniform.proposition_1

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

attributionmarkov-chainp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1shapley-value

For a valid absorbing Markov attribution model M\mathcal MM and a player r=(s,a)r=(s,a)r=(s,a), let πrShap\pi_r^{\mathrm{Shap}}πrShap​ be the Shapley value of the coalition conversion game. On a converting path P\mathcal PP, let u(P)u(\mathcal P)u(P) count its distinct state-action pairs, and let wr(P)=1/u(P)w_r(\mathcal P)=1/u(\mathcal P)wr​(P)=1/u(P) if rrr appears and zero otherwise. Then

πrShap=EP∼M[wr(P)].\pi_r^{\mathrm{Shap}}=\mathbb E_{\mathcal P\sim\mathcal M}[w_r(\mathcal P)].πrShap​=EP∼M​[wr​(P)].

The identity replaces an exponential coalition sum with an expectation of a path-wise attribution weight. Formalization Note The expectation is a real sum over finite converting paths, so nonconverting paths contribute zero.

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

theorem proposition_1 {m n : ℕ} (M : Model m n)
    (hM : M.Valid) (hA : M.Absorbing) (r : Fin m × Fin n) :
    M.shap r = M.pathExp (wUU 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. 20, Proposition 1
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