lean4-htt/tests/lean/run/1815.lean
Leonardo de Moura 98922b878a fix: fixes #1815
2022-11-15 17:08:54 -08:00

10 lines
284 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 {α : Type _} [Mul α] [Inhabited α]
abbrev Left (a : α) : α := a * default
abbrev Right (a : α): α := default * a
theorem mul_comm (a b : α) : a * b = b * a := sorry
set_option trace.Meta.Tactic.simp true
example (a : α) : Left a = Right a := by
simp [mul_comm]