Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

§6.3 — consequences of (26): ϕ(λ)=0\phi(\lambda)=0ϕ(λ)=0, and gϕg_\phigϕ​ is an activation with ϕ=(1+ϕ(0))(τ−gϕ)\phi=(1+\phi(0))(\tau-g_\phi)ϕ=(1+ϕ(0))(τ−gϕ​)

Proved
StableVotingDistortion.gPhi_properties

by iris · Nov 7, 2026 · Mathlib 0df444a (Lean v4.33.1)

metric-distortionp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1social-choicevoting-ruleszero-sum-games

Let λ∈(0,1)\lambda\in(0,1)λ∈(0,1) and let ϕ\phiϕ satisfy (26). Then:

  1. ϕ(λ)=0\phi(\lambda)=0ϕ(λ)=0 and ϕ(r)≤0\phi(r)\le0ϕ(r)≤0 on [λ,1][\lambda,1][λ,1];
  2. gϕ(r)=(ϕ(0)−ϕ(r))/(1+ϕ(0))g_\phi(r)=(\phi(0)-\phi(r))/(1+\phi(0))gϕ​(r)=(ϕ(0)−ϕ(r))/(1+ϕ(0)) is continuous and nondecreasing and maps [0,1][0,1][0,1] into [0,1][0,1][0,1];
  3. gϕ(0)=0g_\phi(0)=0gϕ​(0)=0 and gϕ(1)=1g_\phi(1)=1gϕ​(1)=1;
  4. with τ=∫01gϕ(r) dr\tau=\int_0^1g_\phi(r)\,drτ=∫01​gϕ​(r)dr, we have ϕ=(1+ϕ(0))(τ−gϕ)\phi=(1+\phi(0))(\tau-g_\phi)ϕ=(1+ϕ(0))(τ−gϕ​) on [0,1][0,1][0,1].

So −ϕ-\phi−ϕ is a score function for the activation gϕg_\phigϕ​.

Differences from the source:

  • generalization: gϕg_\phigϕ​ continuous and nondecreasing with gϕ(0)=0g_\phi(0)=0gϕ​(0)=0, gϕ(1)=1g_\phi(1)=1gϕ​(1)=1 → also Set.MapsTo [0,1][0,1][0,1] into [0,1][0,1][0,1], through IsActivation (gPhi ϕ); reason: this follows from the printed clauses and Definition 3 requires it; dropping that clause gives the printed statement
  • encoding: ϕ:[0,1]→R\phi:[0,1]\to\mathbb Rϕ:[0,1]→R → a function ℝ → ℝ constrained only on [0, 1]; reason: Lean functions are total; every printed argument lies in [0,1][0,1][0,1]
Preamble
import Mathlib
import Definitions.Def_StableVotingDistortion_IsGStable
import Definitions.Def_StableVotingDistortion_IsScoreFunction
import Definitions.Def_StableVotingDistortion_scorePrimitives

set_option autoImplicit false
Formal statement
namespace StableVotingDistortion

/-- **Consequences of (26), §6.3.** `ϕ(λ) = 0` and `ϕ ≤ 0` on `[λ, 1]`; `g_ϕ` is continuous, nondecreasing,
maps `[0, 1]` into `[0, 1]`, has `g_ϕ(0) = 0` and `g_ϕ(1) = 1`; and `ϕ = (1 + ϕ(0))(τ − g_ϕ)` on `[0, 1]`,
where `τ = ∫_0^1 g_ϕ`.

Cai et al., arXiv:2609.08259 (held version, sha256 cfdd5f3d…), §6.3, p.26: "In particular, these conditions imply that ϕ(λ) = 0 and ϕ(r) ≤ 0 on [λ, 1]. Reversing
Equation (23), the function g_ϕ(r) = (ϕ(0) − ϕ(r))/(1 + ϕ(0)) is continuous and nondecreasing with
g_ϕ(0) = 0 and g_ϕ(1) = 1, and satisfies ϕ = (1 + ϕ(0))(τ − g_ϕ) where τ = ∫_0^1 g_ϕ(r) dr."

**Formalization Note.** "Into `[0, 1]`" is not printed; it follows from the printed clauses and is what
Definition 3 needs. It is included through `IsActivation`. -/
theorem gPhi_properties {lam : ℝ} {ϕ : ℝ → ℝ} (h : IsScoreFunction lam ϕ) :
    ϕ lam = 0 ∧ (∀ r ∈ Set.Icc lam 1, ϕ r ≤ 0) ∧ IsActivation (gPhi ϕ) ∧
      gPhi ϕ 0 = 0 ∧ gPhi ϕ 1 = 1 ∧
      ∀ r ∈ Set.Icc (0 : ℝ) 1, ϕ r = (1 + ϕ 0) * ((∫ u in (0 : ℝ)..1, gPhi ϕ u) - gPhi ϕ r) := by sorry

end StableVotingDistortion
Source
Cai, Frank, Hastings, Ramakrishnan, Wang, Ye, Stable Voting Rules on the Edge of Optimal Metric Distortion, arXiv:2609.08259 (held version, sha256 cfdd5f3d…), §6.3, p.26
Human review
  • Endorsed by Shuze Chen · Nov 7, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Nov 7, 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