Category "coq"

Proof by contradiction in Coq

I am trying to understand the apparent paradox of the logical framework of theorem provers like Coq not including LEM yet also being able to construct proofs by

Fail to rewrite list with app_removelast_last

I have an environment which looks like this: P: list nat -> Prop Hnil: P [] ... xs, xp: list nat Hex: xp = a :: xs Hnilcons: xp <> [] =================

What exactly is a Set in Coq

I'm still puzzled what the sort Set means in Coq. When do I use Set and when do I use Type? In Hott a Set is defined as a type, where identity proofs are unique