Skip to content

grind [function_name] does not work on typeclass functions #11708

@TWal

Description

@TWal

Prerequisites

Description

class Test (α: Type) where
  pred: α → Prop

instance: Test Unit where
  pred _ := True

example: Test.pred () := by
  fail_if_success grind [Test.pred]
  grind [Test.pred, instTestUnit]

Steps to Reproduce

Expected behavior: the first grind succeeds

Actual behavior: it does not

Versions

"4.28.0-nightly-2025-12-16"
"4.26.0"

Impact

Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions