I was attempting to answer this question with an algorithm based on an answer I gave as an exercise posed by Z.A.K here.
I think it is easy to show the decidability of IPC by converting to S4 and then appealing to the decidability of some tableau calculus for modal logic.
However, I feel like it should be possible to prove this by computing a conservative upper bound on the size of topology that one needs to check for a well-formed formula of a given size.
I am completely stuck on the inductive step when attempting to prove a bound on the size of finite topologies that I have to check.
My strategy was going to be, for an arbitrary formula $\varphi$, to pick a really dumb upper bound on the size of topologies I am going to look at, and then look at all the finite topologies over sets of that size or smaller.
Let $|\varphi|$ be the number of variables + the number of connectives in $\varphi$.
For safety, I will pick $2^{|\varphi|}$ as the size of the largest set to look at.
Consider all possible topologies on $[1..2^{|\varphi|}]$, with the whole space as the sole designated truth value in each topology $\tau$.
It's easy enough to prove that this bound works for well-formed formulas of the form $A$ and $\lnot A$ (as well as trivially $\top$ and $\bot$).
However, I'm having a really hard time figuring out how to induct on the structure of $\varphi$.
It isn't clear to me how much I have to grow the maximum size of my allowed topology to refute $\lnot \varphi$, given that $n$ refutes a formula of length $|\varphi|$.
Is there an easy bound and a straightfoward way to prove it?
Is the bound perhaps different for each connective? (On a rough impressionistic level, $\land$ seems to suggest maybe looking at a box topology or something.)