Lets say two players, $i=2$ compete in a standard prisoners dilemma game where the action space of each player $a_i \in A_i=\{C,D\}$
Let say the game is repeated $T$ times and all information of past histories is common knowledge.
the strategy function for any player $i$ at time period $t$ is $$s_i^{t}:H_t \rightarrow A_i$$
where the history set at time $t$ is $H_t=A^t=(\{C,D\} \times \{C,D\})^t$
Hence the strategy set $S_i$ of player $i$ for the entire T-repetition game is the cartesian product
$$S_i={\sf X}^{t-1}_{t=1} A_i^{A^t} $$
My question is this:
Did I define the strategy set (above equation) of the player for the $T$ repetition game correctly? The reason why I ask if because lots of books define the strategy set differently, as the union of all histories mapped into the action space of the player, as such:
$$S_i={\sf \cup}^{t-1}_{t=1} H_t\rightarrow A_i $$