You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
In Martin-Löf type theory with uip or axiom K we know that the dependent version of function extensionality can be derived from the nondependent one. Is this also true without uip?
Related results show that strong versions of dependent function extensionality can be derived from weak dependent versions. See also section 4.9 of the HoTT book. However I am not aware of results relating the dependent and nondependent versions without other axioms.
It is possible to define the dependent function type in terms of ordinary function types, identity types, and dependent sum types with the usual inference rules involving judgmental equality in the conversion rules:
where is the first projection function of the dependent sum type and is the identity function on . I'll leave it as an exercise to prove that the above type satisfies all 5 inference rules of the dependent function type.
From here, it should be a relatively simple direct proof of dependent function extensionality from non-dependent function extensionality of the types and .
I don't know if the same can be proven in weak type theory where the conversion rules use the identity type instead of judgmental equality.
I don't believe that type satisfies -conversion.
It satisfies propositional -conversion though: Given a function such that the eliminator is given by , and composing with the introduction yields a function , which is equal to by ap across . The witness that satisfies the identity in the dependent sum type is given by reflexivity across .
I think the eliminator has to transport across the propositional equality to have the right type.
For a function you actually have .
So something like ?
or more precisely
But yes.
Well then the question is still open for dependent function types which satisfy judgmental -conversion, which is what I think @Daniël Otten was asking about since the types in MLTT usually satisfy judgmental -conversion.
If the type theory already has Pi-types then I think you do still get an equivalence with this type so if we prove function extensionality for it it should transfer. At least, if we are not interested in having a definitional computation rule for function extensionality
I think we need to assume a definitional computation rule for the nondependent version of function extensionality to get definitional beta for this new definition of Pi-type
Daniël Otten said:
I think we need to assume a definitional computation rule for the nondependent version of function extensionality to get definitional beta for this new definition of Pi-type
I would have thought that would follow instead from definitional computation for Id-elimination, since abstractions in this new Pi-type have refl as their witness.
I think you have to define the new as . And then we define the new application as . Then if we have the new we need a computation rule for funext(x.refl) to compute to refl.
Why can't you define the new as ?
assuming your non-dependent function types have definitional
Ah of course! I was trying to write it out for weak type theory and there you need funext of a more complicated term.
Do you even need in that case? I think you just get on both sides if you do a reduction for inside the lambda on the left
In that case I think we get a version of -types with definitional and propositional with a computation rule (saying that computes to refl), which is also quite a natural notion as it corresponds to the positive formulation of -types.
And I guess that is sufficient to make it propositionally equivalent to any other -types, so that funext for one implies it for the other.
Yes so this should completely answer the question: even the most naive versions of funext already imply the strongest ones. With a bonus result that -types already follow from -types, -types, and -types if you only require propositional with a computation rule. Thank you both!
Just as a historical note, I checked in the TypeTopology library and the version for Π-types with η is recorded there (https://martinescardo.github.io/TypeTopology/UF.FunExt-Properties.html#778) and attributed to Voevodsky (https://github.com/vladimirias/Foundations/blob/master/Generalities/uu0.v, starting on line 2946 I believe).