def Iroot.lt_succ

bend-collections-laws-crypto@1.0.0.0 · spec/math/natural.bend:220

import bend-collections-laws-crypto@1.0.0.0/spec/math/natural.bend as Natural
import Base
import bend-collections-laws-crypto@1.0.0.0/src/math/natural.bend as M

220def Iroot.lt_succ(+n: Nat, +kp: Nat, +r: Nat, +h: {M.iroot(n, 1n+kp) == Done{r} : Result<&2, &2, M.MathError, Nat>}) -> Type:
221  {Nat.is_lt(n, Nat.pow(1n+r, 1n+kp)) == True{} : Bool}

Uses (7)

Used by (1)