The present invention is to provide a compound represented by following formula, pharmaceutically acceptable salts, or solvate thereof:(in formula, X is =C(R2)- or =N-, R1, R2, and R4 each independently represent hydrogen, halogen, hydroxyl and the like, R3 is substituted or un-substituted aryl, substituted or un-substituted heteroaryl, substituted or un-substituted cycloalkyl and the like, Y1 is -C(R7)(R7A)- or -O-, Y2 is -C(R5)(R5A)-C(R6)(R6A)- or -C(R6)(R6A)-, R5, R5A, R6, R6A, R7 and R7A each independently represent hydrogen, halogen, hydroxyl, cyano, nitro, carboxy, substituted or un-substituted alkyl and the like, R8 is cyano and the like, m and n each independently represent 0, 1 or 2,r is an integer of 0~12, R9s each independently represent halogen, hydroxyl, cyano, nitro, carboxy, or substituted or un-substituted alkyl, in the case of r as 2 and more, two R9s binding to the same carbon atom can form together an oxo group, and/or two R9s binding to the different carbon atom together with the bound carbons can form a substituted or un-substituted cycle).本發明係以下式所表示之化合物:(式中,X為=C(R2)-或=N-,R1、R2及R4各自獨立,而為氫、鹵素、羥基等,R3為經取代或未經取代之芳基、經取代或未經取代之雜芳基、經取代或未經取代之環烷基等,Y1為-C(R7)(R7A)-或-O-,Y2為-C(R5)(R5A)-C(R6)(R6A)-或-C(R6)(R6A)-,R5、R5A、R6、R6A、R7及R7A各自獨立,而為氫、鹵素、羥基、氰基、硝基、羧基、經取代或未經取代之烷基等,R8為氰基等,m及n各自獨立,而為0、1或2,r為0~12之整數,R9各自獨立,而為鹵素、羥基、氰基、羧基或經取代或未經取代之烷基,在r為2以上的情況,鍵結於相同碳原子的2個R9可一起形成側氧基,及/或鍵結於相異碳原子的2個R9可與該等所鍵結的碳原子一起形成經取代或未經取代之環);及其製藥上可容許之鹽或該等的溶劑合物。