Documentation

Complexitylib.Metacomplexity.NisanWigderson.Hardwiring.Defs

Nisan--Wigderson overlap hardwiring -- definitions #

Fixing an NW output coordinate turns its block input into a challenge and leaves all seed coordinates outside that block fixed. A predecessor block can then vary only through the challenge coordinates lying in the two blocks' intersection. This module defines that challenge experiment and its canonical hardwiring table.

def Complexity.NWDesign.challengeOverlap {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (current previous : Fin outputLength) :
Finset (Fin inputLength)

Challenge coordinates of current whose seed positions also occur in previous.

Equations
Instances For
    def Complexity.NWDesign.seedWithChallenge {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (current : Fin outputLength) (outside : Fin seedLengthBool) (challenge : Fin inputLengthBool) :
    Fin seedLengthBool

    Replace the seed coordinates in one design block by a challenge, retaining an outside assignment on every other coordinate. The finite inverse of the block embedding makes this operation executable.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def Complexity.NWDesign.challengedBlock {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (current previous : Fin outputLength) (outside : Fin seedLengthBool) :
      (Fin inputLengthBool)Fin inputLengthBool

      The input seen by a block when current carries the challenge and all coordinates outside current are fixed.

      Equations
      Instances For
        def Complexity.NWDesign.predecessorTable {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (current previous : Fin outputLength) (outside : Fin seedLengthBool) (observe : (Fin inputLengthBool)Bool) :
        ((design.challengeOverlap current previous)Bool)Bool

        The canonical advice table for an observed predecessor-block value. Its indices are assignments to precisely the overlap coordinates.

        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def Complexity.NWDesign.predecessorTableEntriesAt {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (current : Fin outputLength) :

          Total number of Boolean entries in all predecessor tables at one output coordinate.

          Equations
          Instances For