Tables of explicit tensor networks in polynomial time #
The vertices of an explicit network written by a polynomial-time construction list their ports in
binary and their tables as bounded tables. A bounded table is polynomial-time whenever
each of its entries is, since it is a map over the first 2 ^ B numbers, a constant list
(ExplicitTensorNetwork.computableInPolyTime_boundedTable). Such a vertex is written as
ExplicitTensorNetwork.encVertex.
Main definitions #
Cslib.Circuits.Frontier.ExplicitTensorNetwork.encVertex: the encoding of a vertex of an explicit network overℕ.
Main results #
Cslib.Circuits.Frontier.ExplicitTensorNetwork.computableInPolyTime_boundedTable: bounded tables with polynomial-time entries.
@[reducible, inline]
The encoding of a vertex (ports, table) of an explicit network over ℕ: its list of ports,
framed, then its table, the entries of both framed binary numbers (encNat). This is
DescribedNetwork.encVertex (encList encNat), named here so that clients need not import
DescribedContraction.
theorem Cslib.Circuits.Frontier.ExplicitTensorNetwork.computableInPolyTime_boundedTable {α : Type} {inp : α ↪ List Bool} (B : ℕ) {w : α → ℕ} {f : α → ℕ → ℕ} (hw : Turing.MultiTapeTM.ComputableInPolyTime w inp Turing.MultiTapeTM.encUnary) (hf : ∀ (idx : ℕ), Turing.MultiTapeTM.ComputableInPolyTime (fun (a : α) => f a idx) inp Turing.MultiTapeTM.encNat) :
Turing.MultiTapeTM.ComputableInPolyTime (fun (a : α) => boundedTable B (w a) (f a)) inp
(Turing.MultiTapeTM.encList Turing.MultiTapeTM.encNat)
A bounded table whose entries are polynomial-time at every fixed position.