lean4-htt/tests/lean/run/2143.lean
2024-08-23 09:31:49 +00:00

14 lines
371 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.

/-!
The elaboration pre-check of `variable`s should not fail on mixed binder updates (nor on shadowing)
-/
variable (α : Type _) [OfNat α (nat_lit 0)]
variable {α} (x : α) (h : x = 0)
variable (α : Type _) [OfNat α (nat_lit 0)]
variable {α} (x : α)
variable (h : x = 0)
variable (α : Type _) [OfNat α (nat_lit 0)]
variable {α}
variable (x : α) (h : x = 0)