Switches from encoding `let_fun` using an annotated `(fun x : t => b) v` expression to a function application `letFun v (fun x : t => b)`. --------- Co-authored-by: Sebastian Ullrich <sebasti@nullri.ch>
9 lines
239 B
Text
9 lines
239 B
Text
1026.lean:1:4-1:7: warning: declaration uses 'sorry'
|
|
1026.lean:9:8-9:10: warning: declaration uses 'sorry'
|
|
foo._unfold (n : Nat) :
|
|
foo n =
|
|
if n = 0 then 0
|
|
else
|
|
let x := n - 1;
|
|
let_fun this := foo.proof_4;
|
|
foo x
|