Zulip Chat Archive
Stream: lean4
Topic: surprising behavior of `trivial`
Eric Wieser (Sep 24 2025 at 15:57):
This did not behave as expected:
-- produces a crazy term
#check by trivial
Aaron Liu (Sep 24 2025 at 16:01):
Without an expected type nothing's stopping it from doing everything
Eric Wieser (Sep 24 2025 at 16:05):
I guess
macro_rules | `(tactic| trivial) => `(tactic| apply And.intro <;> trivial)
is to blame; it probably shouldn't be willing to assign metavariables
Last updated: Dec 20 2025 at 21:32 UTC