Real-time learning algorithms slash the cost of uncertainty over long periods. — Synthesis