lean4-htt/tests/lean/precissues.lean.expected.out
Kyle Miller 3854ba87b6
feat: pretty print letFun using have syntax (#8372)
This PR modifies the pretty printer to use `have` syntax instead of
`let_fun` syntax.
2025-05-16 15:10:01 +00:00

30 lines
705 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

id fun x => x : ?m → ?m
0 : Nat
f 1 fun x => x : Nat
0 : Nat
f 1 fun x => x : Nat
id.{u} {α : Sort u} (a : α) : α
precissues.lean:15:10-15:14: error: unexpected token 'have'; expected command
id.{u} {α : Sort u} (a : α) : α
precissues.lean:17:10-17:13: error: unexpected token 'let'; expected command
1 : Nat
id
(have this := True.intro;
this) : True
0 =
have this := 1;
this : Prop
0 =
let x := 0;
x : Prop
p ↔ ¬q : Prop
True = ¬False : Prop
p ∧ ¬q : Prop
¬p ∧ q : Prop
¬p ↔ q : Prop
¬p = q : Prop
¬p = q : Prop
id ¬p : Prop
∀ (a a : Nat), a = a : Prop
id.{u} {α : Sort u} (a : α) : α
precissues.lean:41:10-41:14: error: unexpected token 'foo!'; expected command