Iran's president arrived in Pakistan for talks Tuesday with officials who have been mediating negotiations between Tehran and Washington on a permanent end to the war in the Middle East, even as discrepancies emerged on what had been agreed so far and violence broke out again in Lebanon.