lean4-htt/tests/lean/run/1963.lean
2022-12-21 21:42:07 +01:00

9 lines
203 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.

variable (x : Id Nat) (h : x = x)
theorem Id_def : Id α = α := rfl
theorem bar : x = x.succ := by
rw [Id_def] at x
-- rw should not expose the auxdecl `bar`:
fail_if_success assumption
sorry