Skip to content

Skolemization format update#849

Merged
MichaelRawson merged 11 commits into
masterfrom
skolemization-tstp
May 26, 2026
Merged

Skolemization format update#849
MichaelRawson merged 11 commits into
masterfrom
skolemization-tstp

Conversation

@i-am-a-teapot

Copy link
Copy Markdown
Contributor

Update for TPTP proof output for Skolemization for #843

i-am-a-teapot and others added 2 commits April 29, 2026 14:33
Co-authored-by: Copilot <copilot@github.com>
@i-am-a-teapot i-am-a-teapot marked this pull request as ready for review May 7, 2026 12:31
@i-am-a-teapot

Copy link
Copy Markdown
Contributor Author

The TSTP standard has changed to allow multiple skolemizations now, which this new format should be compatible with.
I ran some test files which looked fine, however there may be edge cases which I am not aware of (seems like skolemization works slighlty differently for higher order things)

@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.

Hi @i-am-a-teapot - thanks for the patch! Got some questions about it but it's looking good, we should have this in for CASC. :)

Comment thread Shell/Skolem.cpp Outdated
Comment thread Kernel/InferenceStore.cpp Outdated
Comment thread Kernel/InferenceStore.cpp Outdated
Comment thread Kernel/InferenceStore.cpp
Comment thread Shell/Skolem.hpp Outdated
@easychair

easychair commented May 10, 2026 via email

Copy link
Copy Markdown
Contributor

@i-am-a-teapot

Copy link
Copy Markdown
Contributor Author

Skolemization previously consisted of two steps in our proof output: Introducing the symbol and another step which is the eliminating the existential.
The TSTP format is now slightly changed so we need to be more detailed for skolemization (so we keep recording skolemization!). Pretty much the simplest way of adhering to the required format, is to just do everything in one single step (printing all relevant detail in this single step) instead of splitting it in two.

Comment thread Kernel/SubstHelper.hpp
@MichaelRawson

Copy link
Copy Markdown
Contributor

@quickbeam123 - this is now screwing with SubstHelper because it wasn't substituting sort variables in quantifier blocks. Could you take a quick look to double check?

Comment thread Shell/Skolem.hpp Outdated
@quickbeam123

quickbeam123 commented May 22, 2026

Copy link
Copy Markdown
Collaborator

@quickbeam123 - this is now screwing with SubstHelper because it wasn't substituting sort variables in quantifier blocks. Could you take a quick look to double check?

The change definitely looks like an improvement! Thank you for proposing it, @i-am-a-teapot !

@MichaelRawson MichaelRawson merged commit b81e738 into master May 26, 2026
1 check passed
@MichaelRawson MichaelRawson deleted the skolemization-tstp branch May 26, 2026 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants