Uniqueness of Galilean and Carrollian limits of gravitational theories and application to higher derivative gravity | Synapse