Mercurial > hg > Papers > 2023 > soto-master
view Paper/src/agda-term1.agda @ 28:423f59b098ac
Add svg
author | soto <soto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 15 Feb 2023 17:18:23 +0900 |
parents | a72446879486 |
children |
line wrap: on
line source
+-comm : (x y : ℕ) → x + y ≡ y + x +-comm zero y rewrite (+zero {y}) = refl +-comm (suc x) y = let open ≡-Reasoning in begin ?0 ≡⟨ ?1 ⟩ ?2 ∎ -- ?0 : ℕ {(suc x) + y} -- ?1 : suc x + y ≡ y + suc x -- ?2 : ℕ