Skip to content

[Typo] Sect 9 exercise error: "'List.append_assoc' has already been declared" #172

Open
@mars0i

Description

@mars0i

January 2024 FPIL sect 9--not exactly a typo, but "technical error" seems too grand.

Prove that appending lists is associative using induction on lists: theorem List.append_assoc (xs ys zs : List α) : xs ++ (ys ++ zs) = (xs ++ ys) ++ zs

List.append_assoc is defined in Basic.lean, so theorem List.append_assoc generates

error:
'List.append_assoc' has already been declared

Perhaps it's better to use a different name in the exercise. Easy enough to rename it though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    TypoTypographical or grammatical errors in the text

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions