練習問題 4.2.2
すべてのxsについて真となる等式はどれか,また偽となるのはどれか.
[[]] ++ xs = xs
[[]] ++ xs = [xs]
[[]] ++ xs = [[],xs]
[[]] ++ [xs] = [[],xs]
[xs] ++ [] = [xs]
[xs] ++ [xs] = [xs,xs]
常に真なのは
[[]] ++ [xs] = [[],xs]
[xs] ++ [] = [xs]
[xs] ++ [xs] = [xs,xs]
常に偽なのは
[[]] ++ xs = xs
[[]] ++ xs = [[],xs]