Skip to content

Naming of unfolding lemmas #1252

@gallais

Description

@gallais

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions