Idris-dev/test/proof002/test030.idr
2014-01-30 17:24:08 +00:00

14 lines
307 B
Idris

module test030
import Reflect
total
testReflect0 : (xs, ys : List a) -> ((xs ++ (ys ++ xs)) = ((xs ++ ys) ++ xs))
testReflect0 {a} xs ys = AssocProof a
total
testReflect1 : (xs, ys : List a) ->
((xs ++ (x :: ys ++ xs)) = ((xs ++ [x]) ++ (ys ++ xs)))
testReflect1 {a} xs ys = AssocProof a