I'm thinking on how to add funext to a Type Theory in the spirit of that answer
my understanding is that OTT, as presented, introduces computation rules for a built-in identity / propositional equality type. for example, in OTT, we'd have something like:
Eq (A,B) (a0,b0) (a1,b1)
reduce to
(Eq A a0 a1 , Eq B b0 b1)