@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.
9 lines
168 B
Text
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
|