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: Dec 20 2023 at 11:08 UTC