leanprover-community / mathlib

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

Zulip Chat Archive

Stream: new members

Topic: type rewriting


Antoine Chambert-Loir (Mar 22 2022 at 14:04):

At some point of a proof, I have terms x : fin m and h : m = n, and I need to produce y : fin n.
However, the naturalrw h at x produces a new x : fin n which I can't relate to the earlier one (which my goal proof indicates as x_1).
What can I do?

Reid Barton (Mar 22 2022 at 14:05):

Use docs#fin.cast


Last updated: May 02 2025 at 03:31 UTC

Theme Simple by wildflame © 2016 Powered by jekyll