Documentation

CslibFrontier.Computability.Circuit.Frontier.TensorNetwork.RowsFirstPolyTime

Rows-first bipartiteness in polynomial time #

Rows-first bipartiteness of a described network at a number of rows (DescribedNetwork.IsRowsFirstBipartite) is decidable in polynomial time, from the number of rows in binary and the network as encoded by DescribedNetwork.encDescribed. The test checks that every port names an edge and counts, for each edge, its ports among the first r vertices and among the others. It is the rows-first part of the guards of the contraction machines, for explicit networks and for entry procedures.

Main results #

Rows-first bipartiteness is decidable in polynomial time, from the number of rows and the network.