lean4-htt/tests/lean/refineOccursCheck.lean
2022-03-31 18:08:05 -07:00

11 lines
215 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.

theorem ex1 : True := by
refine ?a
refine ?a
refine ?a
exact True.intro
axiom ax.{u} {α : Sort u} (a : α) : α
theorem ex2 : True := by
refine ?a
refine ax ?a -- Error trying to assign `?a := ax ?a`