Problem

Source: 2016 Grand Duchy of Lithuania, Mathematical Contest p3 (Baltic Way TST)

Tags: geometry, equal segments, isosceles



Let $ABC$ be an isosceles triangle with $AB = AC$. Let $D, E$ and $F$ be points on line segments $BC, CA$ and $AB$, respectively, such that $BF = BE$ and such that $ED$ is the angle bisector of $\angle BEC$. Prove that $BD = EF$ if and only if $AF = EC$.