Riemann–Roch Theorem on the Tech Tree