Local-global problems in diophantine geometry