lean4-htt/tests/lean/auxDeclIssue.lean
2020-10-25 09:16:38 -07:00

19 lines
375 B
Text

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`
}