@jonmsterling @ncf @AndrasKovacs @mevenlennonbertrand Injectivity holds as a con...
Rafaël Bocquet @rafaelbocquet@mathstodon.xyz
@jonmsterling @ncf @AndrasKovacs @mevenlennonbertrand
Injectivity holds as a consequence of normalization, but we don't know this yet when defining the normalization model.
I'm proving normalization for a type theory with a non-linear equation, meaning that normalization has to be interleaved with decidability of equality. For example, the equality "transport(b,x,x,p) = b", seen as a conditional reduction "transport(b,x,y,p) = b when x and y are convertible". I discussed the difficulties with that in section 6.5.3 of my thesis, and finally found a promising approach recently.
The main obstacle was that at some point, we have two elements x', y' of (proof-relevant) logical predicates over terms x,y, and we can decide the equality of (the normal forms of) x and y, but we don't know how x' and y' are related when (x = y).
The solution is to define an operation "cast", similar to the cast of observational type theory, but at the level of logical predicates. As in obstt, it should compute by double recursion on the normalization structure of types (this requires a closed universe of normalization structures), and needs some form of injectivity and disjointness of type formers.