Local prediction-learning in high-dimensional spaces enables neural networks to plan | Synapse