Math in Gas and the art of linearization by