You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's an example from Zulip where simp? doesn't include all necessary lemmas:
import data.setoid.partition
example {α : Type} {r : setoid α} (a : α): ∃! (b : set α), b ∈ r.classes ∧ a ∈ b :=
begin
convert @setoid.classes_eqv_classes _ r a,
simp? -- Try this: simp only [eq_self_iff_true]end
squeeze_simp returns simp only [exists_prop, exists_unique_iff_exists], which does work.
simp?
outputs aTry this: simp only [foo, bar]
message using a different mechanism thansqueeze_simp
.Hopefully it is more reliable and faster.
Eventually
simp?
could replacesqueeze_simp
, but at the momentsqueeze_simp
support more variants ofsimp
in itsTry this
output:squeeze_simpa
deals withsimpa
squeeze_simp
can work with extra config options, such assqueeze_simp { contextual := tt }
The text was updated successfully, but these errors were encountered: