Brain computation as hierarchical abstraction