def iroot_lt_succ

bend-collections-laws-math@1.0.0.0 · proofs/math/natural/proof.bend:127

import bend-collections-laws-math@1.0.0.0/proofs/math/natural/proof.bend as Proof
import Base
import bend-collections-laws-math@1.0.0.0/src/math/natural.bend as M
import bend-collections-laws-math@1.0.0.0/spec/math/natural.bend as S
import bend-collections-laws-math@1.0.0.0/proofs/math/natural/roots.bend as RT

127def iroot_lt_succ(+n: Nat, +kp: Nat, +r: Nat, +h: {M.iroot(n, 1n+kp) == Done{r} : Result<&2, &2, M.MathError, Nat>}) -> S.Iroot.lt_succ(n, kp, r, h):
128  %iroot_value(n, kp, r, h) : {Nat.is_lt(n, Nat.pow(1n+_, 1n+kp)) == True{} : Bool}
129  RT.lt_succ_iroot(n, kp)

Uses (10)

Used by (0)

No other definition uses this definition.