Outer binary-field modulus search in native space #
Search in increasing code order for the existing field modulus of the requested degree, using the native binary irreducibility test. The binary upper bound and each live candidate have length at most linear in the degree. The output is the modulus coefficient word, least significant coefficient first.
Main results #
Turing.BinaryField.modulusBitsScan_inSpace: native modulus search in space linear in the numeric degree.Turing.BinaryField.modulusBitsScan_inSpace_of_irreducible: native space for the modulus search given the irreducibility test certificate.
theorem Turing.BinaryField.modulusBitsScan_inSpace_of_irreducible (ht :
MultiTapeTM.ComputableInSpace Cslib.isIrreducibleCode MultiTapeTM.encNat MultiTapeTM.encBool fun (m : ℕ) =>
(MultiTapeTM.encNat m).length) :
Given native binary irreducibility testing, select the existing modulus in space linear in the numeric degree. The input is the binary degree and the output is its raw little-endian coefficient word.
The native binary irreducibility test gives modulus search in space linear in the degree.