This PR adds improved support for proof-by-reflection to the kernel type checker. It addresses the performance issue exposed by #9854. With this PR, whenever the kernel type-checks an argument of the form `eagerReduce _`, it enters "eager-reduction" mode. In this mode, the kernel is more eager to reduce terms. The new `eagerReduce _` hint is often used to wrap `Eq.refl true`. The new hint should not negatively impact any existing Lean package. --------- Co-authored-by: Joachim Breitner <mail@joachim-breitner.de>
2 lines
68 B
Text
2 lines
68 B
Text
example (x: Nat) : UInt32.size - x < UInt64.size := by
|
|
grind only
|