Skip to content

refactor(pfunctor): simplify universe annotations #120

Description

@quangvdao

Problem

The universe lifting equivalences in PFunctor.Equiv require dense explicit universe annotations. A source TODO asks for a clearer approach.

Proposed work

Review the lifting equivalences and reduce explicit universe arguments where Lean can infer them reliably. Small private helpers are acceptable when they make the public definitions clearer and keep elaboration stable.

Location

PolyFun/PFunctor/Equiv/Basic.lean

Acceptance criteria

  • The lifting equivalences compile with fewer or better localized universe annotations.
  • The public types and universe generality do not regress.
  • Focused tests cover representative mixed universe cases.
  • The source TODO is removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions