Skip to content

Commit

Permalink
chore: rename simp sets (#7018)
Browse files Browse the repository at this point in the history
This is preliminary to #7017; we'll need an update-stage0 before the
actual rename can take place.
  • Loading branch information
kim-em authored Feb 10, 2025
1 parent 1622f57 commit 80cf782
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Lean/Elab/Tactic/BoolToPropSimps.lean
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ Authors: Tobias Grosser
prelude
import Lean.Meta.Tactic.Simp.Attr

builtin_initialize bool_to_prop : Lean.Meta.SimpExtension ←
Lean.Meta.registerSimpAttr `bool_to_prop
"simp lemmas converting boolean expressions in terms of `decide` into propositional statements"

@[deprecated bool_to_prop (since := "2025-02-10")]
builtin_initialize boolToPropSimps : Lean.Meta.SimpExtension ←
Lean.Meta.registerSimpAttr `boolToPropSimps
"simp lemmas converting boolean expressions in terms of `decide` into propositional statements"
5 changes: 5 additions & 0 deletions src/Lean/Elab/Tactic/Omega/Frontend.lean
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,11 @@ def evalOmega : Tactic
omegaTactic cfg
| _ => throwUnsupportedSyntax

builtin_initialize bitvec_to_nat : SimpExtension ←
registerSimpAttr `bitvec_to_nat
"simp lemmas converting `BitVec` goals to `Nat` goals"

@[deprecated bitvec_to_nat (since := "2025-02-10")]
builtin_initialize bvOmegaSimpExtension : SimpExtension ←
registerSimpAttr `bv_toNat
"simp lemmas converting `BitVec` goals to `Nat` goals, for the `bv_omega` preprocessor"

0 comments on commit 80cf782

Please sign in to comment.