Documentation

LeanPool.GapCVP.Part04G

GapCVP proof, part 04, continuation 07 #

def GapCVP.CNFUnaryPairIndexTotalCert.unaryPairFirstTrace (count : ℕ) (tail first second matchedFirst matchedSecond base outer output scratch : List Bool) :
StateTransition.EvalsToInTime CNFUnaryPairIndexTM.actualUnaryPairIndexMachine.step (CNFUnaryPairIndexTM.unaryPairConfiguration 0 (List.replicate count true ++ false :: tail) first second matchedFirst matchedSecond base outer output scratch) (some (CNFUnaryPairIndexTM.unaryPairConfiguration 1 tail (List.replicate count true ++ first) second matchedFirst matchedSecond base outer output scratch)) (count + 1)

GapCVP reduction support.

Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def GapCVP.CNFUnaryPairIndexTotalCert.unaryPairSecondTrace (count : ℕ) (tail first second matchedFirst matchedSecond base outer output scratch : List Bool) :
    StateTransition.EvalsToInTime CNFUnaryPairIndexTM.actualUnaryPairIndexMachine.step (CNFUnaryPairIndexTM.unaryPairConfiguration 1 (List.replicate count true ++ false :: tail) first second matchedFirst matchedSecond base outer output scratch) (some (CNFUnaryPairIndexTM.unaryPairConfiguration 2 tail first (List.replicate count true ++ second) matchedFirst matchedSecond base outer output scratch)) (count + 1)

    GapCVP reduction support.

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

      Copy the unary base to both output and scratch during a squaring iteration.

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

        Restore the unary base from scratch and return to the squaring loop.

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

          Clear the unary base after the squaring loop and halt with the accumulated output.

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

            GapCVP reduction support.

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

              GapCVP reduction support.

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

                GapCVP reduction support.

                Equations
                • One or more equations did not get rendered due to their size.
                Instances For
                  def GapCVP.CNFUnaryPairIndexTotalCert.unaryPairGreaterBaseTrace (first matchedFirst matchedSecond : ℕ) (base outer output : List Bool) :
                  StateTransition.EvalsToInTime CNFUnaryPairIndexTM.actualUnaryPairIndexMachine.step (CNFUnaryPairIndexTM.unaryPairConfiguration 3 [] (List.replicate first true) [] (List.replicate matchedFirst true) (List.replicate matchedSecond true) base outer output []) (some (CNFUnaryPairIndexTM.unaryPairConfiguration 4 [] [] [] [] (List.replicate matchedSecond true) (List.replicate (first + matchedFirst) true ++ base) (List.replicate (first + matchedFirst) true ++ outer) (List.replicate (first + matchedFirst) true ++ output) [])) (first + matchedFirst + 1)

                  GapCVP reduction support.

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

                    GapCVP reduction support.

                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For
                      def GapCVP.CNFUnaryPairIndexTotalCert.unaryPairLessBaseTrace (second matchedFirst matchedSecond : ℕ) (base outer output : List Bool) :
                      StateTransition.EvalsToInTime CNFUnaryPairIndexTM.actualUnaryPairIndexMachine.step (CNFUnaryPairIndexTM.unaryPairConfiguration 5 [] [] (List.replicate second true) (List.replicate matchedFirst true) (List.replicate matchedSecond true) base outer output []) (some (CNFUnaryPairIndexTM.unaryPairConfiguration 6 [] [] [] (List.replicate matchedFirst true) [] (List.replicate (second + matchedSecond) true ++ base) (List.replicate (second + matchedSecond) true ++ outer) output [])) (second + matchedSecond + 1)

                      GapCVP reduction support.

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

                        GapCVP reduction support.

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