The present invention provides a compound which has an effect of inhibiting amyloid β production, especially an effect of inhibiting BACE1, and which is useful as a therapeutic or phylactic agent for diseases induced by production, secretion and/or deposition of amyloid β proteins. A compound of the formula (I) wherein X is -S- or -O-, R3a is alkyl, haloalkyl or the like, R2a is H, halogen, alkyloxy, haloalkyloxy or the like, R2b is H or the like, R3b is H or alkyl, ring A and ring B is each independently a substituted or unsubstituted aromatic carbocycle, a substituted or unsubstituted aromatic heterocycle or the like, and R1 is substituted or unsubstituted alkyl or the like, or a pharmaceutically acceptable salt thereof.La présente invention concerne un composé qui a un effet d'inhibition de la production de bêta-amyloïde, notamment un effet d'inhibition de BACE1, et qui est utile en tant qu'agent thérapeutique ou prophylactique pour des maladies induites par la production, la sécrétion et/ou le dépôt de protéines bêta-amyloïdes. L'invention concerne un composé de la formule (I), dans laquelle X représente -S- ou -O-, R3a représente alkyle, halogénoalkyle ou analogue, R2a représente H, halogène, alkyloxy, halogénoalkyloxy ou analogue, R2b représente H ou analogue, R3b représente H ou alkyle, le cycle A et le cycle B représentent chacun, indépendamment, un carbocycle aromatique substitué ou non substitué, un hétérocycle aromatique substitué ou non substitué ou analogue et R1 représente alkyle substitué ou non substitué ou analogue, ou un sel pharmaceutiquement acceptable correspondant.