fix: do not apply simpAppApp? over cast
This commit is contained in:
parent
cf313d2101
commit
cd303cd8e5
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ def simpAppApp? (e : Expr) : OptionT SimpM Expr := do
|
|||
guard f.isFVar
|
||||
let f ← findExpr f
|
||||
guard <| f.isApp || f.isConst
|
||||
guard <| !f.isAppOf ``lcCast
|
||||
markSimplified
|
||||
return mkAppN f e.getAppArgs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue