Topics in Equilibrium Dynamics Theory: a) Local Determinacy and Sunspot Equilibria in Arbitrary Dimensions; b) Optimal Necessary Conditions and Bubbles in Sequential Economies