We know that a stock has discrete dividend payings $D_i$ at $t_i$, in the pricing of a forward, we will calculate the discount cash flows $$\sum e^{-rt_i}D_i$$ then minus the sum of discount cash flows from spot time $S_0.$
And if stock has a continuous dividend paying rate $D,$ we have the forward price $$e^{-DT}S_0 - e^{-rT}K.$$ So how to understand $e^{-DT}S_0$ is same as $S_0 - \sum e^{-rt_i}D_i$ i.e the spot price minus the discounted cash flows of dividend. Or when $\Delta t = t_{i+1} - t_i\rightarrow 0,$ how to obtain the compatible result.
Suppose, we pay dividend rate $\alpha_i$(include multiplying time $\Delta t$) at time $t_i$ with $i =1,2,3$ and $S_{t_i-}$ means the price before dividend paying, we have $$S_{t_i} = (1 - \alpha_i)S_{t_i-}.$$ And we use the factor that the discounted stock price before dividend paying should be martingale. So we receive dividend $\alpha_3 S_{t_3-}$ at time $t_3,$ the expected value at time $t_2$ under risk neutral measure should be $$E[e^{-r(t_3-t_2)}\alpha_3 S_{t_3-}] = \alpha_3 S_{t_2}$$ $$= \alpha_3(1 - \alpha_2)S_{t_2-}.$$ Again to discounted to time $t_1,$ we have $$\alpha_3(1 - \alpha_2)(1 - \alpha_1)S_{t_1-}.$$ Finally, we have discounted value at time $0$ of dividend $t_3$ $$\alpha_3(1 - \alpha_2)(1 - \alpha_1)S_0$$ then dividend $t_2$ is $$\alpha_2(1 - \alpha_1)S_0,$$ then dividend $t_1$ is $$\alpha_1S_0.$$ Then the initial value minus the discounted dividend should be $$S_0 - \alpha_3(1 - \alpha_2)(1 - \alpha_1)S_0 - \alpha_2(1 - \alpha_1)S_0 - \alpha_1S_0$$ $$=(1-\alpha_3)(1 - \alpha_2)(1 - \alpha_1)S_0.$$