Effect of navigation history on replays. Replays for recent (already rewarded) and upcoming rewarding trajectories in a given session were compared using only correct trials. Those replays matching significantly with both recent and upcoming trajectories were excluded from the analysis. (A and B) The number (A) and absolute weighted correlation (|r|) (B; Left, cumulative plot; Right; mean ± SEM) were compared between replays for upcoming and recent trajectories. *P < 0.05 (rank-sum test). (C and D) Activation (Pact, C) and coactivation (Pcoact, D) probabilities of place cells in replays for upcoming and recent trajectories were compared. (Left) Pact (C) and Pcoact (D) of place cells in forward and reverse replays for upcoming and recent trajectories are shown as cumulative plots. (Middle and Right) Normalized difference in Pact (C) or Pcoact (D) between replays for upcoming and recent trajectories (ΔpZhistory) are shown as a cumulative plot (Middle) or mean ± SEM (Right). *P < 0.05, **P < 0.005, ***P < 0.0005 (signed-rank test for difference from 0; rank-sum test for comparisons between forward and reverse replays).