Documentation

CslibFrontier.Computability.PolyTime.BudgetTuples

The successor of a tuple of bounded weight in polynomial time #

Cslib.BudgetTuples.budgetNext walks the tuples of weight below a budget, the mode exponents of the Boolean tensor contraction proof of [OAI26k] (§D.4.5, p. 63). This file certifies that one step is polynomial-time, with the weights, the budget and the tuple in binary (computableInPolyTime_budgetNext), through its left scan budgetNextScan. So the enumeration has polynomial delay.

Main definitions #

Main results #

References #

@[reducible, inline]

The state of the scan: the remaining budget in binary, the number of remaining weights in unary, the coordinates read and the successor found so far in binary.

The inputs (ws, p, β) of budgetNext, in binary.

The successor is polynomial-time, with the weights, the budget and the tuple in binary: the enumeration of the tuples of bounded weight has polynomial delay.