r/ProgrammingLanguages • u/zorates17 • Apr 11 '26
Discussion Are skolemized and unskolemized formulas equivalent in constructive logic?
I don't know if this is the correct subreddit for this question, apologies in case it's not.
But basically the reason why I think this is from what I half-remember about constructive logic, the \exists quantifier is quite strong and says that you can produce a witness that satisfies the formula inside the quantifier. But this method of producing a witness is exactly the function we replace the quantifier with when skolemizing.
Please let me know if I'm making some incorrect assumptions or using the wrong terminology -- I'm relatively new to type theory.
7
u/revannld Apr 11 '26
Please also post on r/logic and r/math.
7
u/Recycled5000 Apr 11 '26
In First Order Logic, functions are simply assumed to exist, which is why/how skolemization works.
6
u/integrate_2xdx_10_13 Apr 11 '26
No - I read a nice bit on this recently, I’ll try and dig out where I found it. But Skolemization preserves equisatisfiability in a sentence but the two forms are not equivalent. All good in classic FOL. When you go to intuionistic or HoTT (and I’m pretty sure I read all this in a HoTT reference), your semantics change and it’s no longer equisatisfiable.
What you can do, and it’s not far off what you’re wanting, is Church encoding instead.