def dsh1

bend-collections-laws-math@1.0.0.0 · proofs/math/typed/f64divc.bend:143

import bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64divc.bend as F64divc
import Base
import bend-collections-laws-math@1.0.0.0/src/math/f64.bend as F
import bend-collections-laws-math@1.0.0.0/src/math/w64.bend as X
import bend-collections-laws-math@1.0.0.0/src/math/u64.bend as WU

143def dsh1(+s: Bool, +ea: Nat, +fa: WU.U64, +eb: Nat, +fb: WU.U64, +t: Bool) -> {F.div_cls(s, ea, fa, eb, fb, t) == dimpl(s, t, X.is_zero(fa), Nat.is_eq(ea, 0n), Nat.is_eq(eb, 2047n), X.is_zero(fb), Nat.is_eq(eb, 0n), F.div_n(s, F.norm_e(ea, fa), F.norm_f(ea, fa), F.norm_e(eb, fb), F.norm_f(eb, fb))) : F.F64}:
144  match t:
145    case True{}:
146      ion(s, Bool.or(Bool.not(X.is_zero(fa)), Nat.is_eq(eb, 2047n)))
147    case False{}:
148      dsh2(s, ea, fa, eb, fb, Nat.is_eq(eb, 2047n))

Uses (15)

Used by (1)