ufmg-smite / lean-smt

Tactics for discharging Lean goals into SMT solvers.
Apache License 2.0
93 stars 19 forks source link

RW Tactic Works for Empty Lists #83

Closed mhk119 closed 4 months ago

mhk119 commented 6 months ago

Before the tactic would fail on the following example:

example : (True ∧ p1) = p1 := sorry

The idea implemented is the following:

example : (True ∧ p1) = p1 := by
  have := @bool_and_true True' p1
  rw [true'_and, true'_and] at this
  rw [this]