perf: always zeta reduce let expressions in cbv (#12397)

This PR adds zeta reduction simproc to the pre step of `cbv`.
This commit is contained in:
Wojciech Różowski 2026-02-09 18:45:58 +00:00 committed by GitHub
parent 57c5efe309
commit af2444a140
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -145,7 +145,7 @@ def cbvPre : Simproc :=
isBuiltinValue <|> isProofTerm <|> skipBinders
>> isOpaqueApp
>> simpControlCbv
<|> ((isOpaqueConst >> handleConst) <|> simplifyAppFn <|> handleProj)
<|> ((isOpaqueConst >> handleConst) <|> simplifyAppFn <|> handleProj) <|> zetaReduce
def cbvPost : Simproc :=
evalGround