Documentation

Complexitylib.Circuits.DepthThree.LowerBound.Internal.LanguageBitArithmetic

Unrestricted depth-three lower bound: language bit arithmetic #

Adapted from OpenAI's formalization at revision adc7f1241b42e322a6451854ab7e4b4c146bf78a. Source: https://github.com/openai/math/blob/adc7f1241b42e322a6451854ab7e4b4c146bf78a/lean/OAI/Computability/DepthThree/LanguageBitArithmetic.lean

Imports, namespaces, module visibility, documentation, and formatting are adapted for complexitylib. The source theorem statements and mathematical proofs are retained.

Cancel one high coefficient using the shifted modulus.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem Complexity.DepthThreeLowerBound.cancelStep_above {r m : ℕ} (p : BitWord r) (k : ℕ) (a : BitWord m) (i : Fin m) (hi : k < ↑i) :
    cancelStep p k a i = a i
    theorem Complexity.DepthThreeLowerBound.cancelStep_at {r m : ℕ} (p : BitWord r) (a : BitWord m) (i : Fin m) (hi : r ≤ ↑i) :
    cancelStep p (↑i) a i = false
    theorem Complexity.DepthThreeLowerBound.reduceLoop_tail_false {r m : ℕ} (p : BitWord r) (k : ℕ) (a : BitWord m) (ha : ∀ (i : Fin m), r ≤ ↑i → k ≤ ↑i → a i = false) (i : Fin m) :
    r ≤ ↑i → reduceLoop p k a i = false

    Resize a bit word, truncating or padding with false bits.

    Equations
    Instances For
      theorem Complexity.DepthThreeLowerBound.wordPoly_resize_of_tail_false {r m : ℕ} (a : BitWord m) (ha : ∀ (i : Fin m), r ≤ ↑i → a i = false) :