Zulip Chat Archive
Stream: metaprogramming / tactics
Topic: Implicit Arguments in Rewrites
Harun Khan (Oct 09 2023 at 09:22):
Hi, how do I skip over implicit arguments when using Lean.MVarId.Rewrite? In other words, what's the equivalent of an underscore when using therewrite tactic. I've been making fresh mvars to simulate underscores. For instance,
let m1 ← mkFreshExprMVar (Expr.const ``Nat [])
but this gets long and tedious really quickly. What's an alternative?
Scott Morrison (Oct 09 2023 at 09:24):
Do you know about mkAppM?
Harun Khan (Oct 09 2023 at 09:27):
Scott Morrison said:
Do you know about
mkAppM?
Oh this is what I need! Thanks!
Last updated: May 02 2025 at 03:31 UTC