President Donald Trump made a bargain with India this week that introduced a simple calculus.