lean4-htt/tests/lean/auxDeclIssue.lean
Leonardo de Moura 9f5e63cd3c feat: add option pp.macroStack
@Kha I set it to `false` by default.
2020-09-16 15:29:28 -07:00

19 lines
387 B
Text

new_frontend
theorem ex1 : False :=
by {
assumption -- should not use the auxiliary declaration `ex1 : False`
}
variables (x y : Nat) in
theorem ex2 : x = y :=
by {
subst x; -- should not use the auxiliary declaration `ex2 : x = y`
exact rfl
}
set_option pp.auxDecls true in
theorem ex1 : False :=
by {
assumption -- should not use the auxiliary declaration `ex1 : False`
}