Skip to content

Repr for WithTop and WithBot does not handle precedence correctly #45767

Open

Description

@FeldrinH

See https://github.com/leanprover-community/mathlib4/blob/master/Mathlib/Order/TypeTags.lean#L27-L38

The coercion operator (↑) has a precedence of 1024 and the Repr implementations should pass that on so inner implementations can correctly add parentheses.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions