This PR strips the `Expr.mdata` that `WF.Fix` uses to associate goal with recursive calls from the goal presented to the tactics. Fixes #10895.
7 lines
110 B
Text
7 lines
110 B
Text
def f (n : Nat) : Nat :=
|
|
if h : n = 0 then
|
|
1
|
|
else
|
|
2 * f (n-1)
|
|
decreasing_by
|
|
apply Nat.pred_lt h
|