leanprover-community / mathlib

  • Home
  • Zulip archive
  • API documentation
  • Lean web editor
  • Links

Zulip Chat Archive

Stream: lean4

Topic: Expanding tactic macro


Craig Disselkoen (Apr 26 2024 at 12:13):

Hi, new here. I'm wondering, if I've written a tactic macro with macro_rules, is there a way to see what a particular invocation of it expands to?

Alex J. Best (Apr 28 2024 at 16:12):

You can use

  set_option trace.Elab.step true in
  my_macro

to see some info regarding this

Craig Disselkoen (Apr 29 2024 at 11:52):

Thanks for the tip!


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll