This Hair is bright to be related to formula (I) Miscellaneous Ring compound, in formula (I), all Change amounts are as illustrated to determine Righteousness in Books; the bright It of this Hair is related to its Drug and Group is used to close object, its Group conjunction product and its Men as the purposes of Drug object, and special Do what leads to the purposes that Over inhibits BACE-1 or BACE-2 and controls Treatment Ah Seoul Ci Haimo disease or diabetes.本發明涉及式(I)雜環化合物,在式(I)中,所有的變量均如說明書中所定義,本發明還涉及其藥用組合物、其組合産品以及它們作爲藥物的用途,特別用於通過抑制BACE-1或BACE-2而治療阿爾茨海默病或糖尿病的用途。