lean4-htt/tests/lean/run/310.lean
Leonardo de Moura 21878030d1 fix: fixes #310
@Kha I implemented the following approach:

- Error if user tries to revert `auxDecl`.
- Clear any `auxDecl` that depends on variables being reverted by the user.
2021-02-12 18:14:42 -08:00

9 lines
168 B
Text

variable (xs : List Nat)
theorem foo1 : xs = xs := by
induction xs <;> rfl
theorem foo2 : xs = xs := by
cases xs with
| nil => rfl
| cons x xs => rfl