Lemma. The idempotent determined by a section-retraction pair [00LB]

Every section-retraction pair determines an idempotent. In particular, when s\colon B\to A is a section of r\colon A \to B, the composite s\circ r\colon A\to A is idempotent.