---
title: Membership Problem for Pedigree Polytope (M3P)
url: https://www.emergentmind.com/topics/membership-problem-for-pedigree-polytope-m3p
type: topic
---

# Membership Problem for Pedigree Polytope (M3P)

Searching arXiv for the cited pedigree polytope and M3P papers to ground the article.
The Membership Problem for Pedigree Polytope, usually abbreviated **M3P**, is the decision problem of determining whether a rational point \(X\) belongs to the convex hull of all pedigree characteristic vectors on \([n]\). In the formulation studied in "Lean 4 Machine-Verified Proof of P = NP via the Pedigree Polytope Membership Problem" [2606.03194], the input is \(X\in\mathbb{Q}^{\binom{n}{3}}\), and the question is whether \(X\in\mathrm{conv}(P_n)\), where \(P_n\) is the set of all pedigrees. A pedigree is a structured encoding of a Hamiltonian cycle construction in \(K_n\), expressed through a sequence of triangles indexed by insertion stages. The problem is positioned as a polyhedral membership problem for a travelling-salesman-related extended formulation, and the cited work presents a recursively constructed layered-network and multicommodity-flow characterization that it states is necessary and sufficient for membership [2606.03194].

## 1. Definition, ambient space, and polyhedral setting

For \(n\ge 4\), let \(V_n=\{1,\dots,n\}\), and let \(K_n\) be the complete graph on \(V_n\). The triangle layers are defined by
\[
\Delta^k=\{\{i,j,k\}:1\le i<j<k\},\qquad \Delta=\bigcup_{k=3}^n \Delta^k.
\]
Triangles in \(\Delta^k\) are the layer-\(k\) triangles. The base triangle is \(\{1,2,3\}\). In the coordinate model used for M3P, a point \(X\) has one coordinate \(x_{ijk}\) for each triangle \(u=\{i,j,k\}\in\Delta^k\). For technical convenience, the coordinate of the base triangle is often omitted, so the working space is \(\mathbb{Q}^{\tau_n}\) with
\[
\tau_n=\binom{n}{3}-1.
\]
The pedigree polytope is the convex hull of the characteristic vectors of all pedigrees on \([n]\), and its dimension is stated as
\[
\dim(\mathrm{conv}(P_n))=\tau_n-(n-3)
\]
[2606.03194].

The decision problem is:
\[
\text{Input: }n\ge 4,\ X\in\mathbb{Q}^{\binom{n}{3}};\qquad
\text{Question: Is }X\in\mathrm{conv}(P_n)?
\]
This formulation is distinct from the larger **MI-relaxation** polyhedron \(P_{MI}(n)\), defined by layer-sum, edge-capacity, generator, and nonnegativity constraints. The cited text states that any point in \(\mathrm{conv}(P_n)\) lies in \(P_{MI}(n)\), but not conversely [2606.03194]. Thus M3P is the problem of recognizing precisely when a fractional triangle-based insertion pattern is realizable as a convex combination of actual pedigrees rather than merely as a feasible point of the relaxation.

A related 2025 presentation emphasizes the same problem statement and calls it the **membership problem for pedigree polytopes**, denoted \(M3P\), again asking whether a given \(X\) belongs to \(\operatorname{conv}(P_n)\) [2507.09069]. Within that presentation, the stem structure of pedigrees is singled out as the basis for checking membership sequentially in \(k\).

## 2. Pedigrees as encodings of Hamiltonian-cycle construction

The underlying combinatorial object is built from **multistage insertion**. One starts with the \(3\)-cycle \(1-2-3-1\). For each \(k=4,\dots,n\), city \(k\) is inserted into some edge \(\{i_k,j_k\}\) of the current tour, replacing \(\{i_k,j_k\}\) by \(\{i_k,k\}\) and \(\{k,j_k\}\). This insertion history is encoded by the triangle \(\{i_k,j_k,k\}\), whose common edge is \(\{i_k,j_k\}\) [2606.03194].

A pedigree on \(n\) is the sequence
\[
P=\bigl(\{1,2,3\},\{i_4,j_4,4\},\dots,\{i_n,j_n,n\}\bigr)
\]
subject to two conditions: each triangle \(\{i_k,j_k,k\}\) has a generator in the earlier sequence, and the common edges \(\{i_4,j_4\},\dots,\{i_n,j_n\}\) are all distinct [2606.03194]. The same source states that every pedigree corresponds to a unique Hamiltonian tour of \(K_n\), and conversely every tour can be generated by a pedigree. In this sense, pedigrees parameterize Hamiltonian cycles in triangle space.

Each pedigree \(P\) determines a \(0\)–\(1\) characteristic vector \(X^P\), indexed by triangles \(u\in\Delta\), with \(X^P_u=1\) if \(u\) occurs in \(P\) and \(0\) otherwise. The set of all such vectors is denoted \(P_n\), and \(\mathrm{conv}(P_n)\) is their convex hull [2606.03194].

The 2025 exposition states the **stem property** in two parallel forms: if \(P\) is a pedigree for \(n\), then its prefix \(P/k\) is a pedigree for \(k\); and if \(X\in\operatorname{conv}(P_n)\), then \(X/k\in\operatorname{conv}(P_k)\) for \(k\in[4,n-1]\) [2507.09069]. This recursive truncation principle is central to the later layered-network construction. A plausible implication is that M3P is naturally organized as a stagewise recognition problem rather than a single flat polyhedral test.

## 3. Layered networks, rigid pedigrees, and the multicommodity-flow criterion

The core construction associates to a point \(X\) a recursively defined **layered network**
\[
(N_k,R_k,\mu),
\]
where \(N_k\) is a layered directed network, \(R_k\) is a set of rigid pedigrees, and \(\mu_P>0\) are their weights [2606.03194]. For each layer \(k\ge 4\), nodes correspond to edges of \(K_k\) with positive layer capacity \(x_k(e)\); the notation \([k:e]\) denotes the node representing edge \(e\) at layer \(k\), and its node capacity is \(\bar x([k:e])=x_k(e)\). Arcs between successive layers are allowed when the corresponding edges satisfy the generator relationship.

For \(k>4\), the network is defined recursively through **links** \(L=(u,v)\), where \(u=\{r,s,k\}\) and \(v=\{i,j,k+1\}\). For each link one forms a **restricted network** \(N_{k-1}(L)\) by deleting nodes incompatible with passing through the chosen tail and head while respecting generator structure and the prohibition on reusing an insertion edge. The **link capacity**
\[
C(L)=\text{max-flow in }N_{k-1}(L)
\]
is then computed. These capacities feed a **Forbidden Arc Transportation** problem \(F_k\), whose feasible solutions determine how much flow can traverse each link. Applying the **Frozen Flow Finding** algorithm identifies rigid arcs, which induce rigid pedigrees in \(R_k\) and update the residual node capacities [2606.03194].

Once \((N_k,R_k,\mu)\) is defined, the decisive object is the multicommodity-flow linear program \(\mathrm{MCF}(k)\). Each non-base arc of \(N_k\) is assigned a commodity. Commodity \(s\) is attached to a unique designating arc \(a_s\), and its flow is required to stay within the corresponding restricted network, obey flow conservation at internal nodes, and contribute to the total flow decomposition
\[
z=\sum_{s\in\mathcal{S}_k} v^s.
\]
The maximum available nonrigid mass is
\[
z_{\max}=1-\sum_{P\in R_{k-1}} \mu_P.
\]
The central theorem states that for \(n>5\), with \(X\in P_{MI}(n)\) and \(X/(n-1)\in\mathrm{conv}(P_{n-1})\),
\[
X\in\mathrm{conv}(P_n)
\iff
\operatorname{opt\_val}(\mathrm{MCF}(n-1;X))=z_{\max}
\]
[2606.03194].

In the same source, the sufficiency direction is the part formally verified in Lean: if \(\mathrm{MCF}(k)\) is feasible with optimal value \(z_{\max}\), then one obtains a convex witness showing \(X/(k+1)\in\mathrm{conv}(P_{k+1})\). The necessity direction is described there as proved in the accompanying book but not yet fully formalized in Lean [2606.03194]. The 2025 exposition presents both directions as the crucial logical equivalence for M3P [2507.09069].

## 4. Algorithmic framework and complexity claims

The algorithmic procedure described for M3P has three main stages. First, one checks feasibility of the MI-relaxation \(X\in P_{MI}(n)\). Second, for \(k=4,\dots,n-1\), one builds the layered network recursively by solving each \(F_k\), constructing restricted networks \(N_{k-1}(L)\), computing link capacities \(C(L)\), extracting rigid pedigrees, and updating residual capacities. Third, one solves \(\mathrm{MCF}(k)\), and at the final stage checks whether the optimum satisfies \(z^*=z_{\max}\) [2606.03194].

The same source gives explicit asymptotic size bounds. Restricted networks \(N_{k-1}(L)\) have at most \((k-5)\tau_k=O(k^4)\) nodes and at most \(k^2\tau_k=O(k^5)\) arcs. Max-flow in such a network is stated as solvable in \(O(k^9)\) steps, and because there are at most \(O(k^4)\) links per iteration, computing all link capacities costs \(O(k^{13})\) per iteration. Each transportation problem \(F_k\) is said to have \(O(k^3)\) origins and \(O(k^2)\) destinations, with strongly polynomial algorithms giving \(O(k^8)\) per iteration, while the Frozen Flow Finding algorithm costs \(O(k^5)\) per iteration. The dominant cost is therefore stated to be \(O(k^{13})\), and summing over \(k\) yields
\[
O\!\left(\sum_{k=4}^{n-1} k^{13}\right)=O(n^{14})
\]
[2606.03194].

The multicommodity-flow problem is described as a **combinatorial LP** whose constraint matrix entries lie in \(\{0,\pm1\}\), with dimension \(O(n^{14})\). Invoking Tardos’s strongly polynomial algorithm for combinatorial linear programs, the cited work concludes that checking whether \(\mathrm{MCF}(n-1)\) attains \(z_{\max}\) is strongly polynomial in the dimension of the matrix involved, and therefore that **M3P is solvable in strongly polynomial time** [2606.03194]. The 2025 article likewise presents the framework as a strongly polynomial-time method and ties the claim to Tardos’s theorem [2507.09069].

A separate structural ingredient used in the 2025 exposition is a bound on the cardinality of the rigid-pedigree set \(R_{k-1}\), derived from the claim that rigid pedigrees are mutually adjacent in \(\mathrm{conv}(P_k)\); the resulting estimate \(|R_{k-1}|\le \tau_k-k+4\) is used to keep the state size polynomial [2507.09069]. This suggests that the geometry of the pedigree polytope is built into the complexity argument, not only the flow formulations.

## 5. Formalization in Lean 4

A distinctive feature of the 2026 paper is its emphasis on machine verification in **Lean 4/Mathlib4**. The abstract states that the proofs leading to the result are fully machine-verified in Lean 4, with zero unresolved `sorry`s in the main proof chain, and that the complete project consists of 36 Lean 4 files with 2968/2968 build targets clean [2606.03194].

The formalization covers the pedigree data structures, the layered network, the multicommodity-flow feasibility predicate, and the sufficiency theorem. The source gives the Lean structure
```lean
structure LayeredNetwork (n k : N) where
  nodes  : Finset Triple
  edges  : List NetworkArc
  rigid  : List RigidPedigree
  mu     : RigidPedigree -> Q
```
and states that `MCFFeasible n k net X` encodes all 29 constraints of \(\mathrm{MCF}(k)\) [2606.03194]. The formalized sufficiency theorem is presented as
```lean
theorem sufficiency {n k : N} (hk : 4 <= k) (hkn : k + 1 <= n)
  (X : LayeredPoint n) (net : LayeredNetwork n k)
  (hzmax : 0 < zMax net) (mcf : MCFFeasible n k net X) :
  Nonempty (ConvexWitness n (k+1) X)
```
which is described as asserting that if \(\mathrm{MCF}(k)\) is feasible with full \(z_{\max}\), then there exists a convex combination of pedigrees on \([k+1]\) realizing \(X/(k+1)\) [2606.03194].

The same source explicitly distinguishes what is and is not formalized. It states that the Lean formal verification covers the sufficiency of \(\mathrm{MCF}(n-1)\) for membership in \(\mathrm{conv}(P_n)\), together with the complexity chain used downstream, whereas the necessity direction is written in the book and flagged as a future Lean project [2606.03194]. A neutral reading is therefore that the formalization, as described, certifies one direction of the membership characterization and the associated complexity development, but not yet the full biconditional inside Lean.

## 6. Relation to STSP, pedigree-polytope structure, and controversy

The pedigree polytope is described in earlier work as an extension of the classical symmetric travelling salesman polytope whose graphs contain the TSP polytope graphs as spanning subgraphs [1611.08419]. The 2016 graph-theoretic papers stress that pedigree polytopes are not vertex transitive and not even regular, yet their graph is asymptotically almost complete, with minimum degree divided by number of vertices tending to \(1\) as the number of cities tends to infinity [1611.08419]. Those papers do not address M3P directly, but they supply structural background on the geometry of \(\mathrm{conv}(P_n)\) and on its relation to STSP.

In the M3P framework, the connection to STSP runs through the **multistage insertion** formulation. The 2026 paper states that STSP reduces to M3P via the MI formulation, and that the pedigree optimization problem with objective coefficients
\[
C_{ijk}=c_{ik}+c_{jk}-c_{ij}
\]
is equivalent to solving STSP [2606.03194]. The 2025 article then invokes Maurras’s membership-to-separation construction and the Grötschel–Lovász–Schrijver equivalence between separation and optimization to argue that polynomial-time membership for the pedigree polytope yields efficient linear optimization over it, and hence efficient solution of STSP [2507.09069].

Both 2025 and 2026 sources present the further consequence that this would resolve the \(P\) versus \(NP\) question. The 2026 abstract states that, by sufficiency, this implies \( \mathrm{M3P}\in P \), that STSP is solvable in polynomial time, and that the \(P\) vs. \(NP\) question is resolved, culminating in the Lean theorem `p_equals_np : P_class = NP_class` [2606.03194]. The 2025 article says that the consequence of the result is a proof of \(NP=P\) and states that its purpose is to present the latest results from the author’s book in a self-contained fashion so that experts can vet them [2507.09069].

Several nuances are stated explicitly in the 2026 source. M3P is defined over rational input and exact arithmetic; the \(O(n^{14})\) bound is presented as theoretical rather than practical; and open directions include formalizing the necessity direction in Lean, tightening the complexity bounds, and understanding the facial and adjacency structure of \(\mathrm{conv}(P_n)\) more deeply [2606.03194]. These caveats are material to the subject. They indicate that, within the cited literature, M3P is treated both as a concrete polyhedral membership problem and as the pivotal step in a broader and controversial complexity-theoretic claim.

Source: https://www.emergentmind.com/topics/membership-problem-for-pedigree-polytope-m3p