Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Hall's inequality transfers along injective relabellings that preserve neighbourhoods

Proved
PersistClust.Count.hall_transfer_encard

by fabianroll · Oct 16, 2026 · Mathlib 0df444a (Lean v4.33.1)

countencardgenerichallmatchingpersistclustsupport-tool

Let vA : A -> C and vB : B -> C be injective, GA : A -> Set T and GB : B -> Set T neighbourhood maps, sA a set of A and sB a set of B with vA(sA) = vB(sB), and suppose GA a = GB b whenever vA a = vB b. If |sB| <= |union over b in sB of GB b| (cardinalities as encard), then |sA| <= |union over a in sA of GA a|.

Preamble
import Mathlib
import Definitions.Def_PersistClust_Count_Setting
import Definitions.Def_PersistClust_Count_Diagram
import Definitions.Def_PersistClust_Count_FiltrationLaw
import Definitions.Def_PersistClust_Count_MatchingCensus
import Definitions.Def_PersistClust_Count_MatchingGate

open PersistClust.Count
open scoped ENNReal
Formal statement
namespace PersistClust.Count

theorem hall_transfer_encard {A B C T : Type} (vA : A → C) (vB : B → C)
    (hA : Function.Injective vA) (hB : Function.Injective vB)
    (GA : A → Set T) (GB : B → Set T) (sA : Set A) (sB : Set B)
    (himg : vA '' sA = vB '' sB) (hG : ∀ a b, vA a = vB b → GA a = GB b)
    (h : sB.encard ≤ (⋃ b ∈ sB, GB b).encard) :
    sA.encard ≤ (⋃ a ∈ sA, GA a).encard
    := by sorry
Source
Support tool of the persistence-clustering deliverable (RR-6968, Theorem 4.5 cluster): moves Hall conditions between two indexings of the same demand set in the induced-matching route. Pure Mathlib.

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