What's the smartest terrestrial invertebrate? It seems every other category is pretty uncontroversial
Mammals - Primates (honorable mention to cetaceans)
Birds - Parrots (hon. mention corvids)
Reptiles - Crocodilians (hon. mention varanids)
Aquatic invertebrates - Cephalopods
Would it be formicids? They're impressive as a group but are individuals more intelligent than a predatory arachnid?