def comb_ok
import bend-collections-laws-math@1.0.0.0/proofs/math/natural/fact.bend as Factimport 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
277# comb(n, k) == C(n, k)
278def comb_ok(+n: Nat, +k: Nat) -> {M.comb(n, k) == S.choose(n, k) : Nat}:
279 comb_small(n, k, Nat.is_lt(n, k), {==})
Uses (5)
Used by (6)
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/proof:comb_value
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/proof:comb_zero
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/proof:factorials
- bend-collections-laws-math@1.0.0.0/proofs/math/natural/proof:pascal
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u32int:comb_checked
- …