lean4-htt/tests/lean/run/1863.lean
2017-12-20 15:12:02 -08:00

16 lines
544 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.

constant T : Type → Type
variables {α : Type}
def f : αα := sorry
variables [decidable_eq α] {x y : T α}
axiom foo : true → f x = x
example : f x = x := by simp only [foo true.intro]
example : f x = x := by simp only [foo _]
example : f x = x := by simp [foo true.intro]
example : f x = x := by simp [foo _]
def g : ααα := sorry
variables [decidable_eq (T α)]
axiom bar : true → g x y = x
example : g x y = x := by simp [bar _]
example : g x y = x := by simp [bar true.intro]
example : g x y = x := by simp [bar]