Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

The effect EεE_\varepsilonEε​ and the two-by-two group structure

Definition
FairFacilityLoc_Supplement_epsilonEffect

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

algorithmic-game-theoryfacility-locationmechanism-designp2o-gran-per-chapterp2o-plan-paperp2o-v1

For ε≥0\varepsilon\ge0ε≥0, define the two-member effect

Eε(s,t)=min⁡{s,t}+εmax⁡{s,t}1+ε.E_\varepsilon(s,t)=\frac{\min\{s,t\}+\varepsilon\max\{s,t\}}{1+\varepsilon}.Eε​(s,t)=1+εmin{s,t}+εmax{s,t}​.

The fixed structure used in Lemma E.2 and Theorem E.3 has four agents partitioned into two groups of two agents, with both groups using this same effect.

This family makes the farther member contribute only an ε\varepsilonε fraction of the weight of the nearer-member term and supplies the explicit instances in the superlinear impossibility theorem.

Formalization Note The two inputs are indexed by Fin 2; the two groups and four agents are also 0-based. The theorem separately assumes 0<ε<10<\varepsilon<10<ε<1 and establishes the required group-effect and superlinearity properties.

Definition code
import Mathlib
import Definitions.Def_FairFacilityLoc_Supplement_GeneralGroupStructure

open scoped NNReal

namespace FairFacilityLoc.Supplement

set_option autoImplicit false

/-- The two-member effect
`E_ε(s,t) = (min{s,t} + ε max{s,t}) / (1+ε)` from (E.3)
(Yan–Zhou, manuscript, sha256 642a1268…, Theorem E.3, p.91, PDF p.93). -/
noncomputable def epsilonEffect (ε : ℝ≥0) (u : Fin 2 → ℝ≥0) : ℝ≥0 :=
  (min (u 0) (u 1) + ε * max (u 0) (u 1)) / (1 + ε)

/-- Agent `k` of group `j` in the fixed two-disjoint-two-agent structure of Lemma E.2. -/
def pairAgent (j k : Fin 2) : Fin 4 :=
  ⟨2 * j.val + k.val, by omega⟩

/-- The two agents belonging to group `j` in the fixed structure of Lemma E.2. -/
def twoByTwoGroup (j : Fin 2) : Finset (Fin 4) :=
  Finset.univ.filter fun i => i.val / 2 = j.val

private theorem pairAgent_mem (j k : Fin 2) : pairAgent j k ∈ twoByTwoGroup j := by
  simp [pairAgent, twoByTwoGroup]
  omega

/-- The fixed group structure of Lemma E.2: two disjoint groups of two agents, both using
`E_ε` (Yan–Zhou, manuscript, sha256 642a1268…, Lemma E.2 and Theorem E.3, pp.90–91,
PDF pp.92–93). -/
noncomputable def epsilonTwoByTwo (ε : ℝ≥0) : GeneralGroupStructure 4 2 where
  G := twoByTwoGroup
  E := fun j u => epsilonEffect ε (fun k => u ⟨pairAgent j k, pairAgent_mem j k⟩)
  m_pos := by decide
  nonempty := fun j => ⟨pairAgent j 0, pairAgent_mem j 0⟩
  cover := by
    intro i
    let j : Fin 2 := ⟨i.val / 2, by omega⟩
    refine ⟨j, ?_⟩
    simp [twoByTwoGroup, j]

end FairFacilityLoc.Supplement
Source
Yan, Zhou, Fair and Strategyproof Facility Location in Euclidean Space, manuscript (sha256 642a1268…), Lemma E.2 and Theorem E.3, pp.90–91 (PDF pp.92–93), equation (E.3)

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