Documentation

Complexitylib.Circuits.DepthThree.LowerBound.Internal.LanguageBitLoopInvariants

Unrestricted depth-three lower bound: language bit loop invariants #

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

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

Scan a bit list while applying the specified XOR update.

Equations
Instances For
    theorem Complexity.DepthThreeLowerBound.xorScan_step (acc b : Bool) (bs : List Bool) :
    xorScan acc (b :: bs) = xorScan (acc ^^ b) bs
    theorem Complexity.DepthThreeLowerBound.ofFn_nat_eq_map_range {α : Type uDepth1} (n : ℕ) (f : ℕ → α) :
    (List.ofFn fun (i : Fin n) => f ↑i) = List.map f (List.range n)

    The partial convolution after processing one input row.

    Equations
    Instances For

      The convolution accumulator after processing successive rows.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For