Remark: The kernel was already using Sort. So, the limitation was artificial. Moreover, it may seem unnecessary to have quotients of proofs in a proof irrelevant system, but this is useful for proving a more general funext lemma. This more general version is needed in the new tested contributed by @digama0.
4 lines
119 B
Text
4 lines
119 B
Text
universes u
|
||
|
||
example (α : Type u) (p : Prop) (a b : α) (h : p → a = b) : (λ x : p, a) = (λ x : p, b) :=
|
||
funext h
|