A Brain-inspired Theory of Collective Mind Model for Efficient Social Cooperation