Mercurial > hg > Papers > 2020 > ryokka-master
view paper/src/zero.agda @ 19:046b2b20d6c7 default tip
fix
author | ryokka |
---|---|
date | Mon, 09 Mar 2020 11:25:49 +0900 |
parents | e8655e0264b8 |
children |
line wrap: on
line source
+zero : { y : ℕ } → y + zero ≡ y +zero {zero} = refl +zero {suc y} = cong suc ( +zero {y} ) -- cong : ∀ (f : A → B) {x y} → x ≡ y → f x ≡ f y -- cong f refl = refl