The set consists of the characteristic vectors of pedigrees, which are combinatorial encodings in one-to-one correspondence with Hamiltonian cycles. For and , the Membership Problem for the Pedigree Polytope (M3P) asks whether a given vector belongs to . This paper gives a complete account, with the full proof statements and machine-verified Lean~4 certificates, of the necessary and sufficient (\NS) condition established in Chapter~5 of \emph{Pedigree Polytopes: New Insights on Computational Complexity of Combinatorial Optimisation Problems} (Arthanari, 2023): membership of in is characterised by the feasibility, at every stage , of a recursively constructed layered network, together with, when needed, a multicommodity flow problem achieving its maximum possible flow . We present the construction, the \NS{} condition itself, and the proofs of this characterisation, together with the resulting polynomial-time algorithm for M3P. Both directions of the \NS{} condition — sufficiency and necessity (the multicommodity-flow feasibility argument of the book’s Chapter~5) — are machine-verified in Lean~4/Mathlib4 with zero unresolved s in either dependency chain. The \NS{} characterisation therefore follows directly from the two machine-checked implications. The complete Lean~4 project is publicly available. A companion introductory article (arXiv:2507.09069) presents the same material for a broader readership, without the Lean~4 verification; the present paper adds full statements, proof sketches, and the complete machine-checked certificates.

生成讲解博客的中文版本

生成AI智能校验的中文版本