Here is a Math commands reference of OO.
And here is a Math commands reference of LO.
https://help.libreoffice.org/Math/Formula_Reference_Tables
It seems that they are quite the same, though I’m not sure they are totally the same.
I wonder if those math commands are part of the ODF standard, such that any formula edited in OO will be presented correctely in LO and vice versa?