Zulip Chat Archive
Stream: mathlib4
Topic: rename bvar
Yury G. Kudryashov (Dec 24 2023 at 05:05):
I tried to use docs#rename_bvar on a goal with lots of x/a variables introduced by simp and found 3 issues:
- the syntax expects
rename_bvar a → b, notrename_bvar a bas the documentation says; I'll open a PR tonight or tomorrow; - the syntax doesn't support renaming more than 1 variable;
- if I have
xat more than 1 level, then Lean pretty prints them asxandx_1butrename_bvarrenames all of them at once.
Last updated: May 02 2025 at 03:31 UTC