@NathanielB @jonmsterling @ncf @AndrasKovacs @mevenlennonbertrand I think that s...
Rafaël Bocquet @rafaelbocquet@mathstodon.xyz
@NathanielB @jonmsterling @ncf @AndrasKovacs @mevenlennonbertrand
I think that something this should work. From what I understand of your mechanisation, the reason why it works is that your values of type ℤ are the same thing as normal forms of type ℤ. AFAIK, this doesn't generalize to e.g. ℤ[A] for an arbitrary type A (As long as you have an eliminator for ℤ[A] that needs to look into A, and not merely at normal forms of type A. Maybe iszero is still ok, but "isvariable : ℤ[A] → Maybe(A)" would be problematic.)