Skip to content

Commit

Permalink
chore: Simp.Config.implicitDefEqProofs := true by default
Browse files Browse the repository at this point in the history
Motivation: unblock PR #4595
`Simp.Config.implicitDefEqProofs := false` is currently creating too
many issues in Mathlib.
  • Loading branch information
leodemoura committed Jul 18, 2024
1 parent a94805f commit bf73a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Init/MetaTypes.lean
Original file line number Diff line number Diff line change
Expand Up @@ -219,13 +219,13 @@ structure Config where
-/
index : Bool := true
/--
When `true` (default: `false`), `simp` will **not** create a proof for a rewriting rule associated
When `true` (default: `true`), `simp` will **not** create a proof for a rewriting rule associated
with an `rfl`-theorem.
Rewriting rules are provided by users by annotating theorems with the attribute `@[simp]`.
If the proof of the theorem is just `rfl` (reflexivity), and `implicitDefEqProofs := true`, `simp`
will **not** create a proof term which is an application of the annotated theorem.
-/
implicitDefEqProofs : Bool := false
implicitDefEqProofs : Bool := true
deriving Inhabited, BEq

-- Configuration object for `simp_all`
Expand Down

0 comments on commit bf73a26

Please sign in to comment.