lean4-htt/tests/lean/run/grind_activate_local_issue.lean
Leonardo de Moura 072e3e89e3
fix: local forall activation in grind (#9880)
This PR ensures a local forall is activated at most once per pattern in
`grind`.
2025-08-12 19:49:05 +00:00

8 lines
228 B
Text

opaque p : Nat → Prop
-- Local forall should be activated only once
/-- trace: [grind.ematch] activated `h`, [p #0] -/
#guard_msgs in
example : (∀ x, p x) → p (x + 2) := by
set_option trace.grind.ematch true in
grind