Transformers Provably Learn Chain-of-Thought Reasoning with Length Generalization | Arena Library | Arena