# US 8,278,336 B2 · Compounds

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 8,278,336 B2
- Document ID: US8278336B2
- Status: Granted
- Kind: B2
- Application number: 12/743,013
- Filed: 2008-11-21
- Published: 2010-12-23
- Granted: 2012-10-02
- Earliest claimed: 2007-11-22
- Assignees: Boehringer Ingelheim International GmbH
- Inventors: Dirk Gottschling; Georg Dahmann; Henri Doods; Annekatrin Heimann; Stephan Georg Mueller; Klaus Rudolf; Gerhard Georg Schaenzle; Dirk Stenkamp
- Web page: https://patentgrep.com/patent/US8278336B2

## CPC

- C07D 401/14: containing three or more hetero rings
- A61P 1/02: Stomatological preparations, e.g. drugs for caries, aphtae, periodontitis
- A61P 1/04: for ulcers, gastritis or reflux esophagitis, e.g. antacids, inhibitors of acid secretion, mucosal protectants
- A61P 1/12: Antidiarrhoeals
- A61P 3/10: for hyperglycaemia, e.g. antidiabetics
- A61P 5/24: of the sex hormones
- A61P 5/30: Oestrogens
- A61P 9/10: for treating ischaemic or atherosclerotic diseases, e.g. antianginal drugs, coronary vasodilators, drugs for myocardial infarction, retinopathy, cerebrovascula insufficiency, renal arteriosclerosis
- A61P 11/00: Drugs for disorders of the respiratory system
- A61P 11/02: Nasal agents, e.g. decongestants
- A61P 11/06: Antiasthmatics
- A61P 15/12: for climacteric disorders
- A61P 17/00: Drugs for dermatological disorders
- A61P 17/02: for treating wounds, ulcers, burns, scars, keloids, or the like
- A61P 19/00: Drugs for skeletal disorders
- A61P 19/02: for joint disorders, e.g. arthritis, arthrosis
- A61P 25/00: Drugs for disorders of the nervous system
- A61P 25/04: Centrally acting analgesics, e.g. opioids
- A61P 25/06: Antimigraine agents
- A61P 25/36: Opioid-abuse
- A61P 29/00: Non-central analgesic, antipyretic or antiinflammatory agents, e.g. antirheumatic agents; Non-steroidal antiinflammatory drugs [NSAID]
- A61P 31/04: Antibacterial agents
- A61P 37/08: Antiallergic agents (antiasthmatic agents A61P11/06; ophthalmic antiallergics A61P27/14)
- C07D 417/14: containing three or more hetero rings
- C07D 471/04: Ortho-condensed systems
- C07D: HETEROCYCLIC COMPOUNDS (macromolecular compounds C08)
- A61P: SPECIFIC THERAPEUTIC ACTIVITY OF CHEMICAL COMPOUNDS OR MEDICINAL PREPARATIONS

## Abstract

The present invention relates to new CGRP-antagonists of general formulae Ia and Ib wherein R1, R2, R3, R4 and R5 are defined as mentioned below, the tautomers, the isomers, the diastereomers, the enantiomers, the hydrates, the mixtures and the salts thereof as well as the hydrates of the salts, particularly the physiologically acceptable salts thereof with inorganic or organic acids or bases, pharmaceutical compositions containing these compounds, the use thereof and processes for the preparation thereof.

## Claims

### Claim 1

A compound of the formula Ia or Ib
wherein
R1 denotes a group of general formula II
wherein
G-L denotes N, N—C(R1.1)2, C═C(R1.1), C═N, C(R1), C(R1.1)—C(R1.1)2, C(R1.1)—C(R1.1)2—C(R1.1)2, C═C(R1.1)—C(R1.1)2, C(R1.1)—C(R1.1)═C(R1.1), C(R1.1)—C(R1.1)2—N(R1.2), C═C(R1.1)—N(R1.2), C(R1.1)—C(R1.1)═N, C(R1.1)—N(R1.2)—C(R1.1)2, C═N—C(R1.1)2, C(R1.1)—N═C(R1.1), C═N—N(R1.1)—N(R1.2)—N(R1.2), C═N—N(R1.2), N—C(R1.1)2—C(R1.1)2, N—C(R1.1)═C(R1.1), N—C(R1.1)2—N(R1.2), N—C(R1.1)═N, N—N(R1.2)—C(R1.1)2 or N—N═C(R1.1),
Q-T denotes C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3), N═C(R1.3), C(R1.3)2—C(═O), C(═O)—C(R1.3)2, C(R1.3)2—S(O)m or C(R1.3)2—N(R1.3),
while a group C(R1.3)2 contained in Q-T may also denote a cyclic group which is C3-6-cycloalkyl, C5-6-cycloalkenyl or heterocyclyl, or
in a group C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3) or C(R1.3)2—N(R1.3) contained in Q-T in each case a group R1.3 together with an adjacent group R1.3 and the atoms to which these groups are bound may also denote a C3-6-cycloalkyl, C5-6-cycloalkenyl, heterocyclyl, aryl or heteroaryl group, which may be substituted independently of one another by 1, 2 or 3 substituents R1.3.1,
R1.1 denotes
(a) H,
(b) C1-6-alkyl, —CN, —OH, —O—C1-3-alkyl,
(c) a C1-3-alkyl or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.2 denotes H or C1-6-alkyl,
R1.3 independently of one another denote
(a) H, C1-6-alkyl, C2-6-alkenyl, C2-6-alkynyl, C3-6-cycloalkyl,
(b) an aryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
(c) a heteroaryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different, or
(d) a heterocyclic group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
R1.3.1 denotes
(a) H, halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.1.1, —O—C1-6-alkylene-NR1.3.1.2R1.3.1.3, —O—(CH2)s—O—R1.3.1.1, —CO2—R1.3.1.1, —C(O)—NR1.3.1.2R1.3.1.3, —O—C(O)—NR1.3.1.2R1.3.1.3, —NR1.3.1.1—C(O)—NR1.3.1.2R1.3.1.3, —NR1.3.1,2—C(O)—R1.3.1.3, —NR1.3.1,2—C(O)—O—R1.3.1.3, —SO2—NR1.3.1.2R1.3.1.3, —NR1.3.1,2—SO2—R1.3.1.3, —S(O)m—R1.3.1.2, —CN, —NR1.3.1.2R1.3.1.3, —NR1.3.1.1—C(O)—NR1.3.1.2R1.3.1.3, —O—C(O)—R1.3.1.1,
(c) a C1-3-alkyl or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
(d) an aryl group substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 may be identical or different,
(e) a heteroaryl group substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 may be identical or different,
(f) a heterocyclic group substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 may be identical or different,
R1.3.2 denotes
(a) halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.2.1, —O—(CH2)s—O—R1.3.2.1, —CO2R1.3.2.1, —C(O)—NR1.3.2.2R1.3.2.3, —O—(CO)—NR1.3.2.2R1.3.2.3, —N(R1.3.2.1)—C(O)—NR1.3.2.2R1.3.2.3, —N(R1.3.2.2)—C(O)—R1.3.2.3, —N(R1.3.2.2)—C(O)—O—R1.3.2.3, —SO2—NR1.3.2.2R1.3.2.3, —N(R1.3.2.2)—SO2—R1.3.2.3, —S(O)m—R1.3.2.2, —CN, —NR1.3.2.2R1.3.2.3, —N(R1.3.2.1)—C(O)—NR1.3.2.2R1.3.2.3, —O—C(O)—R1.3.2.1 or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.1.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.1.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.1.2 and R1.3.1.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.1.1 or fluorine, wherein the substituents R1.3.1.1 are independent of one another,
R1.3.2.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.2.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.2.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.2.2 and R1.3.2.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.2.1 or fluorine, wherein the substituents R1.3.2.1 are independent of one another,
m denotes one of the numbers 0, 1 or 2,
s denotes one of the numbers 1, 2 or 3,
R2 denotes
(a) H,
(b) F, —CN, C1-3-alkyl, —CO2—R2.1 or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R2.1 denotes H or C1-6-alkyl,
R3 denotes
(a) H,
(b) C1-6-alkylene-R3.1,
(c) a C3-6-cycloalkyl group substituted by one or two groups R3.2,
(d) a C5-7-cycloalkenyl group substituted by one or two groups R3.2,
(e) an aryl group substituted by one or two groups R3.2,
(f) a heterocyclyl group substituted by one or two groups R3.2,
(g) a C5-7-cycloalkyl group which may be fused to an aryl or heteroaryl group and is additionally substituted by one or two groups R3.2,
(h) a heteroaryl group substituted by one or two groups R3.2, or
(i) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R3.1 denotes
(a) H,
(b) an aryl group substituted by the groups R3.1.1 and R3.1.2, or
(c) a heteroaryl group substituted by the groups R3.1.1 and R3.1.2,
R3.1.1 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl, —O—C(O)—C1-3-alkyl, —NR3.1.1.1R3.1.1.2, —S(O)m—C1-3-alkyl, —NR3.1.1.1—C(O)—C1-3-alkyl, —C(O)—NR3.1.1.1R3.1.12, —C(O)—O—R3.1.1.3, —NR3.1.1.1—C(O)—O—C1-3-alkyl, —O—C(O)—NR3.1.1.1R3.1.12, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R3.1.1.1 denotes H, C1-3-alkyl and
R3.1.1.2 denotes H, C1-3-alkyl, or
R3.1.1.1 and R3.1.1.2 together with the nitrogen atom to which they are bound also denote a group which is selected from morpholinyl, thiomorpholinyl, piperidinyl, piperidonyl, piperazinyl, pyrrolidinyl and azetidinyl, while the group may additionally be substituted by one or two substituents selected from F, —OH, —O—C1-3-alkyl, —OCF3, C1-3-alkyl and CF3,
R3.1.1.3 denotes H, C1-3-alkyl,
R3.1.2 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl,
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R3.2 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl, —O—C(O)—C1-3-alkyl, —NR3.2.1R3.2.2, —S(O)m—C1-3-alkyl, —NR3.2.1—C(O)—C1-3-alkyl, —C(O)—NR3.2.1R3.2.2, —C(O)—O—R3.2.3, —NR3.2.1—C(O)—O—C1-3-alkyl, —O—C(O)—NR3.2.1R3.2.2,
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R3.2.1 denotes H, C1-3-alkyl and
R3.2.2 denotes H, C1-3-alkyl, or
R3.2.1 and R3.2.2 together with the nitrogen atom to which they are bound also denote a group which is selected from morpholinyl, thiomorpholinyl, piperidinyl, piperidonyl, piperazinyl, pyrrolidinyl and azetidinyl, while the group may additionally be substituted by one or two substituents selected from F, —OH, —O—C1-3-alkyl, —OCF3, C1-3-alkyl and CF3,
R3.2.3 denotes H, C1-3-alkyl,
R4 denotes
(a) H,
(b) C1-6-alkylene-R4.1,
(c) a C3-6-cycloalkyl group substituted by one or two groups R4.2,
(d) a C6-7-cycloalkenyl group substituted by one or two groups R4.2,
(e) an aryl group substituted by one or two groups R4.2,
(f) a heterocyclyl group substituted by one or two groups R4.2,
(g) a C6-7-cycloalkyl group which may be fused to an aryl or heteroaryl group, while the resultant bicyclic group is additionally substituted by one or two groups R4.2,
(h) a heteroaryl group substituted by one or two groups R4.2, or
(i) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.1 denotes
(a) H,
(b) an aryl group substituted by the groups R4.1.1 and R4.1.2, or
(c) a heteroaryl group substituted by the groups R4.1.1 and R4.1.2,
R4.1.1 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl, —O—C(O)—C1-3-alkyl, —NR4.1.1.1R4.1.1.2, —S(O)m—C1-3-alkyl, —NR4.1.1.1—C(O)—C1-3-alkyl, —C(O)—NR4.1.1.1R4.1.1.2, —C(O)—O—R4.1.1.3, —NR4.1.1.1—C(O)—O—C1-3-alkyl, —O—C(O)—NR4.1.1.1R4.1.1.2, or
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.1.1.1 denotes H, C1-3-alkyl and
R4.1.1.2 denotes H, C1-3-alkyl, or
R4.1.1.1 and R4.1.1.2 together with the nitrogen atom to which they are bound also denote a group which is selected from morpholinyl, thiomorpholinyl, piperidinyl, piperidonyl, piperazinyl, pyrrolidinyl and azetidinyl, while the group may additionally be substituted by one or two substituents selected from F, —OH, —O—C1-3-alkyl, —OCF3, C1-3-alkyl and CF3,
R4.1.1.3 denotes H, C1-3-alkyl,
R4.1.2 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R4.2 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl, —O—C(O)—C1-3-alkyl, —NR4.2.1R4.2.2, —S(O)m—C1-3-alkyl, —NR4.2.1—C(O)—C1-3-alkyl, —C(O)—NR4.2.1R4.2.2, —C(O)—O—R4.2.3, —NR4.2.1—C(O)—O—C1-3-alkyl, —O—C(O)—NR4.2.1R4.2.2, or
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.2.1 denotes H, C1-3-alkyl and
R4.2.2. denotes H, C1-3-alkyl, or
R4.2.1 and R4.2.2 together with the nitrogen atom to which they are bound also denote a group which is selected from morpholinyl, thiomorpholinyl, piperidinyl, piperidonyl, piperazinyl, pyrrolidinyl and azetidinyl, while the group may additionally be substituted by one or two substituents selected from F, —OH, —O—C1-3-alkyl, —OCF3, C1-3-alkyl and CF3,
R4.2.3 denotes H, C1-3-alkyl,
R3 and R4 together with the nitrogen atom to which they are bound denote:
(a) a saturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4,
(b) a saturated 5-, 6- or 7-membered heterocyclic group which is substituted at two adjacent carbon atoms by in each case a group R4.3 and R4.4,
(c) a saturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5-, 6- or 7-membered cycloalkyl or heterocyclyl group, while the fused-on cycloalkyl or heterocyclyl group is substituted by 1, 2 or 3 groups R4.5,
(d) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a phenyl group, while the fused-on phenyl group is substituted by 1, 2 or 3 groups R4.5,
(e) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5- or 6-membered heteroaryl group, while the fused-on heteroaryl group is substituted by 1, 2 or 3 groups R4.5, or
(f) a heteroaryl group which is substituted at 1, 2 or 3 carbon atoms by in each case a group R4.5,
R4.3 independently of one another denote
(a) H, C1-3-alkyl, C2-6-alkynyl, aryl, —C1-3-alkylene-R4.3.1, C1-3-alkyl-O—C(O)—, HO—C(O)—, F, —O—C1-3-alkyl, —OH, —CN, or
(b) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.3.1 denotes H, C1-3-alkyl-O—C(O)—, —NH2, (C1-4-alkyl)-NH, (C1-4-alkyl)2N, C3-6-cycloalkyl, heterocyclyl, heteroaryl, aryl,
R4.4 denotes
(a) H, C1-3-alkyl-, —OH, —O—C1-3-alkyl or
(b) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.3 and R4.4 together with the carbon atoms to which they are bound also denote a C3-6-cycloalkyl-, C5-6-cycloalkenyl- or heterocyclyl group,
R4.5 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —S(O)m—C1-3-alkyl, —NR4.5.2R4.5.3, —CN, —C(O)—O—R4.5.1, —C(O)—NR4.5.2R4.5.3,
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
(d) aryl, heteroaryl,
R4.5.1 denotes H, C1-3-alkyl,
R4.5.2 denotes H, C1-3-alkyl,
R4.5.3 denotes H, C1-3-alkyl, or
R4.5.2 and R4.5.3 together with the nitrogen atom to which they are bound also denote a group which is selected from morpholinyl, thiomorpholinyl, piperidinyl, piperidonyl, piperazinyl, pyrrolidinyl and azetidinyl, while the group may additionally be substituted by one or two substituents selected from F, —OH, —OCF3, C1-3-alkyl and CF3,
R5 denotes H, —CH2—R5.1 or benzyl, and
R5.1 denotes a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
or a tautomer or salt thereof.

### Claim 2 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R1 denotes a group of general formula II
wherein
G-L denotes N, N—C(R1.1)2, C═C(R1.1), C═N, C(R1), C(R1.1)—C(R1.1)2, C(R1.1)—C(R1.1)2—C(R1.1)2, C═C(R1.1)—C(R1.1)2, C(R1.1)—C(R1.1)═C(R1.1), C(R1.1)—C(R1.1)2—N(R1.2), C═C(R1.1)—N(R1.2), C(R1.1)—C(R1.1)═N, C(R1.1)—N(R1.2)—C(R1.1)2, C═N—C(R1.1)2, C(R1.1)—N═C(R1.1), C═N—N(R1.1)—N(R1.2)—N(R1.2), C═N—N(R1.2), N—C(R1.1)2—C(R1.1)2, N—C(R1.1)═C(R1.1), N—C(R1.1)2—N(R1.2), N—C(R1.1)═N, N—N(R1.2)—C(R1.1)2 or N—N═C(R1.1),
Q-T denotes C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3), N═C(R1.3), C(R1.3)2—C(═O), C(═O)—C(R1.3)2, C(R1.3)2—S(O)m or C(R1.3)2—N(R1.3),
while a group C(R1.3)2 contained in Q-T may also denote a cyclic group which is selected from among cyclobutyl, cyclopentyl, cyclohexyl, cyclopentenyl, cyclohexenyl, dioxanyl, morpholinyl, thiomorpholinyl, thiomorpholinyl-S-oxide, thiomorpholinyl-S-dioxide, azetidinyl, pyrrolidinyl, piperidinyl, tetrahydrofuranyl, tetrahydropyranyl and piperazinyl, or
in a group C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3) or C(R1.3)2—N(R1.3) contained in Q-T in each case a group R1.3 together with an adjacent group R1.3 and the atoms to which these groups are bound may also denote a group selected from cyclobutyl, cyclopentyl, cyclohexyl, cyclopentyl, cyclohexenyl, dioxanyl, phenyl, napthyl, thienyl, thiazolyl, thiazolinyl, oxazolyl, oxazolinyl, imidazolyl, imidazolinyl, imidazolidinyl, pyridyl, pyrimidyl, pyrazinyl, pyridazinyl, pyrrolyl, pyrrolinyl, quinolinyl, isoquinolinyl, morpholinyl, thiomorpholinyl, thiomorpholinyl-S-oxide, thiomorpholinyl-S-dioxide, 1H-quinolinyl-2-one, azetidinyl, pyrrolidinyl, piperidinyl, tetrahydrofuranyl, tetrahydropyranyl, tetrahydropyridyl, furanyl, dihydrofuranyl, dihydropyranyl and piperazinyl, which may be substituted independently of one another denote by 1, 2 or 3 substituents R1.3.1,
R1.1 denotes
(a) H,
(b) C1-6-alkyl, —CN, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.2 denotes H or C1-6-alkyl,
R1.3 independently of one another denote
(a) H, C1-6-alkyl, C2-6-alkenyl, C2-6-alkynyl, C3-6-cycloalkyl,
(b) an aryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
(c) a heteroaryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different, or
(d) a heterocyclic group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
R1.3.1 denotes
(a) H, halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.1.1, —O—C1-6-alkylene-NR1.3.1.2R1.3.1.3, —O—(CH2)s—O—R1.3.1.1, —CO2—R1.3.1.1, —C(O)—NR1.3.1.2R1.3.1.3, —O—C(O)—NR1.3.1.2R1.3.1.3, —NR1.3.1.1—C(O)—NR1.3.1.2R1.3.1.3, —NR1.3.1,2—C(O)—R1.3.1.3, —NR1.3.1,2—C(O)—O—R1.3.1.3, —SO2—NR1.3.1.2R1.3.1.3, —NR1.3.1,2—SO2—R1.3.1.3, —S(O)m—R1.3.1.2, —CN, —NR1.3.1.2R1.3.1.3, —NR1.3.1.1—C(O)—NR1.3.1.2R1.3.1.3, —O—C(O)—R1.3.1.1,
(c) a C1-3-alkyl or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
(d) an aryl group substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 may be identical or different,
(e) a heteroaryl group substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 may be identical or different,
(f) a heterocyclic group substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 may be identical or different,
R1.3.2 denotes
(a) halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.2.1, —O—(CH2)s—O—R1.3.2.1, —CO2R1.3.2.1, —C(O)—NR1.3.2.2R1.3.2.3, —O—(CO)—NR1.3.2.2R1.3.2.3, —N(R1.3.2.1)—C(O)—NR1.3.2.2R1.3.2.3, —N(R1.3.2.2)—C(O)—R1.3.2.3, —N(R1.3.2.2)—C(O)—O—R1.3.2.3, —SO2—NR1.3.2.2R1.3.2.3, —N(R1.3.2.2)—SO2—R1.3.2.3, —S(O)m—R1.3.2.2, —CN, —NR1.3.2.2R1.3.2.3, —N(R1.3.2.1)—C(O)—NR1.3.2.2R1.3.2.3, —O—C(O)—R1.3.2.1 or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.1.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.1.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.1.2 and R1.3.1.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.1.1 or fluorine, wherein the substituents R1.3.1.1 are independent of one another,
R1.3.2.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.2.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.2.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.2.2 and R1.3.2.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.2.1 or fluorine, wherein the substituents R1.3.2.1 are independent of one another,
m denotes one of the numbers 0, 1 or 2,
s denotes one of the numbers 1, 2 or 3,
or a tautomer or salt thereof.

### Claim 3 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R1 denotes a group of the formula
wherein
Q-T denotes C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3), N═C(R1.3), C(R1.3)2—C(═O), C(═O)—C(R1.3)2, C(R1.3)2—S(O)m or C(R1.3)2—N(R1.3),
while in a group C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3) or C(R1.3)2—N(R1.3) contained in Q-T in each case a group R1.3 together with an adjacent group R1.3 and the atoms to which these groups are bound may also denote a group selected from cyclobutyl, cyclopentyl, cyclohexyl, cyclopentenyl, cyclohexenyl, dioxanyl, phenyl, naphthyl, thienyl, thiazolyl, thiazolinyl, oxazolyl, oxazolinyl, imidazolyl, imidazolinyl, imidazolidinyl, pyridyl, pyrimidyl, pyrazinyl, pyridazinyl, pyrrolyl, pyrrolinyl, quinolinyl, isoquinolinyl, morpholinyl, thiomorpholinyl, thiomorpholinyl-S-oxide, thiomorpholinyl-S-dioxide, azetidinyl, pyrrolidinyl, piperidinyl, tetrahydrofuranyl, tetrahydropyranyl, tetrahydropyridyl, furanyl, dihydrofuranyl, dihydropyranyl and piperazinyl, which may be substituted independently of one another denote by 1, 2 or 3 substituents R1.3.1,
R1.1 denotes
(a) H,
(b) C1-6-alkyl, —CN, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl- or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3 independently of one another denote
(a) H, C1-6-alkyl, C2-6-alkenyl, C2-6-alkynyl, C3-6-cycloalkyl,
(b) an aryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
(c) a heteroaryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different, or
(d) a heterocyclic group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
R1.3.1 denotes
(a) H, halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.1.1, —O—C1-6-alkylene-NR1.3.1.2R1.3.1.3, —CO2—R1.3.1.1, —C(O)—NR1.3.1.2R1.3.1.3, —SO2—NR1.3.1.2R1.3.1.3, —NR1.3.1,2—SO2—R1.3.1.3, —S(O)m—R1.3.1.2, —CN, —NR1.3.1.2R1.3.1.3, —O—C(O)—R1.3.1.1, or
(c) a C1-3-alkyl or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2 denotes
(a) halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.2.1, —O—(CH2)s—O—R1.3.2.1, —CO2R1.3.2.1, —S(O)m—R1.3.2.2, —CN, —O—C(O)—R1.3.2.1 or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.1.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.1.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.1.2 and R1.3.1.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 are independent of one another,
R1.3.2.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.2.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.2.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.2.2 and R1.3.2.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.2.1, wherein the substituents R1.3.2.1 are independent of one another,
m denotes one of the numbers 0, 1 or 2 and
s denotes one of the numbers 1, 2 or 3,
or a tautomer or salt thereof.

### Claim 4 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R1 denotes a group of the formula
wherein
Q-T denotes C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3), N═C(R1.3), C(R1.3)2—C(═O), C(═O)—C(R1.3)2, C(R1.3)2—S(O)m or C(R1.3)2—N(R1.3),
while in a group C(R1.3)2—C(R1.3)2, C(R1.3)═C(R1.3) or C(R1.3)2—N(R1.3) contained in Q-T in each case a group R1.3 together with an adjacent group R1.3 and the atoms to which these groups are bound may also denote a group selected from cyclopentyl, cyclohexyl, cyclopentenyl, cyclohexenyl, dioxanyl, phenyl, naphthyl, thienyl, pyridyl, pyrazinyl, pyridazinyl, quinolinyl, isoquinolinyl, morpholinyl, pyrrolidinyl, piperidinyl, tetrahydrofuranyl, tetrahydropyranyl and piperazinyl, which may be substituted independently of one another denote by 1, 2 or 3 substituents R1.3.1,
R1.1 denotes
(a) H,
(b) C1-6-alkyl, —CN, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl- or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3 denotes
(a) H, C1-6-alkyl, C3-6-cycloalkyl,
(b) an aryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
(c) a heteroaryl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different, or
(d) a heterocyclic group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
R1.3.1 denotes
(a) H, halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.1.1, —O—C1-6-alkylene-NR1.3.1.2R1.3.1.3, —CO2—R1.3.1.1, —C(O)—NR1.3.1.2R1.3.1.3, —SO2—NR1.3.1.2R1.3.1.3, —NR1.3.1,2—SO2—R1.3.1.3, —S(O)m—R1.3.1.2, —CN, —NR1.3.1.2R1.3.1.3, —O—C(O)—R1.3.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2 denotes
(a) halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.2.1, —O—(CH2)s—OR1.3.2.1, —CO2R1.3.2.1, —S(O)m—R1.3.2.2, —CN, —O—C(O)—R1.3.2.1 or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.1.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.1.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.1.2 and R1.3.1.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.1.1, wherein the substituents R1.3.1.1 are independent of one another,
R1.3.2.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.2.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.1.1 denotes halogen, HO— or C1-6-alkyl-O—,
R1.3.2.2 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.3 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or C1-6-alkyl-O—, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R1.3.2.2 and R1.3.2.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by 1, 2 or 3 substituents R1.3.2.1, wherein the substituents R1.3.2.1 are independent of one another,
m denotes one of the numbers 0, 1 or 2 and
s denotes one of the numbers 1, 2 or 3,
or a tautomer or salt thereof.

### Claim 5 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R1 denotes a group of the formula
wherein
R1.1 denotes
(a) H,
(b) C1-3-alkyl, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl- or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3 independently of one another denote
(a) H, C1-6-alkyl, C3-6-cycloalkyl,
(b) a phenyl group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
(c) a heteroaryl group optionally substituted by 1, 2 or 3 substituents R1.3.2 which is selected from among benzimidazole, benzothiophene, furan, imidazole, indole, isoxazole, oxazole, pyrazine, pyrazole, pyridazine, pyridine, pyrimidine, pyrrole, thiazole, thiophene and triazole, wherein the substituents R1.3.2 may be identical or different, or
(d) a heterocyclic group optionally substituted by 1, 2 or 3 substituents R1.3.2, wherein the substituents R1.3.2 may be identical or different,
R1.3.1 denotes
(a) H, halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.1.1, —O—C1-6-alkylene-NR1.3.1.2R1.3.1.3, —CO2R1.3.1.1, —C(O)—NR1.3.1.2R1.3.1.3, —SO2—NR1.3.1.2R1.3.1.3, —NR1.3.1,2—SO2—R1.3.1.3, —S(O)m—R1.3.1.2, —CN, —NR1.3.1.2R1.3.1.3, —O—C(O)—R1.3.1.1 or
(c) a C1-3-alkyl or C1-3-alkyl-O— group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2 denotes
(a) halogen, C1-6-alkyl, C3-6-cycloalkyl,
(b) —O—R1.3.2.1, —O—(CH2)s—O—R1.3.2.1, —CO2R1.3.2.1, —S(O)m—R1.3.2.2, —CN, —O—C(O)—R1.3.2.1 or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.1.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.1.1.1 denotes HO— or C1-6-alkyl-O—,
R1.3.1.2 denotes
(a) H, or
(b) C1-3-alkyl, phenyl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or H3C—O—,
R1.3.1.3 denotes
(a) H, or
(b) C1-3-alkyl, phenyl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or H3C—O—, or
R1.3.1.2 and R1.3.1.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by a substituent R1.3.1.1,
R1.3.2.1 denotes
(a) H,
(b) C1-6-alkyl, C3-6-cycloalkyl, aryl, heteroaryl, benzyl which may be substituted by a group R1.3.2.1.1, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R1.3.2.1.1 denotes HO— or C1-6-alkyl-O—,
R1.3.2.2 denotes
(a) H, or
(b) C1-3-alkyl, phenyl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or H3C—O—,
R1.3.2.3 denotes
(a) H, or
(b) C1-3-alkyl, phenyl or benzyl, wherein the groups may be unsubstituted or substituted by halogen, HO— or H3C—O—, or
R1.3.2.2 and R1.3.2.3 together may also form a ring which is selected from among azetidinyl, pyrrolidinyl, piperidinyl, piperazinyl and morpholinyl, wherein the ring may be unsubstituted or substituted by a substituent R1.3.2.1.,
m denotes one of the numbers 0, 1 or 2, and
s denotes one of the numbers 1, 2 or 3,
or a tautomer or salt thereof.

### Claim 6 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R1 denotes
or a tautomer or salt thereof.

### Claim 7 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein denotes a hydrogen atom,
or a tautomer or salt thereof.

### Claim 8 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R3 denotes
(a) H,
(b) C1-6-alkyl,
(c) a C3-6-cycloalkyl group substituted by one or two groups R3.2, or
(d) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R3.2 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4 denotes
(a) H,
(b) C1-6-alkylene-R4.1,
(c) a C3-6-cycloalkyl group substituted by one or two groups R4.2,
(d) a C5-7-cycloalkenyl group substituted by one or two groups R4.2,
(e) an aryl group substituted by one or two groups R4.2,
(f) a C5-7-cycloalkyl group which may be fused to an aryl or heteroaryl group, while the resultant bicyclic group is additionally substituted by one or two groups R4.2, or
(g) a heteroaryl group substituted by one or two groups R4.2,
R4.1 denotes
(a) H,
(b) a phenyl group substituted by the groups R4.1.1 and R4.1.2, or
(c) a heteroaryl group substituted by the groups R4.1.1 and R4.1.2,
R4.1.1 denotes
(a) H,
(c) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl, —NR4.1.1.1R4.1.1.2, —S—C1-3-alkyl, —NR4.1.1.1—C(O)—C1-3-alkyl, —C(O)—NR4.1.1.1R4.1.1.2, —C(O)—O—R4.1.1.3, or
(d) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.1.1.1.1 denotes H, or C1-3-alkyl,
R4.1.1.2 denotes H, or C1-3-alkyl, or
R4.1.1.1 and R4.1.1.2 together with the nitrogen atom to which they are bound also denote a group selected from morpholinyl, thiomorpholinyl, piperidinyl, piperazinyl, pyrrolidinyl and azetidinyl,
R4.1.1.3 denotes H, or C1-3-alkyl,
R4.1.2 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R4.2 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —CN, —O—C1-3-alkyl, —NR4.2.1R4.2.2, —S—C1-3-alkyl, —NR4.2.1—C(O)—C1-3-alkyl, —C(O)—NR4.2.1R4.2.2, C(O)—O—R4.2.3, or
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.2.1
R4.2.2 denotes H, or C1-3-alkyl and
R4.2.2 denotes H, or C1-3-alkyl, or
R4.2.1 and R4.2.2 together with the nitrogen atom to which they are bound also denote a group which is selected from among morpholinyl, thiomorpholinyl, piperidinyl, piperidonyl, piperazinyl, pyrrolidinyl and azetidinyl, and which may additionally be substituted by one or two groups selected from F, —OH, —O—C1-3-alkyl, —OCF3, C1-3-alkyl and CF3,
R4.2.3 denotes H, or C1-3-alkyl,
R3 and R4 together with the nitrogen atom to which they are bound denote:
(a) a saturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4,
(b) a saturated 5-, 6- or 7-membered heterocyclic group which is substituted at two adjacent carbon atoms by in each case a group R4.3 and R4.4,
(c) a saturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5-, 6- or 7-membered cycloalkyl or heterocyclyl group, while the fused-on cycloalkyl or heterocyclyl group is substituted by 1, 2 or 3 groups R4.5,
(d) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a phenyl group, while the fused-on phenyl group is substituted by 1, 2 or 3 groups R4.5,
(e) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5- or 6-membered heteroaryl group, while the fused-on heteroaryl group is substituted by 1, 2 or 3 groups R4.5, or
(f) a heteroaryl group which is substituted at 1, 2 or 3 carbon atoms by a group R4.5,
R4.3 denotes H, C1-3-alkyl, phenyl, —C1-3-alkylene-R4.3.1, C1-3-alkyl-O—C(O)—, HO—C(O)—, F, —O—C1-3-alkyl, —OH, or —CN
R4.3.1 denotes H, C1-3-alkyl-O—C(O)—, —NH2, (C1-4-alkyl)-NH—, (C1-4-alkyl)2N, or heterocyclyl,
R4.4 denotes
(a) H, C1-3-alkyl, —OH, —O—C1-3-alkyl or
(b) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.3 and R4.4 together with the carbon atoms to which they are bound also denote a C3-6-cycloalkyl, C5-6-cycloalkenyl or heterocyclyl group,
R4.5 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —NH2, —CN, —C(O)—O—R4.5.1, —C(O)—NR4.5.2R4.5.3,
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
(d) phenyl,
R4.5.1 denotes H, or C1-3-alkyl,
R4.5.2 denotes H, or C1-3-alkyl and
R4.5.3 denotes H, or C1-3-alkyl,
or a tautomer or salt thereof.

### Claim 9 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R3 denotes
(a) H,
(b) C1-6-alkyl,
(c) a C3-6-cycloalkyl substituted by one or two groups R3.2, or
(d) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R3.2 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4 denotes
(a) H,
(b) C1-6-alkylene-R4.1,
(c) a C3-6-cycloalkyl group substituted by one or two groups R4.2,
(d) a C5-7-cycloalkenyl group substituted by one or two groups R4.2,
(e) an aryl group substituted by one or two groups R4.2, or
(f) a C5-6-cycloalkyl group which may be fused to a phenyl, thiazole or thienyl group, while the resultant bicyclic group is additionally substituted by one or two groups R4.2,
R4.1 denotes
(a) H, or
(b) a phenyl group substituted by the groups R4.1.1 and R4.1.2,
R4.1.1 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —CN, —C(O)—O—R4.1.1.3, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.1.1.3 denotes H, or C1-3-alkyl,
R4.1.2 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R4.2 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —CN, —NH2, —O—C(O)—C1-3-alkyl, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R3 and R4 together with the nitrogen atom to which they are bound denote:
(a) a saturated 5- or 6-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4,
(b) a saturated 5- or 6-membered heterocyclic group which is substituted at two adjacent carbon atoms by in each case a group R4.3 and R4.4,
(c) a saturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5-, 6- or 7-membered cycloalkyl or heterocyclyl group, while the fused-on cycloalkyl or heterocyclyl group is substituted by 1, 2 or 3 groups R4.5,
(d) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a phenyl group, while the fused-on phenyl group is substituted by 1, 2 or 3 groups R4.5,
(e) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5- or 6-membered heteroaryl group, while the fused-on heteroaryl group is substituted by 1, 2 or 3 groups R4.5 and is selected from among
(f) a heteroaryl group which is substituted at 1, 2 or 3 carbon atoms by in each case a group R4.5,
R4.3 denotes H, C1-3-alkyl, phenyl, —C1-3-alkylene-R4.3.1, C1-3-alkyl-O—C(O)—, HO—C(O)—, F, —O—C1-3-alkyl, —OH, or —CN
R4.3.1 denotes H, C1-3-alkyl-O—C(O)—, —NH2, (C1-4-alkyl)-NH—, (C1-4-alkyl)2N—, morpholinyl, thiomorpholinyl, piperidinyl, pyrrolidinyl, or azetidinyl,
R4.4 denotes
(a) H, C1-3-alkyl, —OH, —O—C1-3-alkyl or
(b) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.3 and R4.4 together with the carbon atoms to which they are bound also denote a C3-6-cycloalkyl or heterocyclyl group, and
R4.5 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —NH2, —CN,
(c) a C1-3-alkyl or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
(d) phenyl,
or a tautomer or salt thereof.

### Claim 10 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R3 denotes
(a) H,
(b) C1-6-alkyl,
(c) a C3-6-cycloalkyl group substituted by one or two groups R3.2, or
(d) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R3.2 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4 denotes
(a) H,
(b) C1-6-alkylene-R4.1,
(c) a C3-6-cycloalkyl group substituted by one or two groups R4.2,
(d) a C5-7-cycloalkenyl group substituted by one or two groups R4.2,
(e) a phenyl group substituted by one or two groups R4.2, or
(f) a C5-6-cycloalkyl group which may be fused to a phenyl, thiazolyl or thienyl group, while the resultant bicyclic group is additionally substituted by one or two groups R4.2,
R4.1 denotes
(a) H, or
(b) a phenyl group substituted by the groups R4.1.1 and R4.1.2,
R4.1.1 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —CN, —C(O)—O—R4.1.1.3, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.1.1.3 denotes H, or C1-3-alkyl,
R4.1.2 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R4.2 denotes
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —CN, —NH2, or
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
R3 and R4 together with the nitrogen atom to which they are bound denote:
(a) a saturated 5- or 6-membered heterocyclic group which is selected from among piperidinyl, piperidinonyl, morpholinyl, thiomorpholinyl, piperazinyl, pyrrolidinyl and pyrrolidinonyl, and which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4,
(b) a saturated 5- or 6-membered heterocyclic group which is selected from among piperidinyl, piperidinonyl, morpholinyl, thiomorpholinyl, piperazinyl, pyrrolidinyl and pyrrolidinonyl, and which is substituted at two adjacent carbon atoms by in each case a group R4.3 and R4.4,
(c) a saturated 5-, 6- or 7-membered heterocyclic group which is selected from among piperidinyl, piperidinonyl, morpholinyl, thiomorpholinyl, piperazinyl, pyrrolidinyl, pyrrolidinonyl, azepanyl, diazepanyl, diazepanonyl and oxazepanyl, and which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5-, 6- or 7-membered cycloalkyl or heterocyclyl group, which is selected from among piperidinyl, piperidinonyl, morpholinyl, thiomorpholinyl, piperazinyl, pyrrolidinyl, pyrrolidinonyl, azepanyl, diazepanyl, diazepanonyl and oxazepanyl, while the fused-on cycloalkyl or heterocyclyl group is substituted by 1, 2 or 3 groups R4.5,
(d) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is selected from among
and which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a phenyl group, wherein the fused-on phenyl group is substituted by 1, 2 or 3 groups R4.5,
(e) a monounsaturated 5-, 6- or 7-membered heterocyclic group which is selected from among
and which is substituted at a carbon atom by a group R4.3 or by two groups R4.3 and R4.4 and is additionally fused to a 5- or 6-membered heteroaryl group, wherein the fused-on heteroaryl group is substituted by 1, 2 or 3 groups R4.5 and is selected from among
(f) a heteroaryl group which is selected from among indole, isoindole, azaindole, indazole and benzimidazole, and which is substituted at 1, 2 or 3 carbon atoms by a group R4.5,
R4.3 denotes H, C1-3-alkyl, phenyl, —C1-3-alkylene-R4.3.1, C1-3-alkyl-O—C(O)—, HO—C(O)—, F, —O—C1-3-alkyl, —OH, or —CN,
R4.3.1 denotes H, C1-3-alkyl-O—C(O), —NH2, (C1-4-alkyl)-NH, (Ci-4-alkyl)2N, morpholinyl, thiomorpholinyl, piperidinyl, pyrrolidinyl, or azetidinyl,
R4.4 denotes
(a) H, C1-3-alkyl, —OH, —O—C1-3-alkyl or
(b) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms,
R4.3 and R4.4 together with the carbon atoms to which they are bound also denote a C3-6-cycloalkyl group or a heterocyclyl group which is selected from among azetidinyl, pyrrolidinyl, piperidinyl and azepanyl, and
R4.5 independently of one another denote
(a) H,
(b) halogen, C1-3-alkyl, —OH, —O—C1-3-alkyl, —NH2, —CN,
(c) a C1-3-alkyl- or —O—C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, or
(d) phenyl,
or a tautomer or salt thereof.

### Claim 11 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R3 denotes
(a) H,
(b) C1-3-alkyl, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, and
R4 denotes H or a group selected from
R3 and R4 together with the nitrogen atom to which they are bound denote a group selected from
or a tautomer or salt thereof.

### Claim 12 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R5 denotes H or C1-3-alkyl,
or a tautomer or salt thereof.

### Claim 13 (depends on 1)

A compound of the formula Ia or Ib according to claim 1, wherein
R1 denotes a group selected from
R2 denotes H,
R3 denotes
(a) H,
(b) C1-3-alkyl, or
(c) a C1-3-alkyl group wherein each methylene group is substituted by up to two fluorine atoms and each methyl group is substituted by up to three fluorine atoms, and
R4 denotes H or a group selected from
R3 and R4 together with the nitrogen atom to which they are bound denote a group selected from
R5 denotes H or C1-3-alkyl,
or a tautomer or salt thereof.

### Claim 14 (depends on 1)

A compound of the formula Ia or Ib according to claim 1 selected from the group consisting of:
No.
Structure
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
and
(17)
or a tautomer or salt thereof.

### Claim 15 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)

A physiologically acceptable salt of a compound according to any one of claims 1 to 14.

### Claim 16 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)

A pharmaceutical composition comprising a compound according to any one of claims 1 to 14 or a physiologically acceptable salt thereof together with an inert carrier or diluent.

### Claim 17 (depends on 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)

A method for treating tension headache, migraine headache or cluster headache which method comprises administering to a host suffering from the same a therapeutically effective amount of a compound according to any one of claims 1 to 14 or a physiologically acceptable salt thereof.
