lean-crush

4.4. Higher-Order Translation🔗

🔗option
crush.ho.mode

Default value: defunctionalize

Higher-order elimination strategy: defunctionalize or native.

"defunctionalize", the default, translates functions, lambdas, and partial applications to first-order closure values. The resulting query still needs the backend's ordinary theory and quantifier support.

"native" preserves function sorts and application for cvc5, or for script export with backend "none". Other backends warn and fall back to defunctionalization. Native higher-order queries may lack an Alethe certificate; core reconstruction or a trusting policy can still be used.