import Lean def test (a : Nat) := let foo := match a with | .zero => a | .succ b => b Nat.add foo .zero run_meta Lean.Compiler.compile #[``test]