Simultaneous Partial Two-Tree Completion
Abstract
One simultaneous angle extension supplies real rank-three completion on every finite partial two-tree.
Theorem 1.1 (A single joint angle table).
\forall (V : \operatorname{Type}\left(\right)), [\operatorname{Finite}\left(V\right)], \forall (G : \operatorname{SimpleGraph}\left(V\right)), \forall (theta : V \to V \to \mathbb{R}), ((\forall (a : V), \forall (b : V), \operatorname{value}\left(theta, a, b\right) = \operatorname{value}\left(theta, b, a\right)) \land (\forall (a : V), \operatorname{value}\left(theta, a, a\right) = 0) \land (\forall (a : V), \forall (b : V), (\operatorname{Adj}\left(G, a, b\right)) \Rightarrow ((0 \leq \operatorname{value}\left(theta, a, b\right)) \land (\operatorname{value}\left(theta, a, b\right) \leq \pi))) \land (\forall (m : \mathbb{N}), (3 \leq m) \Rightarrow (\forall (c : \operatorname{Fin}\left(m\right) \to V), ((\operatorname{Injective}\left(c\right)) \land (\forall (i : \operatorname{Fin}\left(m\right)), \operatorname{Adj}\left(G, \operatorname{value}\left(c, i\right), \operatorname{value}\left(c, \operatorname{next}\left(m, i\right)\right)\right))) \Rightarrow (\forall (F : \operatorname{Finset}\left(\operatorname{Fin}\left(m\right)\right)), (\operatorname{Odd}\left(\operatorname{card}\left(F\right)\right)) \Rightarrow (\sum_{i \in F} \operatorname{value}\left(theta, \operatorname{value}\left(c, i\right), \operatorname{value}\left(c, \operatorname{next}\left(m, i\right)\right)\right) - \sum_{i \in \operatorname{complement}\left(F\right)} \operatorname{value}\left(theta, \operatorname{value}\left(c, i\right), \operatorname{value}\left(c, \operatorname{next}\left(m, i\right)\right)\right) \leq (\operatorname{realcard}\left(F\right) - 1) \pi))))) \Rightarrow (\exists (Gamma : V \to V \to \mathbb{R}), (\forall (a : V), \forall (b : V), \operatorname{value}\left(Gamma, a, b\right) = \operatorname{value}\left(Gamma, b, a\right)) \land (\forall (a : V), \operatorname{value}\left(Gamma, a, a\right) = 0) \land (\forall (a : V), \forall (b : V), (0 \leq \operatorname{value}\left(Gamma, a, b\right)) \land (\operatorname{value}\left(Gamma, a, b\right) \leq \pi)) \land (\forall (a : V), \forall (b : V), (\operatorname{Adj}\left(G, a, b\right)) \Rightarrow (\operatorname{value}\left(Gamma, a, b\right) = \operatorname{value}\left(theta, a, b\right))) \land (\forall (a : V), \forall (b : V), \forall (c : V), \operatorname{value}\left(Gamma, a, b\right) \leq \operatorname{value}\left(Gamma, a, c\right) + \operatorname{value}\left(Gamma, c, b\right)) \land (\forall (a : V), \forall (b : V), \forall (c : V), \operatorname{value}\left(Gamma, a, b\right) + \operatorname{value}\left(Gamma, b, c\right) + \operatorname{value}\left(Gamma, c, a\right) \leq 2 \pi))
Proof. Machine-checked in Lean as D5/S3/QuadraticForms/PartialTwoTreePsdCompletion.exists_joint_angle_table (✓ std3). ∎
Citation. Monique Laurent (1994). The real positive semidefinite completion problem for series-parallel graphs. DOI: 10.1016/0024-3795(95)00741-5. URL: https://ir.cwi.nl/pub/5067/5067D.pdf.
Commentary.
V is an arbitrary finite type, including the empty type. G is a simple graph on V. The real table theta is symmetric, has zero diagonal, and has values in [0,pi] on G-edges. The cycle condition below ranges over every natural m at least three, every injective c from Fin m into V following G-edges, and every odd-cardinality subset F of Fin m. The successor next is finRotate m, or addition of one modulo m; complement is inside Fin m. No global realization, fill values, or compatible family of cycle completions is an input.
The conclusion constructs one symmetric table Gamma, with zero diagonal and all values in [0,pi], preserving every G-edge of theta. For all ordered triples a,b,c, Gamma(a,b) is at most Gamma(a,c)+Gamma(c,b), and Gamma(a,b)+Gamma(b,c)+Gamma(c,a) is at most 2pi. Repeated vertices are allowed in these triple statements. Thus the same fill-edge value serves all incident triangles in any chosen chordal supergraph.
Use a signed copy V times Bool. An edge costs theta when its signs agree and pi-theta when they differ. The simple-cycle inequalities imply a cost of at least pi for every projected closed walk with opposite endpoint signs. At a repeated projected vertex, opposite signs isolate a shorter odd loop, while equal signs allow deletion of a nonnegative-cost segment. The remaining elementary walks are simple cycles or length-two backtracks.
For a missing pair u,v, the new angle is the supremum of zero and pi minus the cost of every odd signed u-to-v path. Nonnegative edge costs bound this supremum by pi. Joining an even path with an odd path gives every upper bound required by that same value. On the four signed endpoint states, equal vertices have distance zero or pi; unequal vertices have distance x or pi-x. These distances satisfy the triangle inequality. Split a new walk at its first new edge to preserve all boundary distances, then close it with the sign-flipped original prefix to preserve every odd closed-walk inequality. A maximal feasible graph on the finite carrier is complete. The resulting table, rather than a collection of individually chosen cycle witnesses, is the live construction.
Theorem 1.2 (The exact rank-three criterion).
\forall (V : \operatorname{Type}\left(\right)), [\operatorname{Finite}\left(V\right)], \forall (G : \operatorname{SimpleGraph}\left(V\right)), (\exists (H : \operatorname{SimpleGraph}\left(V\right)), (G \leq H) \land (\operatorname{IsChordal}\left(H\right)) \land (\forall (C : \operatorname{Set}\left(V\right)), (\operatorname{IsClique}\left(H, C\right)) \Rightarrow (\operatorname{Natcard}\left(C\right) \leq 3))) \Rightarrow (\forall (A : \operatorname{Matrix}\left(V, V, \mathbb{R}\right)), ((\forall (a : V), \forall (b : V), \operatorname{value}\left(A, a, b\right) = \operatorname{value}\left(A, b, a\right)) \land (\forall (a : V), \operatorname{value}\left(A, a, a\right) = 1) \land (\forall (a : V), \forall (b : V), (\operatorname{Adj}\left(G, a, b\right)) \Rightarrow ((-1 \leq \operatorname{value}\left(A, a, b\right)) \land (\operatorname{value}\left(A, a, b\right) \leq 1)))) \Rightarrow ((\exists (B : \operatorname{Matrix}\left(V, V, \mathbb{R}\right)), (\operatorname{PosSemidef}\left(B\right)) \land (\operatorname{rank}\left(B\right) \leq 3) \land (\forall (a : V), \operatorname{value}\left(B, a, a\right) = 1) \land (\forall (a : V), \forall (b : V), (\operatorname{Adj}\left(G, a, b\right)) \Rightarrow (\operatorname{value}\left(B, a, b\right) = \operatorname{value}\left(A, a, b\right)))) \iff (\forall (m : \mathbb{N}), (3 \leq m) \Rightarrow (\forall (c : \operatorname{Fin}\left(m\right) \to V), ((\operatorname{Injective}\left(c\right)) \land (\forall (i : \operatorname{Fin}\left(m\right)), \operatorname{Adj}\left(G, \operatorname{value}\left(c, i\right), \operatorname{value}\left(c, \operatorname{next}\left(m, i\right)\right)\right))) \Rightarrow (\forall (F : \operatorname{Finset}\left(\operatorname{Fin}\left(m\right)\right)), (\operatorname{Odd}\left(\operatorname{card}\left(F\right)\right)) \Rightarrow (\sum_{i \in F} \operatorname{value}\left(\operatorname{angle}\left(A\right), \operatorname{value}\left(c, i\right), \operatorname{value}\left(c, \operatorname{next}\left(m, i\right)\right)\right) - \sum_{i \in \operatorname{complement}\left(F\right)} \operatorname{value}\left(\operatorname{angle}\left(A\right), \operatorname{value}\left(c, i\right), \operatorname{value}\left(c, \operatorname{next}\left(m, i\right)\right)\right) \leq (\operatorname{realcard}\left(F\right) - 1) \pi))))))
Proof. Machine-checked in Lean as D5/S3/QuadraticForms/PartialTwoTreePsdCompletion.partial_two_tree_rank_three_iff (✓ std3). ∎
Citation. Monique Laurent (1994). The real positive semidefinite completion problem for series-parallel graphs. DOI: 10.1016/0024-3795(95)00741-5. URL: https://ir.cwi.nl/pub/5067/5067D.pdf.
Commentary.
A is any real symmetric matrix on V with diagonal one and G-edge entries in the closed interval [-1,1]. The graph hypothesis is the existence of a simple graph H on the same V containing G, with H chordal and every H-clique C satisfying Nat.card C at most three. A clique is a subset C of V, so the hypothesis includes all cliques and the empty clique. No prescribed H-edge values are assumed. The graph condition is used directly, with no unproved replacement by a minor condition.
There exists a real PSD matrix B on V of real matrix rank at most three, diagonal one, and B(i,j)=A(i,j) on every G-edge, if and only if all the displayed simple-cycle inequalities hold for theta_A(i,j)=arccos(A(i,j)). The finite carrier, real data, cycles and odd subsets are all universally quantified. Empty and disconnected graphs, entries at both closed endpoints, repeated realization vectors, singular completions and nonspanning configurations remain in scope.
For sufficiency, construct the joint table from theta_A, and set T(i,j)=cos(Gamma(i,j)). Each clique of H has at most three elements. For a nonempty clique, inject it into Fin 3 and use a left inverse to enumerate its vertices in three slots, repeating vertices where necessary. The three-cycle inequalities follow from the ordinary triangle inequalities and perimeter bound. Directly apply CycleRankThreePsdCompletion.cycle_rank_three_iff, then restrict its PSD matrix to the clique. The clique rank bound follows from its cardinality. Empty cliques use the empty matrix. Directly apply RankBoundedChordalPsdCompletion.exists_posSemidef_completion_rank_le with d=3 to T and H; cosine of arccos restores the original G-edge entries.
For necessity, restrict B to each injective Fin m cycle. Positive semidefiniteness survives submatrix restriction and rank cannot increase. The existing cycle criterion gives exactly that cycle’s odd-subset inequalities. This is a static existence theorem, with no uniqueness, algorithmic complexity, physical realization, or empirical claim. The classical source establishes feasibility; the uniform rank-three bound here uses the separate rank-controlled chordal assembly result.