2
4

1 回答 1

3

The problem is that the first equation can also be used for s+ ◃ y. Only after you know that y is not zero, the second equation applies.

The solution is simple:

lemma : ∀ y  → s+ ◃ y ≡ + y
lemma zero    = refl
lemma (suc _) = refl
于 2013-11-08T14:07:56.930 回答