Documentation

LeanPool.GapCVP.Part03G

GapCVP proof, part 03, continuation 07 #

Reject a first word whose unary length prefix has no delimiter.

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

    Reject a first word shorter than its declared length.

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

      Reject a second word shorter than its declared length.

      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def GapCVP.CNFEncodedClauseSort.lengthPrefixedPairCases {motive : List Bool → Sort u_1} (missingFirst : (count : ℕ) → motive (List.replicate count true)) (truncatedFirst : (count : ℕ) → (tail : List Bool) → tail.length < count → motive (List.replicate count true ++ false :: tail)) (missingSecond : (first : List Bool) → (count : ℕ) → motive (BinaryEncoding.lengthPrefixedWord first ++ List.replicate count true)) (truncatedSecond : (first : List Bool) → (count : ℕ) → (tail : List Bool) → tail.length < count → motive (BinaryEncoding.lengthPrefixedWord first ++ (List.replicate count true ++ false :: tail))) (valid : (first second suffix : List Bool) → motive (BinaryEncoding.lengthPrefixedWord first ++ (BinaryEncoding.lengthPrefixedWord second ++ suffix))) (input : List Bool) :
        motive input

        Exhaust the five shapes of two length-prefixed fields, including missing delimiters and truncated payloads. The motive may carry a computation trace, not just a proposition.

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

          Run the pair comparison machine on every input, valid or malformed.

          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