The effects of inflation risk on voluntary retirement and job switching by a martingale approach (Mathematical control and related fields, 2026)