lean4-htt/tests/lean/474.lean.expected.out
Kyle Miller d569ed4e5f
feat: make loose fvars pretty print as _fvar.123 instead of _uniq.123 (#3380)
Loose fvars are never supposed to be pretty printed, but having them
print with "fvar" in the name can help with debugging broken tactics and
elaborators.

Metaprogramming users often do not realize at first that `_uniq.???` in
pretty printing output refers to fvars not in the current local context.
2024-02-18 01:53:37 +00:00

8 lines
177 B
Text

let y := Nat.zero;
Nat.add y y
fun y_1 => Nat.add y y_1
fun y => Nat.add _fvar.1 y
fun (y : Nat) => Nat.add y y
Nat.add ?m y
Nat.add (?m #0) #0
fun y => Nat.add (Nat.add y y) y