Direct polynomial-time binary arithmetic #
Addition and comparison are the linear zip-transducer certificates of BinaryAddition and
BinaryComparison.
Multiplication weakens the cubic-time schoolbook certificate ComputableInO.natMul.
Addition of binary naturals, from the linear zip-transducer certificate
Turing.MultiTapeTM.computableInTimeAndSpace_natAdd.
Compose this certificate with the producers' .prod certificate. Global automatic addition
remains separate from this named rule, since an unconstrained intermediate encoding can select
a binary branch where a surrounding computation needs a unary size.
Strict comparison of binary naturals, from the linear zip-transducer certificate
Turing.MultiTapeTM.computableInTimeAndSpace_natLt.
Multiply computed binary values, fixing their intermediate encodings for proof search.
Non-strict binary comparison, from the linear zip-transducer certificate
Turing.MultiTapeTM.computableInTimeAndSpace_natLe. Automatic composition uses the
computed-operand rule binary_le'.
Compare two binary naturals computed uniformly from the same encoded input.