Magnetic levitation against Earnshaw's Theorem? Given six strong magnets, what if we fix three of them to a table in a simple, horizontal, equilateral triangle-like formation (with their north poles sticking up), and the other three to the points of a rigid wooden (same size) equilateral triangle, with their north poles facing down? We can overlay these two triangles in a perfect "Star of David" formation, and statically levitate the latter triangle above the table by the repulsion of the fields. No moving charges or fields required, just some wood and six strong permanent magnets. The weight of the triangle & magnets will prevent "flipping", while the repulsive magnetic fields will prevent "spinning" or lateral movement as well.
Does this violate Earnshaw's theorem somewhere?
 A: So, essentially my idea was to create a setup where the individual "saddle paths" of the levitated platform's magnets and/or charges are oriented in such a way that one part of the levitated platform moving towards lower potential would require the rest to move into higher potential (referring to the total sum of gravity & electrostatic potential energies), in such a way so as to create an (gravity + electrostatic) potential energy well for the "overall structure" as a whole at the levitation position.
While there can be numerous different arrangements of opposing individual saddle paths  for individual charges or magnets fixed to a levitating platform above some collection of charges or magnets fixed to the ground, there doesn't seem to be an obvious arrangement of everything that would necessarily lead to a (gravitational + electrostatic + ferromagnetic) potential energy well for the levitated structure as a whole.
I have not fully analyzed all the full equipotential surface(s) of my setup specifically, but looking at some simpler similar examples it doesn't look like these kind of potential energy wells can exist, even if the specific saddle path(s) of my full setup can be difficult or nontrivial to find or visualize (comprising some specific complicated or unforseen combination of rolling, spinning, spiraling, etc... movement(s))
A: Earnshaw's theorem only applies to electrostatic systems, which consist of static point charges. It does not have anything to say either way about the stability of your system, since that is a system composed of magnetic components.
The origin of Earnshaw's theorem can be traced to Gauss' law, which essentially states that the electric potential $\phi$ obeys Poisson's equation
$$-\nabla^2 \phi = \rho$$
where $\rho$ is the charge density. You may recall from an analysis class that solutions to Laplace's equation have the property that over some region of space $R$ they have no local extrema (unless they are constant). Thus, there is no point where the electric force (the derivative of $\phi$) vanishes and is attractive in all directions.
If the system is not static or involves magnetic fields, then the electric potential $\phi$ is not a complete description of the dynamics and Earnshaw's theorem won't apply. Additionally, since magnetic forces don't originate from a Gauss' law-like form (recall there are no magnetic charges), Earnshaw's theorem can't be applied. 
