How to use Prop from UTT to Agda

In Ulf Norell's theses, he mentions that Agda is based on Lo UTT. However, I cannot find a way to use Prop there. Is there any way to do this?

+4
source share
1 answer

The Prop universe appeared in an earlier version of Agda, but has since been removed. In fact, Propit remains the key word in Agda, but with its help an error appears Prop is no longer supported. Depending on what you want to achieve, you have several options:

  • You can take a look at the Agda function of proof of non-compliance .

  • , Prop = Set. , , , , - Prop.

  • , () HoTT, Agda hProp = Σ[ X ∈ Set ] ((x y : X) → x ≡ y). , , .

+5

Source: https://habr.com/ru/post/1534171/


All Articles