law length_take_le

bend-mathlib@0.8.1.0 · list.bend:1257

import bend-mathlib@0.8.1.0/list.bend as List
import Base
import bend-mathlib@0.8.1.0/nat.bend as MNat

1257# Taking n elements gives at most n of them.
1258law length_take_le:
1259  for -a: Quant
1260  for -A: Kind(a)
1261  for xs: List<a, A>
1262  for n: Nat
1263  MNat.le(List.length(a, A, List.take(a, A, xs, n)), n)

Uses (7)

Used by (0)

No other definition uses this definition.