-
Notifications
You must be signed in to change notification settings - Fork 257
Open
Labels
Description
In Data.List.Properties
we have:
unfold-reverse : ∀ (x : A) xs → reverse (x ∷ xs) ≡ reverse xs ∷ʳ x
ʳ++-defn : ∀ (xs : List A) {ys} → xs ʳ++ ys ≡ reverse xs ++ ys
Both lemmas are filling the same essential role: explain a complex
function (for efficiency reasons) in terms of more basic building
blocks. I think they should follow the same naming scheme & am in
favour of the unfold-X
pattern.