lean4-htt/tests/lean/listLength.lean.expected.out
Henrik Böving cad960267b
refactor: port borrow inference to LCNF (#12413)
This PR ports the IR borrow pass to LCNF.
2026-02-11 12:08:17 +00:00

6 lines
176 B
Text

[Compiler.inferBorrow] size: 3
def f @&xs : tobj :=
let _x.1 := 2;
let _x.2 := List.lengthTR._redArg xs;
let _x.3 := Nat.mul _x.1 _x.2;
return _x.3