A compatible almost complex structure is a smooth bundle map such that, for all tangent vectors ,
It determines the Riemannian metric
Indeed, the invariance of the symplectic form under and its antisymmetry imply , so is symmetric; the positivity condition makes it positive definite. A compatible triple consists of this symplectic form, this compatible almost complex structure, and this Riemannian metric. Useful equivalent identities are and .
At a point , write and take the orthogonal complement with respect to the Riemannian metric . The compatible triple identity gives
If is a Lagrangian submanifold, then for , so . Both have dimension , hence equality.
Conversely, if , equality of dimensions gives , and for gives . Therefore
A positive-definite inner product has . Hence , proving that every Lagrangian submanifold is a totally real submanifold for a compatible almost complex structure.