301.lean:1:9-1:17: error: missing cases: (Nat.succ _) 301.lean:1:21-1:24: error: type mismatch «» («» fun x => match x with | 0 => 0) has type Nat → Nat : Type but is expected to have type Nat : Type