lean4-htt/tests/lean/letFun.lean.expected.out
Kyle Miller e29d75a961
feat: have pp.proofs use for omission (#3241)
By having the `pp.proofs` feature use `⋯` when omitting proofs, when
users copy/paste terms from the InfoView the elaborator can give an
error message explaining why the term cannot be elaborated.

Also adds `pp.proofs.threshold` option to allow users to pretty print
shallow proof terms. By default, only atomic proof terms are pretty
printed.

This adjustment was suggested in PR #3201, which added `⋯` and the
related `pp.deepTerms` option.
2024-02-15 21:49:41 +00:00

26 lines
398 B
Text

let_fun f := fun x => x * 2;
let_fun x := 1;
let_fun y := x + 1;
f (y + x) : Nat
a b : Nat
h1 : a = 0
h2 : b = 0
⊢ (let_fun x := 1;
x + x) >
b
(let_fun this := id;
this)
1 : Nat
a b : Nat
h : a > b
⊢ a > b
let_fun n := 5;
{ val := [], property := (⋯ : 0 ≤ n) } : { as // List.length as ≤ 5 }
rfl : (let_fun n := 5;
n) =
let_fun n := 5;
n
rfl : 2 = 2
5
let_fun n := 5;
n