Take operations on tuples #
We define the take operation on n-tuples, which restricts a tuple to its first m elements.
Taking m + 1 elements is equal to taking m elements and adding the (m + 1)th one.
take is the same after update for indices outside the range of take.
Taking the first m β€ n elements of an addCases u v, where u is an n-tuple, is the same
as taking the first m elements of u.
Version of take_addCases_left that specializes addCases to append.
Taking the first n + m elements of an addCases u v, where v is a n'-tuple and m β€ n',
is the same as appending u with the first m elements of v.
Version of take_addCases_right that specializes addCases to append.
Alternative version of take_eq_take_list_ofFn with l : List Ξ± instead of v : Fin n β Ξ±.
Alternative version of take_eq_take_list_get with v : Fin n β Ξ± instead of l : List Ξ±.