Zulip Chat Archive
Stream: new members
Topic: equality of coerced terms
Jure Taslak (Jan 26 2024 at 23:51):
How do I show that if two coerced terms are equal (or not equal), that the non-coerced ones are equal (or not equal)?
e.g.
example (n : Nat) (i k : Fin n) : (i : Fin (n+1)) = (k : Fin (n+1)) → i = k := by
sorry
Jure Taslak (Jan 26 2024 at 23:55):
Nvm I got it, use https://leanprover-community.github.io/mathlib4_docs/Std/Data/Fin/Lemmas.html#Fin.castSucc_inj
Notification Bot (Jan 27 2024 at 04:44):
A message was moved here from #new members > auto-formatting? by szcze.
Notification Bot (Jan 27 2024 at 04:45):
A message was moved here from #new members > auto-formatting? by szcze.
Last updated: May 02 2025 at 03:31 UTC