def cons_cong
import bend-collections-laws-math@1.0.0.0/proofs/lib/list.bend as Listimport Base
8def cons_cong(-A: Data, +h: A, +xs: List<&2, A>, +ys: List<&2, A>, +e: {xs == ys : List<&2, A>}) -> {Con{h, xs} == Con{h, ys} : List<&2, A>}:
9 Equal.cong(List<&2, A>, List<&2, A>, zs => Con{h, zs}, xs, ys, e)
Uses (2)
Used by (19)
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:append_nil
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:append_snoc
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:snoc_append_cons
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:append_assoc
- bend-collections-laws-math@1.0.0.0/proofs/lib/list:base_append
- …