fix: set zeta to true at pattern conv tactic

This commit is contained in:
Leonardo de Moura 2021-10-22 14:14:49 -07:00
parent 4c335fd660
commit 881bf2a088

View file

@ -13,7 +13,10 @@ private def getContext : MetaM Simp.Context := do
return {
simpLemmas := {}
congrLemmas := (← getCongrLemmas)
config.zeta := false
/-
The `pattern` conv tactic is based on `conv`, and rewriting `let` terms may produce type incorrect results.
-/
config.zeta := true
config.beta := false
config.eta := false
config.iota := false