Use the right-continuous Breslow estimator, so the increase from the value at to the value at means the interval . There is no event between these consecutive exit times, and at the risk set contains only subject . Hence
and the fitted individual cumulative hazard increases by
It is the subject's integrated hazard, rather than the reference baseline increment, that equals the event indicator.
For the final unheaded request, a fitted martingale residual at a subject's exit is
The revised observation leaves the last subject at risk until a later event time, still after every other subject has exited. Every earlier risk set is exactly the same as before, and the new final event again contributes the constant factor one. Thus part a gives unchanged coefficients, and every earlier Breslow estimator increment is unchanged. No additional events occur during the extended interval because all other subjects have already left observation.
For , the event indicator and fitted cumulative hazard at remain unchanged, hence so does . For the terminal subject, let denote its old fitted integrated hazard at its censored exit. That old residual is . Part b shows that the new final event adds one to its fitted integrated hazard, giving new residual
Therefore all fitted martingale residuals remain unchanged. Their invariance does not assert that the fitted survivor function at later times or the terminal event record is unchanged: the new late baseline hazard jump is real. This is the terminal-observation invariance of Cox martingale residuals, which relies on a unique final subject and unchanged covariate history.