Unrestricted depth-three lower bound: tape product length #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/DepthThree/TapeProductLength.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical proofs are retained.
@[reducible, inline]
Control states of the product length routine.
Equations
Instances For
Transition function of the product length routine.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Initial control state of the product length routine.
Equations
Instances For
Terminal control state of the product length routine.
Equations
Instances For
Tape-store contents at the output stage of the product length routine.
Equations
- Complexity.DepthThreeLowerBound.TapeProductLength.outputStore σ n m = Function.update σ 30 (List.replicate (n * m) true)
Instances For
@[simp]
theorem
Complexity.DepthThreeLowerBound.TapeProductLength.outputStore_destination
(σ : TapeStore)
(n m : ℕ)
:
theorem
Complexity.DepthThreeLowerBound.TapeProductLength.outputStore_other
(σ : TapeStore)
(n m : ℕ)
(r : TapeRegister)
(hr : r ≠ 30)
:
Transition budget for the product length routine.
Instances For
theorem
Complexity.DepthThreeLowerBound.TapeProductLength.runs_product
(σ : TapeStore)
(n m : ℕ)
(h4 : σ 4 = List.replicate n true)
(h3 : σ 3 = List.replicate m true)
(h5 : σ 5 = [])
(h6 : σ 6 = [])
(h30 : σ 30 = [])
:
RunsIn program.step (TapeMultiProgram.cfg start (storeTapes σ))
(TapeMultiProgram.cfg done (storeTapes (outputStore σ n m))) (cost n m)