Skip to content

linter.checkUnivs triggers for BundledGFunctors and other definitions. #517

Description

@ayhon

When upgrading from v4.31.0 to v4.32.0, a new linter checkUnivs started to trigger for various definitions in Iris Lean, in particular that of BundledGFunctors. The linter complains that, although BundledGFunctors is polymorphic over three universes, it is only ever used in situations where all universes are the same. In #514 we opted to simply disable the linter for these definitions, however it might be worth considering whether it makes sense to change the definitions so they don't require more universes than usual.

The definitions which trigger this linter are:

  1. BundledGFunctors, GFunctor and OFunctorPre, all because of OFunctorPre
  2. Std.PartialMap.zip
  3. Iris/Std/Prod.lean:mapAllM

Metadata

Metadata

Assignees

No one assigned

    Labels

    ImprovementNot a bug, but something can still be improved

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions