Counting invariant curves: A theory of Gopakumar–Vafa invariants for Calabi–Yau threefolds with an involution | Synapse