feat: expose index option to dsimp tactic (#5071)

makes the option introduced in #4202 also available when using `dsimp`
This commit is contained in:
Joachim Breitner 2024-08-19 09:57:16 +02:00 committed by GitHub
parent b486c6748b
commit 51f01d8c8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -104,6 +104,11 @@ structure Config where
That is, given a local context containing entry `x : t := e`, the free variable `x` reduces to `e`.
-/
zetaDelta : Bool := false
/--
When `index` (default : `true`) is `false`, `simp` will only use the root symbol
to find candidate `simp` theorems. It approximates Lean 3 `simp` behavior.
-/
index : Bool := true
deriving Inhabited, BEq
end DSimp