def fv
import bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int.bend as U64intimport Base
907# y when ok, else x: {fv(ok, v(a), x) == x} says v(a) == x when ok
908def fv(ok: Bool, +y: Nat, +x: Nat) -> Nat:
909 match ok:
910 case True{}:
911 y
912 case False{}:
913 x
Uses (2)
Used by (8)
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:fv_mul
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:powsim
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:combsim
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:ms_fits
- bend-collections-laws-math@1.0.0.0/proofs/math/typed/u64int:ms_fv
- …