lean4-htt/tests/lean/run/grind_9610.lean
Leonardo de Moura fc718eac88
feat: code action for grind parameters (#10472)
This PR adds a code action for `grind` parameters. We need to use
`set_option grind.param.codeAction true` to enable the option. The PR
also adds a modifier to instruct `grind` to use the "default" pattern
inference strategy.
2025-09-20 07:30:39 +00:00

10 lines
209 B
Text

module
set_option warn.sorry false
abbrev sixteen : UInt32 := 16
theorem foo (x: UInt32) :
x.toNat ≤ sixteen.toNat := by sorry
theorem aa (x : UInt32) :
x.toNat ≤ sixteen.toNat := by
grind [foo]