Deductive synthesis of cache-oblivious dynamic algorithms