Documentation

Complexitylib.Metacomplexity.NisanWigderson.Reconstruction.Program.ListDecoding.Defs

List decoding explicit NW reconstruction programs -- definitions #

An explicit reconstruction program approximating an encoded message can be fed directly to the code's list decoder. Besides the finite candidate set, this module defines the complete bitstring decoder, bounded decoded certificates, and the machine-realization interface used to obtain a machine-relative time-bounded Kolmogorov bound.

structure Complexity.NWDesign.IndexedReconstructionProgram {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (listSize : ) :

An explicit NW reconstruction program together with one indexed output of a list decoder.

  • reconstruction : design.ReconstructionProgram

    The oracle-free Boolean predictor materialized from reconstruction advice.

  • decoderIndex : Fin listSize

    Which one of the list decoder's indexed outputs to select.

Instances For
    def Complexity.NWDesign.IndexedReconstructionProgram.decodedMessage {messageLength listSize outputLength inputLength seedLength : } {design : NWDesign outputLength inputLength seedLength} (program : design.IndexedReconstructionProgram listSize) (code : BooleanListCode messageLength listSize (Fin inputLengthBool)) (test : Finset (Fin outputLengthBool)) :
    Fin messageLengthBool

    Source message selected by an indexed reconstruction program.

    Equations
    Instances For
      def Complexity.NWDesign.IndexedReconstructionProgram.encodeBooleanPayload {listSize outputLength inputLength seedLength : } {design : NWDesign outputLength inputLength seedLength} (program : design.IndexedReconstructionProgram listSize) :

      Flat Boolean data stored by an indexed reconstruction program. The polarity and hybrid coordinate remain external codec metadata.

      Equations
      Instances For
        def Complexity.NWDesign.IndexedReconstructionProgram.encode {listSize outputLength inputLength seedLength : } {design : NWDesign outputLength inputLength seedLength} (program : design.IndexedReconstructionProgram listSize) :

        Complete encoding of an indexed reconstruction program: polarity, hybrid coordinate, reconstruction data, and list-decoder index. Only ambient parameters remain external.

        Equations
        Instances For
          def Complexity.NWDesign.decodeIndexedReconstructionBooleanPayload? {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (listSize : ) (complement : Bool) (current : Fin outputLength) (bits : List Bool) :

          Decode the Boolean payload of an indexed reconstruction program using an externally supplied polarity and hybrid coordinate.

          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            def Complexity.NWDesign.decodeIndexedReconstructionProgram? {outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (listSize : ) (bits : List Bool) :

            Decode a complete indexed reconstruction program relative to its ambient design and list-size parameters.

            Equations
            Instances For
              def Complexity.NWDesign.decodeIndexedMessage? {messageLength listSize outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (code : BooleanListCode messageLength listSize (Fin inputLengthBool)) (test : Finset (Fin outputLengthBool)) (bits : List Bool) :
              Option (Fin messageLengthBool)

              Decode a complete indexed-program bit string and run its semantic source message decoder. The ambient design, list code, and statistical test are fixed parameters rather than hidden program fields.

              Equations
              Instances For
                def Complexity.NWDesign.HasEncodedMessageCertificateWithin {messageLength listSize outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (code : BooleanListCode messageLength listSize (Fin inputLengthBool)) (test : Finset (Fin outputLengthBool)) (message : Fin messageLengthBool) (bound : ) :

                A literal bitstring description, bounded in length, that the fixed indexed reconstruction decoder maps to a source message.

                Equations
                Instances For
                  structure Complexity.NWDesign.EncodedMessageDecoderRealization {messageLength listSize outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (code : BooleanListCode messageLength listSize (Fin inputLengthBool)) (test : Finset (Fin outputLengthBool)) :

                  A deterministic machine realizing the fixed indexed-message decoder. The clock depends on description length and is monotone so a length bound yields a single common time budget.

                  • tapes :

                    Number of work tapes used by the decoder machine.

                  • machine : TM self.tapes

                    Machine interpreting complete indexed reconstruction descriptions.

                  • time :

                    Decoder time as a function of description length.

                  • time_mono : Monotone self.time

                    Larger descriptions receive no smaller clock.

                  • correct (description : List Bool) (message : Fin messageLengthBool) : design.decodeIndexedMessage? code test description = some messageself.machine.ProducesInTime description (List.ofFn message) (self.time description.length)

                    Every semantically decoded message is produced by the machine within the advertised clock.

                  Instances For
                    structure Complexity.NWDesign.OracleEncodedMessageDecoderRealization {messageLength listSize outputLength inputLength seedLength : } (design : NWDesign outputLength inputLength seedLength) (code : BooleanListCode messageLength listSize (Fin inputLengthBool)) :

                    One oracle machine realizing the indexed-message decoder for every finite statistical test. The design and list code remain fixed machine parameters, but the test is supplied through its canonical Boolean oracle and therefore does not occupy program bits.

                    Instances For
                      def Complexity.NWDesign.ReconstructionProgram.listDecoderCandidates {messageLength listSize outputLength inputLength seedLength : } {design : NWDesign outputLength inputLength seedLength} (program : design.ReconstructionProgram) (code : BooleanListCode messageLength listSize (Fin inputLengthBool)) (test : Finset (Fin outputLengthBool)) :
                      Finset (Fin messageLengthBool)

                      Candidate source messages obtained by list decoding the Boolean predictor stored in an explicit reconstruction program.

                      Equations
                      Instances For