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.
10 lines
209 B
Text
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]
|