make p,q in coe/comp optional and default to @0 @1

This commit is contained in:
rhiannon morris 2023-05-15 19:57:10 +02:00
parent 7b93a913c7
commit d631b86be3
7 changed files with 73 additions and 31 deletions

View file

@ -51,7 +51,7 @@ def zero-not-succ : 0.(m : ) → Not (zero ≡ succ m : ) =
λ m eq ⇒ coe [𝑖 ⇒ IsSucc (eq @𝑖)] @1 @0 'true;
def succ-not-zero : 0.(m : ) → Not (succ m ≡ zero : ) =
λ m eq ⇒ coe [𝑖 ⇒ IsSucc (eq @𝑖)] @0 @1 'true;
λ m eq ⇒ coe [𝑖 ⇒ IsSucc (eq @𝑖)] 'true;
def0 not-succ-self : 0.(m : ) → Not (m ≡ succ m : ) =