Skip to content

Hol functional extensionality#874

Merged
MichaelRawson merged 4 commits into
masterfrom
hol-functional-extensionality
Jul 3, 2026
Merged

Hol functional extensionality#874
MichaelRawson merged 4 commits into
masterfrom
hol-functional-extensionality

Conversation

@mezpusz

@mezpusz mezpusz commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Adding functional extensionality to HOL, that can be enabled by func_ext=abstraction. The option was already there but didn't do anything until now. I switched the default option to off for now, as abstraction gives slightly fewer proofs on THX problems. First-order benchmarks are unaffected by the change.

We should later probably also do this for variable sorts, as well as Booleans (= Boolean extensionality), but I wasn't sure if those cases can be safely covered currently.

THX with func_ext=abstraction:

Discount:
master unsat: 2147 (77) sat: 1 (0) cputime: 9545.21 s instructions: 49204782 Mi memory: 136339.48 MB
branch unsat: 2136 (66) sat: 1 (0) cputime: 9729.12 s instructions: 49982726 Mi memory: 139925.18 MB

Otter:
master unsat: 2126 (70) sat: 1 (0) cputime: 9863.07 s instructions: 49617558 Mi memory: 180796.81 MB
branch unsat: 2121 (65) sat: 1 (0) cputime: 10025.58 s instructions: 50147647 Mi memory: 182001.22 MB

Note that ~30 problems switched from INCOMPLETE to being solved.

@MichaelRawson MichaelRawson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

Comment thread Kernel/UnificationWithAbstraction.cpp
@MichaelRawson MichaelRawson merged commit 1e13226 into master Jul 3, 2026
1 check passed
@MichaelRawson MichaelRawson deleted the hol-functional-extensionality branch July 3, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants