refactoring
- move over to env for unify et al - fix issue where constraint had short context - drop parameters block - make it clear where context is being used
This commit is contained in:
@@ -32,6 +32,7 @@ replace : {A : U} {a b : A} -> (P : A -> U) -> a ≡ b -> P a -> P b
|
||||
replace p Refl x = x
|
||||
|
||||
cong : {A B : U} {a b : A} -> (f : A -> B) -> a ≡ b -> f a ≡ f b
|
||||
cong f Refl = Refl
|
||||
|
||||
thm : {A : U} (xs ys : List A) -> length (xs ++ ys) ≡ length xs + length ys
|
||||
thm Nil ys = Refl
|
||||
|
||||
Reference in New Issue
Block a user