Iran has executed three men detained during anti-government protests despite a public outcry over their convictions and objections by rights groups and several governments who say authorities held rushed trials, forced "confessions," and denied the accused due process.