Documentation

CslibFrontier.Computability.Machines.Turing.MultiTape.Complexity.PolyTime.Families

Polynomially bounded families under polynomial-time maps #

A polynomial-time function on encoded pairs preserves polynomially bounded encoded lengths of input families. The families themselves need not be computable. This is useful when transporting witnesses or nonuniform advice through deterministic reductions.

Main results #

theorem Turing.MultiTapeTM.ComputableInPolyTime.polynomiallyBounded_length_prod {α β : Type u} {γ : Type u_1} {encA : α ↪ List Bool} {encB : β ↪ List Bool} {encC : γ ↪ List Bool} {g : α × β → γ} (hg : ComputableInPolyTime g (encPair encA encB) encC) {a : ℕ → α} {b : ℕ → β} (ha : Cslib.PolynomiallyBounded fun (n : ℕ) => (encA (a n)).length) (hb : Cslib.PolynomiallyBounded fun (n : ℕ) => (encB (b n)).length) :
Cslib.PolynomiallyBounded fun (n : ℕ) => (encC (g (a n, b n))).length

A polynomial-time function of a pair preserves polynomial bounds on the encoded lengths of both input families, without requiring the families themselves to be computable.