def high_comp
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/width.bend as Widthimport Base
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as C
438def high_comp(+a: Nat, +b: Nat, +n: Nat) -> {C.high(Nat.add(b, a), n) == C.high(a, C.high(b, n)) : Nat}:
439 match b:
440 case 0n:
441 {==}
442 case 1n+ +p:
443 high_comp(a, p, C.half(n))
Uses (4)
Used by (16)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64rtools:fits_sh
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64round:fits_hc
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/w64sh:fits_high
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/f64bits:half0
- bend-collections-laws-math@1.0.0.0/proofs/math/random/float:fits_up
- …