leanprover-community / mathlib

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

Zulip Chat Archive

Stream: new members

Topic: Execute tactic block n times


Donald Sebastian Leung (Apr 10 2020 at 07:36):

In Coq, we can execute a tactic or sequence of tactics n times by do n some_tactic or do n (tactic1; tactic2; ...; tactic_n). Is there a similar functionality in Lean?

Johan Commelin (Apr 10 2020 at 07:37):

iterate n { foo, bar }

Donald Sebastian Leung (Apr 10 2020 at 07:37):

Thanks!


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll