lean4-htt/tests/lean/letFun.lean.expected.out
Kyle Miller acb188f11c
feat: apply pp_using_anonymous_constructor attribute (#3735)
This attribute, which was implemented in #3640, is applied to the
following structures: `Sigma`, `PSigma`, `PProd`, `And`, `Subtype`, and
`Fin`. These were given this attribute in Lean 3.
2024-03-22 00:30:36 +00:00

26 lines
367 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
⊢ b <
let_fun x := 1;
x + x
(let_fun this := id;
this)
1 : Nat
a b : Nat
h : a > b
⊢ b < a
let_fun n := 5;
⟨[], ⋯⟩ : { 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