This invention relates to compounds of the formula wherein and R1 to R3 are as described herein, or to pharmaceutically acceptable salts thereof. These compounds are BACE1 and/or BACE2 inhibitors and can be used as pharmaceuticals for the therapeutic and/or prophylactic treatment of diseases such as Alzheimer's disease, diabetes, particularly type 2 diabetes, and other metabolic disorders.본 발명은 하기 화학식 I의 화합물, 또는 이의 약학적으로 수용가능한 염에 관한 것이다. 이러한 화합물은 BACE1 및/또는 BACE2 억제제이고, 예컨대 알츠하이머병, 당뇨병, 특히 제2형 당뇨병, 및 다른 대사 장애의 치료적 및/또는 예방적 처치용 약제로서 사용될 수 있다.(상기 식에서, R1 내지 R3는 본원에 기술된 바와 같음)