List.drop_succ: law of bend-mathlib@0.8.1.0
Import: import bend-mathlib@0.8.1.0/list.bend as List
Lines 2114-2121 of bend-mathlib@0.8.1.0/list.bend: https://jend.leeeet.dev/read.txt?path=bend-mathlib@0.8.1.0/list.bend&start_line=2114&end_line=2121
import Base
# Dropping n + 1 elements of a cons drops its head and n from its tail.
law drop_succ:
for -a: Quant
for -A: Kind(a)
for -x: A
for -xs: List
for -n: Nat
{List.drop(a, A, x <> xs, 1n+n) == List.drop(a, A, xs, n) : List}
Uses (3):
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.drop
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat