Skip to content

Commit

Permalink
feat: expose index option to dsimp tactic (#5071)
Browse files Browse the repository at this point in the history
makes the option introduced in #4202 also available when using `dsimp`
  • Loading branch information
nomeata authored Aug 19, 2024
1 parent b486c67 commit 51f01d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Init/MetaTypes.lean
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51f01d8

Please sign in to comment.