lean4-htt/tests/lean/run/iffRefl.lean
2022-04-15 08:51:05 -07:00

6 lines
162 B
Text

macro_rules | `(tactic| rfl) => `(tactic| exact Iff.rfl)
theorem r (A : Prop) : A ↔ A := by rfl
theorem s (A B : Prop) (h : A ↔ B) : B ↔ A := by
rw [h]