battle of wits: a contest in which intelligence rather than violence is used
contest: a struggle between rivals
boundary condition: (mathematics) a condition specified for the solution to a set of differential equations