http://deni-ok.livejournal.com/ ([identity profile] deni-ok.livejournal.com) wrote in [personal profile] deniok 2014-01-06 04:26 pm (UTC)

Если не говорить --without-K, то агдин паттерн-матчинг схлопывает все доказательства пропозиционального равенства в одно:
data _≡_ {A : Set} : A → A → Set where
  refl : ∀ x → x ≡ x

-- можем доказать единственность доказательства равенства
-- uniqueness of identity proofs, uip
uip : {A : Set} (x y : A) (p q : x ≡ y) →  p ≡ q
uip .x .x (refl x) (refl .x)  = refl (refl x)
И никаких гомотопий :)

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting