Efficient Cost-Based Rewrite in a Bottom-Up Optimizer (ArXiv cs.DB Recent Papers, 2026)