Unrestricted depth-three lower bound: language bit reduction loop #
Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a.
Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/DepthThree/LanguageBitReductionLoop.lean
Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical proofs are retained.
Apply the shifted-modulus updates used in coefficient cancellation.
Equations
- One or more equations did not get rendered due to their size.
- Complexity.DepthThreeLowerBound.modulusUpdateLoop p v shift 0 x✝ = x✝
Instances For
Cancel a leading coefficient through list updates.
Equations
Instances For
@[simp]
Compute the polynomial remainder through cancellation updates.
Equations
Instances For
@[simp]
@[simp]
theorem
Complexity.DepthThreeLowerBound.wordList_wordResize_take
{r m : ℕ}
(a : BitWord m)
(hr : r ≤ m)
: