Open darijgr opened 4 years ago
It is exactly succ_inj
proved in Advanced Addition World, and it is not true for any function f
that's why you cannot have a general primitive because it would mean "every function ever is injective".
No, it's not injectivity. We have a goal of proving f a = f b, and we want to achieve this by proving a = b. The converse would require injectivity.
Sorry didn't read well, in this case you need the apply
tactic
How to reduce a goal that says f a = f b to a = b? I'm sure there is a primitive for this, given how fundamental this is. This is worth explaining some time before the Advanced Multiplication boss; it's really useful.