Documentation

Complexity.Computability.TreeEval.Reader.Cert.Residue

Residues within linear work space #

The residue operations of Cslib.TreeEval.Reader are tidily computable within work space linear in the lengths of their encoded arguments.

Main results #

theorem Cslib.TreeEval.Reader.powMod_le {p a k : ℕ} (hk : k ≤ p - 2) :
powMod p a k ≤ p + 1