List.get_cons_zero_sym: law of bend-mathlib@0.8.1.0
Import: import bend-mathlib@0.8.1.0/list.bend as List
Lines 2913-2919 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=2913&end_line=2919
import Base
# The element at index zero of a cons is its head, reversed to rewrite toward the simple side.
law get_cons_zero_sym:
for -a: Quant
for -A: Kind(a)
for -x: A
for -xs: List
{Some{x} == List.get(a, A, x <> xs, 0n) : Maybe}
Uses (5):
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Equal.sym
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.get
https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe
https://jend.leeeet.dev/definition.txt?path=bend-mathlib@0.8.1.0/list.bend&name=get_cons_zero