In COQ the type prod (with one constructor pair) corresponds to cartesian product and the type sig (with one constructor exist) to dependent sum but how is described the fact that the cartesian product is a particular case of dependent sum? I wonder there is a link between prod and sig, for instance some definitional equality but I don’t find it explicitely in the reference manual.
In COQ the type prod (with one constructor pair) corresponds to cartesian product and
Share
As a matter of fact, the type
prodis more akin tosigTthansig:From a meta-theoretic point of view, prod is just a special case of sigT where your
sndcomponent does not depend on yourfstcomponent. That is, you could define:They can not be definitionally equal though, since they are different types. You could show a bijection:
But that’s not very interesting… 🙂