The sign of a basis relative to an orientation #
The relative sign takes values in the integer units and compensates the sign of a change of
basis. It is unchanged when the orientation and the basis are transported along the same linear
equivalence (Orientation.signBasis_map). Empty index types are included, so both
zero-dimensional orientations retain their sign. Two orientations are equal exactly when they
agree on whether they are the orientation of a fixed basis
(Module.Basis.eq_iff_eq_orientation_iff).
Two bases have opposite orientations exactly when their change-of-basis determinant is negative.
Two orientations are equal exactly when they agree on whether they are the orientation of a
fixed basis e, since every orientation is that of e or its opposite.
The sign of a basis relative to a model orientation, including empty index types.
Instances For
A basis giving the chosen orientation has positive relative sign.
Transporting both the orientation and the basis along a linear equivalence preserves their relative sign.
Reversing the orientation reverses the relative basis sign.
The relative basis sign squares to one in the scalar ring.
Reversing the basis orientation reverses its relative sign.
Reindexing an orientation and a basis along the same equivalence preserves their relative sign.
The basis signs compensate the change-of-basis determinant to give a positive product.
A top-degree alternating form evaluated on a basis and weighted by that basis's sign relative to the orientation of a reference basis is its value on the reference basis times the absolute change-of-basis determinant. In particular, a form that is nonnegative (positive) on the bases of one orientation has nonnegative (positive) signed value on every basis.
A top-degree alternating form positive on a basis b₀ is positive on every basis with the
orientation of b₀: the two values differ by the positive change-of-basis determinant.
The relative basis sign compensates exactly for the signed determinant ratio.
If a linear equivalence sends a signed model orientation to a basis orientation, its Jacobian multiplied by the two relative signs is positive.