Provided are compounds of Formula (I):;and pharmaceutically acceptable salts and compositions thereof, which are useful for treating a variety of conditions associated with histone acetyltransferase (HAT).本發明提供式(I)化合物:;及其醫藥學上可接受之鹽及組合物,其適用於治療與組蛋白乙醯基轉移酶(HAT)相關的多式病況。