Documentation

MIPRE.Foundations.Cost.BinaryCompare

Polynomial-time comparison of binary natural numbers #

The comparison scans coefficient bits directly, padding only by the supplied bit-string lengths. It never expands a binary number to unary.

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

      Compare arbitrary little-endian strings, allowing leading zeroes.

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

        Binary natural comparison, with a global polynomial cost in the encodings.

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