The present invention relates to the compounds for the active formula (I) that can inhibit BCR-ABL1 and its mutant, and wherein Y, Y1, R1, R2, R3 and R4 are as defined in general introduction of the invention. The present invention also provides prepare the method for the compounds of this invention, the pharmaceutical preparation containing the compound and the method for using in treating cancer the compound.本發明涉及能抑制BCR-ABL1及其突變體的活性的式(I)的化合物,其中Y、Y1、R1、R2、R3和R4如本發明的概述中所定義。本發明還提供了製備本發明化合物的方法、含所述化合物的藥物製劑和在治療癌症中使用所述化合物的方法。