Training Dynamics and Inference Guarantees of the In-Context Gradient-Descent Mechanism | Synapse