The calculus of intelligence cooperation