def internal_reverse_go_append
import bend-mathlib@0.8.1.0/list.bend as Listimport Base
65def internal_reverse_go_append(a, -A: Kind(a), xs: List<a, A>, -ys: List<a, A>, -acc: List<a, A>) -> {List.reverse.go(a, A, xs, List.append(a, A, ys, acc)) == List.append(a, A, List.reverse.go(a, A, xs, ys), acc) : List<a, A>}:
66 match xs:
67 case Nil{}:
68 {==}
69 case h <> t:
70 internal_reverse_go_append(a, A, t, h <> ys, acc)