def len_take

bend-collections-laws-math@1.0.0.0 · proofs/lib/two_list.bend:58

import bend-collections-laws-math@1.0.0.0/proofs/lib/two_list.bend as TwoList
import Base
import bend-collections-laws-math@1.0.0.0/proofs/lib/list.bend as LL
import bend-collections-laws-math@1.0.0.0/spec/lib/common.bend as SC

58def len_take(-T: Data, +xs: List<&2, T>, +n: Nat, +h: {Nat.is_le(n, SC.length(T, xs)) == True{} : Bool}) -> {SC.length(T, SC.take(T, xs, n)) == n : Nat}:
59  LL.sc_length_take(T, xs, n, h)

Uses (7)

Used by (0)

No other definition uses this definition.