List.get_cons_succ_sym: law of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/list.bend as List Lines 2924-2931 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=2924&end_line=2931 import Base # The element at index n + 1 of a cons is the element at index n of its tail, reversed to rewrite toward the simple side. law get_cons_succ_sym: for -a: Quant for -A: Kind(a) for -x: A for -xs: List for -n: Nat {List.get(a, A, xs, n) == List.get(a, A, x <> xs, 1n+n) : Maybe} Uses (6): 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=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-mathlib@0.8.1.0/list.bend&name=get_cons_succ