addZero now works
distinguish two modes of unification while pattern matching we return constraints on variables, and normally we are more aggressive about evaluating when matching against a variable. fixes to `let` surface #check in vscode
This commit is contained in:
@@ -15,4 +15,7 @@ two : Eq (plus (S Z) (S Z)) (S (S Z))
|
||||
two = Refl
|
||||
|
||||
three : Eq (plus (S Z) (S (S Z))) (plus (S (S Z)) (S Z))
|
||||
three = Refl {Nat} {S (S (S Z))}
|
||||
three = Refl
|
||||
|
||||
addZero : {n : Nat} -> Eq (plus Z n) n
|
||||
addZero {n} = Refl
|
||||
|
||||
Reference in New Issue
Block a user