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