Mathematical flexibility