Composition and invariance as the physics of thought

That which changes, and that which stays the same