Skip to content

Commit bf73a26

Browse files
committed
chore: Simp.Config.implicitDefEqProofs := true by default
Motivation: unblock PR #4595 `Simp.Config.implicitDefEqProofs := false` is currently creating too many issues in Mathlib.
1 parent a94805f commit bf73a26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Init/MetaTypes.lean

+2-2
Original file line numberDiff line numberDiff line change
@@ -219,13 +219,13 @@ structure Config where
219219
-/
220220
index : Bool := true
221221
/--
222-
When `true` (default: `false`), `simp` will **not** create a proof for a rewriting rule associated
222+
When `true` (default: `true`), `simp` will **not** create a proof for a rewriting rule associated
223223
with an `rfl`-theorem.
224224
Rewriting rules are provided by users by annotating theorems with the attribute `@[simp]`.
225225
If the proof of the theorem is just `rfl` (reflexivity), and `implicitDefEqProofs := true`, `simp`
226226
will **not** create a proof term which is an application of the annotated theorem.
227227
-/
228-
implicitDefEqProofs : Bool := false
228+
implicitDefEqProofs : Bool := true
229229
deriving Inhabited, BEq
230230

231231
-- Configuration object for `simp_all`

0 commit comments

Comments
 (0)