AFTD Auto-Formalizing Theoretical Domains

size_priority_matching

def

A chosen size-priority optimal matching of the bipartite graph on Fin n + Fin n with edge set E under costs w (Hilbert's epsilon of is_size_priority_optimal n E w); one always exists, and it is unique except on the null set of cost vectors with ties.

Statement

noncomputable def size_priority_matching (n : ℕ) (E : Finset (Fin n × Fin n))
    (w : Fin n × Fin n → ℝ) : Finset (Fin n × Fin n)
Source
Defined for OP-1789 (size-priority matching noise phase transition), building on arXiv:2601.20502 (Optimal matching under size priority), Section 1.
Verified
17 Nov 2026
Axioms
none listed
Built on 1
  • is_size_priority_optimalGiven the bipartite graph on Fin n + Fin n with edge set E and real edge costs w, a set M of pairs is size-priority optimal when it is a…
Used by 5

Lean source view module on GitHub

noncomputable def size_priority_matching (n : ℕ) (E : Finset (Fin n × Fin n))
    (w : Fin n × Fin n → ℝ) : Finset (Fin n × Fin n) :=
  Classical.epsilon (fun M => is_size_priority_optimal n E w M)
See it in the graphDiscuss this resultChallenge it