lean4-htt/tests/lean/run/269.lean
Leonardo de Moura dcc2283426 fix: refineCore
closes #269
2021-01-15 17:03:40 -08:00

15 lines
320 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 haveWithSubgoals {a b : α} : a = b ↔ b = a := by
apply Iff.intro
intro h
have h' := h.symm
exact h'
intro h
exact h.symm
theorem haveWithSubgoals2 {a b : α} : a = b ↔ b = a := by {
apply Iff.intro;
intro h;
have h' := h.symm;
exact h';
intro h; exact h.symm;
}