Semiclassical theory of stability in a laser using a generalized entropy | Synapse