feat: heterogeneous constructor injectivity theorems

This PR adds a heterogeneous version of the constructor injectivity theorems.
These theorems are useful for indexed families, and will be used in `grind`.
3 files changed