如图,在△ABC中,EF平行BC,且EC平分∠DEF.若AD⊥EC,垂足为点G,求证:AE=AC