They are equivalent, but the equivalence is maybe better seen more abstractly.
In particular if $S$ is a subset of the points in a topological space and we've chosen a basis for the topology, then:
- $\bar{S}$ is the smallest closed set containing $S$
- $\bar{S}$ is the intersection of all closed sets containing $S$
- $\bar{S}$ is the intersection of all basic closed sets containing $S$
(where by "basic closed set" I mean the complement of a basic open set).
You might have more success showing the first or second is equivalent to the definition you prefer, that each of these characterizations easily imply the next, and that the third better resembles the formula you're asking about.
Alternatively, using the fact the closure is the complement of the exterior, you might opt to work with dual versions of these statements in terms of open sets not containing $S$.
Alternatively, it is of interest to look at other formulations of the notion of topology — e.g. one can axiomatize topology in terms of the notion of "closure" rather than the notion of "open"; a sample set of axioms is
- $\overline{\varnothing} = \varnothing$
- $A \subseteq \overline{A}$
- $\overline{A \cup B} = \overline{A} \cup \overline{B}$
- $\overline{\overline{A}} = \overline{A}$
The corresponding notion of "closed" is a set equal to its closure, and "open" is the complement of a closed set.
Thus, to show the equivalence of the two formulas you've cited, what you need to do is to show that the given closure operation satisfies these axioms, and that closed sets of the topology defined by that closure operation are precisely the Zariski closed sets.