Skip to content

Commit 51f01d8

Browse files
authored
feat: expose index option to dsimp tactic (#5071)
makes the option introduced in #4202 also available when using `dsimp`
1 parent b486c67 commit 51f01d8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Init/MetaTypes.lean

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,11 @@ structure Config where
104104
That is, given a local context containing entry `x : t := e`, the free variable `x` reduces to `e`.
105105
-/
106106
zetaDelta : Bool := false
107+
/--
108+
When `index` (default : `true`) is `false`, `simp` will only use the root symbol
109+
to find candidate `simp` theorems. It approximates Lean 3 `simp` behavior.
110+
-/
111+
index : Bool := true
107112
deriving Inhabited, BEq
108113

109114
end DSimp

0 commit comments

Comments
 (0)