Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§3.1, p. 12 — each µ-top-difference D^µ is a semimetric on acyclic orders

Proved
PrefSemimetric.TopDiff.dmu_isSemimetric

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1preference-relationspseudometrictop-difference-semimetric

Let XXX be a nonempty finite set and μ\muμ a positive measure on 2X2^X2X. Then the μ\muμ-top-difference function

Dμ(≿,⊵)=∑S⊆Xμ(M(S,≿)△M(S,⊵))D^\mu(\succsim,\trianglerighteq)=\sum_{S\subseteq X}\mu\big(M(S,\succsim)\triangle M(S,\trianglerighteq)\big)Dμ(≿,⊵)=S⊆X∑​μ(M(S,≿)△M(S,⊵))

is a semimetric on the set A(X)\mathcal A(X)A(X) of acyclic orders on XXX: for all acyclic orders ≿,⊵,⊵′\succsim,\trianglerighteq,\unrhd'≿,⊵,⊵′,

  1. Dμ(≿,⊵)≥0D^\mu(\succsim,\trianglerighteq)\ge 0Dμ(≿,⊵)≥0;
  2. Dμ(≿,≿)=0D^\mu(\succsim,\succsim)=0Dμ(≿,≿)=0;
  3. Dμ(≿,⊵)=Dμ(⊵,≿)D^\mu(\succsim,\trianglerighteq)=D^\mu(\trianglerighteq,\succsim)Dμ(≿,⊵)=Dμ(⊵,≿);
  4. Dμ(≿,⊵′)≤Dμ(≿,⊵)+Dμ(⊵,⊵′)D^\mu(\succsim,\unrhd')\le D^\mu(\succsim,\trianglerighteq)+D^\mu(\trianglerighteq,\unrhd')Dμ(≿,⊵′)≤Dμ(≿,⊵)+Dμ(⊵,⊵′).

This makes DμD^\muDμ an admissible candidate in Theorem 3.1, which characterizes exactly these semimetrics.

Formalization Note μ\muμ is given by point weights w≥0w\ge0w≥0, μ(T)=∑x∈Tw(x)\mu(T)=\sum_{x\in T}w(x)μ(T)=∑x∈T​w(x). "Semimetric" is read as a pseudometric with values in [0,∞)[0,\infty)[0,∞) (the conjuncts above), on relations satisfying IsAcyclicOrder.

Preamble
import Mathlib
import Definitions.Def_PrefSemimetric_TopDiff_Model
Formal statement
namespace PrefSemimetric.TopDiff

theorem dmu_isSemimetric {X : Type*} [Fintype X] [DecidableEq X] [Nonempty X]
    (w : X → ℝ) (hw : ∀ x, 0 ≤ w x) :
    IsSemimetric (Dmu w) := by sorry

end PrefSemimetric.TopDiff
Source
Nishimura & Ok, A Class of Dissimilarity Semimetrics for Preference Relations, arXiv:2203.04418v1, p. 12, §3.1 ('That each Dµ is indeed a semimetric on A(X) is straightforward.')
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me