conv => ... allows the user to perform targeted rewriting on a goal or hypothesis,
by focusing on particular subexpressions.
See https://lean-lang.org/theorem_proving_in_lean4/conv.html for more details.
Basic forms:
-
conv => cswill rewrite the goal with conv tacticscs. -
conv at h => cswill rewrite hypothesish. -
conv in pat => cswill rewrite the first subexpression matchingpat(seepattern).