blob: b9d0b7d7904d01045553e4bb68a2a08a5d1f9b1c [file]
import Lean
open Lean.Elab.Tactic
variable (p q : Prop)
theorem foo (h : p ∧ q) : q ∧ p := by
run_tac liftMetaTactic1 (·.revertAll)
guard_target =ₛ ∀ (p q : Prop), p ∧ q → q ∧ p
sorry
theorem bla (h : p ∧ q) : q ∧ p := by
revert p q
guard_target =ₛ ∀ (p q : Prop), p ∧ q → q ∧ p
sorry