The present invention relates to an agent for treating or preventing disease induced by production, secretion and/or deposition of amyloid ² protein, for example, a compound of formula (I), wherein, R 1 , R 2a , R 2b R 3 , R 4a , R 4b , ring A, and dashed line are described in this specification, its pharmaceutically acceptable salt or a solvate thereof.