blob: f857771074d133b86e4c3e582aaf4c34c64f5d60 [file]
def f (n : Nat) : Nat :=
if h : n = 0 then
1
else
2 * f (n-1)
decreasing_by
apply Nat.pred_lt h