TITLE: Do isomorphic structures always satisfy the same second-order sentences?
QUESTION [12 upvotes]: I know that if two mathematical structures are isomorphic, then they satisfy the same first-order sentences. The converse is false.
This is probably a completely obvious question, but is it true that whenever two mathematical structures are isomorphic, they satisfy the same second-order sentences? And if so, does the converse hold?

REPLY [10 votes]: The answer is yes, trivially. This follows immediately from the definition of an isomorphism and the satisfaction relation.
An isomorphism means that there is a bijection which preserves the interpretation of the constant, relation and function symbols. This bijection can be "pulled up" to be a bijection between power sets, power of power sets, and so on and so forth.
Recall that if $M$ is a structure and $\varphi$ is a sentence in second-order logic (without adding new extralogical symbols, of course!) then we define $M\models\varphi$ by recursion over the structure of $\varphi$. This definition begins with atomic formulas and continue by making the formulas more and more complex. If you follow the definition more closely you will see that this is all isomorphism invariant.
And this is not only true for first/second-order logic. It is true for higher order logics, infinitary logics, and even abstract quantifiers (at least those that I am familiar with).
On the other hand, I don't know if the converse is true. It seems unlikely, but possible.