chore: make simpCond public (#12391)
This PR makes `simpCond` public. It is needed to avoid code duplication in #12361
This commit is contained in:
parent
7a8e011603
commit
4401117a6a
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ def simpDIte : Simproc := fun e => do
|
|||
/--
|
||||
Simplifies a `cond` expression (aka Boolean `if-then-else`).
|
||||
-/
|
||||
def simpCond : Simproc := fun e => do
|
||||
public def simpCond : Simproc := fun e => do
|
||||
let numArgs := e.getAppNumArgs
|
||||
if numArgs < 4 then return .rfl (done := true)
|
||||
propagateOverApplied e (numArgs - 4) fun e => do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue