Condensed heterocyclic compounds, their production and use

Abstract: A condensed heterocyclic derivative of the formula (I): wherein X is an oxygen atom, a sulfuir atom or R¹-N< wherein R¹ is a hydrogen atom, a hydrocarbon group which may be substituted or an acyl group which may be substituted; R² is a hydrogen atom or a hydrocarbon group which may be substituted; ring A is a benzene ring which may be substituted, k is a whole number of 0 to 3; m is a whole number of 1 to 8; and n is a whole number of 1 to 6, or a salt thereof exhibiting high colinesterase inhibitory activity, and a method for producing the same.

Description: The present invention relates to novel condensed heterocyclic compounds or their salts. The compounds of the invention are useful as a medicine and a cholinesterase inhibitor and specifically as a therapeutic and/or prophylactic agent for senile dementia, Alzheimer's disease and so on. In these days of aging society, there has been proposed a variety of compounds which have therapeutic and prophylactic efficacy for senile dementia. It has been found that physostigmine, a naturally-occurring cholinesterase inhibitor, has therapeutic and/or prophylactic activity for senile dementia. However, physostigmine has the drawbacks of a short duration of action, high toxicity and so on. Meanwhile, as synthetic drugs for a colinesterase inhibitor, depressant or so, a variety of heterocyclic compounds have been proposed (e.g. USP 4,064,255, USP 4,208,417, USP 4,849,431, USP 4,895,841, Japanese Publish unexamined patent application No. 169569/1990 and EP-A-0,378,207). However, what is needed now is a compound which is more active, longer-acting and less toxic than the compounds already known to have therapeutic and/or prophylactic efficacy for senile dementia. The present invention provides a novel class of compounds which is useful as a cholinesterase inhibitor and particularly as a therapeutic and/or prophylactic agent for senile dementia, Alzheimer's disease and so on. The inventors of present invention explored compounds which could be of use as medicament for improving the functions of the the central nervous system and particularly compounds of value for the relief of senile dementia, Alzheimer's disease and so on due to brain ischemia and succeeded in the creation of a condensed heterocyclic compound of the formula (I): wherein X is an oxygen atom, a sulfur atom or R¹-N< wherein R¹ is a hydrogen atom, a hydrocarbon group which may be substituted or an acyl group which may be substituted; R² is a hydrogen atom or a hydrocarbon group which may be substituted; ring A is a benzene ring which may be substituted; k is a whole number of 0 to 3; m is a whole number of 1 to 8; and n is a whole number of 1 to 6, or a salt thereof. The compound (I) or its salt according to the present invention is structurally characterized in that the hetero atom (O,S or N)-containing heterocycle fused to the benzene ring is a saturated ring and that a substituent group of the formula: is bound directly to a carbon atom of the benzene ring. This compound is believed to be a novel compound which has not been disclosed in the literature. Referring to the above formula (I), the "hydrocarbon group" of "the hydrocarbon group which may be substituted" as designated by R¹ and R² includes acyclic, cyclic, saturated, unsaturated or their optionally combinated hydrocarbon groups. The acyclic saturated hydrocarbon group includes straight-chain or branched C₁₋₁₁ alkyl groups (e.g. methyl, ethyl, n-propyl, i-propyl, n-butyl, i-butyl, tert-butyl, n-pentyl, n-hexyl). The acyclic unsaturated hydrocarbon group includes straight-chain or branched C₂₋₄ alkenyl groups (e.g. vinyl, allyl, 2-butenyl) and C₂₋₄ alkynyl groups (e.g. propargyl, 2-butynyl). The cyclic saturated hydrocarbon group includes C₃₋₇ monocyclic cycloalkyl groups (e.g. cyclobutyl, cyclopentyl, cyclohexyl) and C₈₋₁₄ bridged cyclic saturated hydrocarbon groups (e.g. bicyclo[3.2.1]oct-2-yl, bicyclo[3.3.1]non-2-yl, adamantan-1-yl). The cyclic unsaturated hydrocarbon group includes phenyl, naphthyl and so on. The "hydrocarbon group" of the "hydrocarbon group which may be substituted" as designated by R¹ and R² may be an optionally combined hydrocarbon group representing an optional combination of the above-mentioned acyclic, cyclic, saturated and unsaturated hydrocarbon groups, such as C₇₋₁₈ aralkyl ( such as phenyl C₁₋₁₂ alkyl and naphthyl C₁₋₈ alkyl, e.g. phenylmethyl, phenylethyl, phenylpropyl, phenylbutyl, phenylpentyl, phenylhexyl, α-naphthylmethyl), C₈₋₁₈ arylalkenyl (such as aryl C₂₋₁₂ alkenyl, e.g. styryl, cinnamyl, 4-phenyl-2-butenyl, 4-phenyl-3-butenyl), C₈₋₁₈ arylalkynyl (such as aryl C₂₋₁₂ alkynyl, e.g. phenylethynyl, 3-phenyl-2-propynyl, 3-phenyl-propynyl), C₃₋₇ cycloalkyl-C₁₋₆ alkyl (e.g. cyclopropylmethyl, cyclobutylmethyl, cyclopentylmethyl, cyclohexylmethyl, cycloheptylmethyl, cyclopropylethyl, cyclobutylethyl, cyclopentylethyl, cyclohexylethyl, cycloheptylethyl, cyclopropylbutyl, cyclobutylbutyl, cyclopentylbutyl, cyclohexylbutyl, cycloheptylbutyl, cyclopropylpentyl, cyclobutylpentyl, cyclopentylpentyl, cyclohexylpentyl, cycloheptylpentyl, cyclopropylhexyl, cyclobutylhexyl, cyclopentylhexyl, cyclohexylhexyl, cycloheptylhexyl) groups and so on. The preferable examples of the "hydrocarbon group" of the "hydrocarbon group which may be substituted" as designated by R¹ include a straight-chain or branched C₁₋₇ alkyl group (e.g. methyl, ethyl, n-propyl, i-propyl, n-butyl, i-butyl, tert-butyl, n-pentyl, n-hexyl) or a C₇₋₁₀ aralkyl group (e.g. phenylmethyl, phenylethyl, phenylpropyl) and the examples of the "hydrocarbon group" of the "hydrocarbon group which may be substituted" as designated by R² include a C₇₋₁₀ aralkyl (e.g. phenylmethyl, phenylethyl, phenylpropyl). The acyclic saturated, acyclic unsaturated and cyclic saturated hydrocarbon groups mentioned above for R¹ and R² may be substituted by 1 to 5 substituents selected from the group consisting of halogen (e.g. fluoro, chloro, bromo, iodo), nitro, cyano, hydroxy, C₁₋₄ alkoxy (e.g. methoxy, ethoxy, propyloxy, butyloxy, isopropyloxy), C₁₋₄ alkylthio (e.g. methylthio, ethylthio, propylthio), amino, mono- or di-C₁₋₄ alkyl-substituted amino (e.g. methylamino, ethylamino, propylamino, dimethylamino, diethylamino), cyclic amino (e.g. pyrrolidino, piperidino, morpholino), C₁₋₄ alkylcarbonylamino (e.g. acetylamino, propionylamino, butyrylamino), C₁₋₄ alkylsulfonylamino (e.g. methylsulfonylamino, ethylsulfonylamino), C₁₋₄ alkoxycarbonyl (e.g. methoxycarbonyl, ethoxycarbonyl, propoxycarbonyl), hydroxycarbonyl, C₁₋₆ alkylcarbonyl (e.g. methylcarbonyl, ethylcarbonyl, propylcarbonyl), carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl (e.g. methylcarbamoyl, ethylcarbamoyl), C₁₋₆ alkylsulfonyl (e.g. methylsufonyl, ethylsulfonyl, propylsulfonyl) and so on. The substituents on the "benzene ring which may be substituted" as designated by ring A in formula (I) and the substituents on the cyclic unsaturated hydrocarbon group as designated by R¹ and R² include C₁₋₄ alkyl (e.g. methyl, ethyl, propyl, butyl), halogen (e.g. fluoro, chloro, bromo, iodo), nitro, cyano, hydroxy, C₁₋₄ alkoxy (e.g. methoxy, ethoxy, propyloxy, butyloxy, isopropyloxy), C₁₋₄ alkylthio (e.g. methylthio, ethylthio, propylthio, isopropylthio, butylthio), amino, mono- or di-C₁₋₄ alkyl-substituted amino (e.g. methylamino, ethylamino, propylamino, dimethylamino, diethylamino), cyclic amino (e.g. pyrrolidino, piperidino, morpholino), C₁₋₄ alkylcarbonylamino (e.g. acetylamino, propionylamino, butyrylamino), aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy (e.g. methylaminocarbonyloxy, ethylaminocarbonyloxy, dimethylaminocarbonyloxy, diethylaminocarbonyloxy), C₁₋₄ alkylsufonylamino (e.g. methylsulfonylamino, ethylsulfonylamino, propylsulfonylamino), C₁₋₄ alkoxycarbonyl (e.g. metoxycarbonyl, ethoxycarbonyl, propoxycarbonyl, isobutoxycarbonyl), hydroxycarbonyl, C₁₋₆ alkylcarbonyl (e.g. methylcarbonyl, ethylcarbonyl, butylcarbonyl), C₃₋₆ cycloalkylcarbonyl (e.g. cyclohexylcarbonyl), carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl (e.g. methylcarbamoyl, ethylcarbamoyl, propylcarbamoyl, butylcarbamoyl, diethylcarbamoyl, dibutylcarbamoyl) and C₁₋₆ alkylsulfonyl (e.g. methylsulfonyl, ethylsulfonyl, propylsulfonyl) and C₃₋₆ cycloalkylsulfonyl (e.g. cyclopentylsulfonyl, cyclohexylsulfonyl) as well as a phenyl naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl (e.g. phenylmethylcarbamoyl, phenylethylcarbamoyl, phenylpropylcarbamoyl), phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino (e.g. phenylmethylcarbonylamino, phenylethylcarbonylamino), benzoylamino, phenyl-C₁₋₄ alkylsulfonyl (e.g. phenylmethylsulfonyl, phenylethylsulfonyl), phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl (e.g. phenylmethylsulfinyl, phenylethylsulfinyl), phenyl-C₁₋₄ alkylsulfonylamino (e.g. phenylmethylsulfonylamino, phenylethylsulfonylamino) or phenylsulfonylamino which may have 1 to 4 substituents, for example selected from the group consisting of C₁₋₄ alkyl groups such as methyl, ethyl, propyl, butyl, isopropyl, etc., C₁₋₄ alkoxy groups such as methoxy, ethoxy, n-propyloxy, i-propyloxy, n-butyloxy, etc., halogen such as chloro, bromo and iodo, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino such as mentioned above, nitro, and C₁₋₆ alkylcarbonyl such as mentioned above and so on. The appropriate number of such substituents on the benzene ring or cyclic unsaturated hydrocarbon group is 1 to 3. The optionally combined hydrocarbon group as designated by R¹ and R² may be substituted by 1 to 5 substituents selected from the group consisting of C₁₋₄ alkyl (e.g. methyl, ethyl, propyl, butyl), halogen (e.g. fluoro, chloro, bromo, iodo), nitro, cyano, hydroxy, C₁₋₄ alkoxy (e.g. methoxy, ethoxy, propyloxy, butyloxy, isopropyloxy), C₁₋₄ alkylthio (e.g. methylthio, ethylthio, propylthio, isopropylthio, butylthio), amino, mono- or di-C₁₋₄ alkyl-substituted amino (e.g. methylamino, ethylamino, propylamino, dimethylamino, diethylamino), cyclic amino (e.g. pyrrolidino, piperidino, morpholino), C₁₋₄ alkylcarbonylamino (e.g. acetylamino, propionylamino, butyrylamino), aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy (e.g. methylaminocarbonyloxy, ethylaminocarbonyloxy, dimethylaminocarbonyloxy, diethylaminocarbonyloxy), C₁₋₄ alkylsufonylamino (e.g. methylsulfonylamino, ethylsulfonylamino, propylsulfonylamino), C₁₋₄ alkoxycarbonyl (e.g. metoxycarbonyl, ethoxycarbonyl, propoxycarbonyl, isobutoxycarbonyl), hydroxycarbonyl, C₁₋₆ alkylcarbonyl (e.g. methylcarbonyl, ethylcarbonyl, butylcarbonyl), C₃₋₆ cycloalkylcarbonyl (e.g. cyclohexylcarbonyl), carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl (e.g. methylcarbamoyl, ethylcarbamoyl, propylcarbamoyl, butylcarbamoyl, diethylcarbamoyl, dibutylcarbamoyl), C₁₋₆ alkylsulfonyl (e.g. methylsulfonyl, ethylsulfonyl, propylsulfonyl) and C₃₋₆ cycloalkylsulfonyl (e.g. cyclopentylsulfonyl, cyclohexylsulfonyl) as well as a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl (e.g. phenylmethylcarbamoyl, phenylethylcarbamoyl, phenylpropylcarbamoyl), phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino (e.g. phenylmethylcarbonylamino, phenylethylcarbonylamino), benzoylamino, phenyl-C₁₋₄ alkylsulfonyl (e.g. phenylmethylsulfonyl, phenylethylsulfonyl), phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl (e.g. phenylmethylsulfinyl, phenylethylsulfinyl), phenyl-C₁₋₄ alkylsulfonylamino (e.g. phenylmethylsulfonylamino, phenylethylsulfonylamino) or phenylsulfonylamino which may have 1 to 4 substituents, for example selected from the group consisting of C₁₋₄ alkyl groups such as methyl, ethyl, propyl, butyl, isopropyl, etc., C₁₋₄ alkoxy groups such as methoxy, ethoxy, n-propyloxy, i-propyloxy, n-butyloxy, etc., halogen such as chloro, bromo and iodo, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino such as mentioned above, nitro, and C₁₋₆ alkylcarbonyl such as mentioned above and so on. The "acyl" of the "acyl group which may be substituted" as designated by R¹ includes carboxylic acid acyl groups (e.g. hormyl, C₂₋₈ alkyl- or phenylcarbonyl groups such as acetyl, propionyl, butyryl, benzoyl, etc.), sulfonic acid acyl groups (e.g. C₁₋₇ alkyl- or phenylsulfonyl groups such as methanesulfonyl, benzenesulfonyl, p-toluensulfonyl, etc.), phosphonic acid acyl groups (e.g. C₁₋₇ alkyl- or phenylphosphonyl groups such as methanephosphonyl, benzenephosphonyl, etc.), and substituted oxycarbonyl groups (e.g. C₂₋₈ alkyloxycarbonyl or C₇₋₈-aralkyloxy-carbonyl groups such as methyloxycarbonyl, tert-butyloxycarbonyl, benzyloxycarbonyl, etc.). Each of these acyl groups may optionally have 1 to 3, preferably 1 to 2, substituents such as halogen (e.g. fluoro, chloro, bromo, iodo), amino, C₁₋₆ alkyl or C₃₋₆ cycloalkyl-substituted primary or secondary amino (e.g. methylamino, ethylamino, propylamino, cyclohexylamino, dimethylamino, diethylamino, diisopropylamino, dicyclohexylamino), C₁₋₄ alkoxy (e.g. methoxy, ethoxy, propoxy) and so on. X is preferably R¹-N< and especially R¹ is preferably hydrogen, methyl, ethyl, benzyl, acetyl, benzoyl, methoxycarbonyl or ethoxycarbonyl. R² is preferably a benzyl or α-naphthylmethyl group which is either unsubstituted or substituted by 1 or 2 substituents selected from the group consisting of halogen (e.g. fluoro, chloro), methyl, nitro and/or methoxy and more preferable examples of R² include an unsubstituted benzyl. The substituent on ring A is preferably fluoro, chloro, trifluoromethyl, methyl or methoxy, and more preferably fluoro. The preferred k and m are such that when the sum of k and m is a whole number of 2 to 6; that is when forms a 5 to 9 membered ring. The preferred combination of k and m is such that when k is 0, m is 2, 3, 4 or 5; when k is 1, m is 1, 2 or 3; or when k is 2, m is 2. Thus, the preferred nitrogen-containing condensed heterocyclic rings which are represented by are 2,3-dihydro-1H-indole, 1,2,3,4-tetrahydroquinoline, 2,3,4,5-tetrahydro-1H-1-benzazepine, 2,3-dihydro-1H-isoindole, 1,2,3,4-tetrahydroisoquinoline, 2,3,4,5-tetrahydro-1H-2-benzazepine, 2,3,4,5-tetrahydro-1H-3-benzazepine, 1,2,3,4,5,6-hexahydro-1-benzazocine, 1,2,3,4,5,6-hexahydro-2-benzazocine, 1,2,3,4,5,6-hexahydro-3-benzazocine, 2,3,4,5,6,7-hexahydro-1H-1-benzazonine, 2,3,4,5,6,7-hexahydro-1H-2-benzazonine, 2,3,4,5,6,7-hexahydro-1H-3-benzazonine, 2,3,4,5,6,7-hexahydro-1H-4-benzazonine. The preferred oxygen-containing condensed heterocyclic rings which are represented by are 2,3-dihydrobenzofuran, 1,3-dihydroisobenzofuran, 3,4-dihydro-2H-1-benzopyran, 2,3,4,5-tetrahydro-1-benzoxepin, 1,3,4,5-tetrahydro-2-benzoxepin, 1,2,4,5-tetrahydro-3-benzoxepin, 3,4,5,6-tetrahydro-2H-1-benzoxocin, 3,4,5,6-tetrahydro-1H-2-benzoxocin, 1,4,5,6-tetrahydro-2H-3-benzoxocin, 2,3,4,5,6,7-hexahydro-1-benzoxonin, 1,3,4,5,6,7-hexahydro-2-benzoxonin, 1,2,4,5,6,7-hexahydro-4-benzoxonin, 1,2,3,5,6,7-hexahydro-4-benzoxonin. The preferred sulfur-containing condensed heterocyclic rings which are represented by are 2,3-dihydro[b]thiophen, 1,3-dihydrobenzo[c]thiophen, 3,4-dihydro-2H-1-benzothiopyran, 3,4-dihydro-1H-2-benzothiopyran, 2,3,4,5-tetrahydro-1-benzothiepin, 1,3,4,5-tetrahydro-2-benzothiepin, 1,2,4,5-tetrahydro-3-benzothiepin, 3,4,5,6-tetrahydro-2H-1-benzothiocin, 3,4,5,6-tetrahydro-1H-2-benzothiocin, 1,4,5,6-tetrahydro-2H-3-benzothiocin, 2,3,4,5,6,7-hexahydro-1-benzothionin, 1,3,4,5,6,7-hexahydro-2-benzothionin, 1,2,4,5,6,7-hexahydro-3-benzothionin, 1,2,3,5,6,7-hexahydro-4-benzothionin. The more preferred heterocyclic rings which are represented by wherein each symbol is as defined above, include wherein R³ is a hydrogen atom or a C₁₋₃ alkyl group. The C₁₋₃ alkyl group of R³ includes methyl, ethyl, propyl and iso-propyl. The preferred example of n is 1,2 or 3, and more preferably 2. Specifically, the following compounds of formula (I) and their salts thereof are preferred. The salt of compound (I) according to the present invention is preferably a physiologically acceptable acid addition salt. The salt mentioned above includes salts with inorganic acids (e.g. hydrochloric acid, phosphoric acid, hydrobromic acid, sulfuric acid) and salts with organic acids (e.g. acetic acid, formic acid, propionic acid, fumaric acid, maleic acid, succinic acid, tartaric acid, citric acid, malic acid, oxalic acid, benzoic acid, methanesulfonic acid, benzenesulfonic acid). Furthermore, when the compound (I) according to the present invention has an acidic group such as COOH, compound (I) may form a salt with an inorganic base (e.g. sodium, potassium, calcium, magnesium, ammonia) or an organic base (e.g. triethylamine). The process for producing the compound (I) or its salt of the invention is now described. While the following description of the production process applies not only to the production of compound (I) but also to the production of its salt, they may be referred to as the compound (I) below. The compound (I) can be produced by reacting a compound of the formula (II): wherein Y is a halogen; n is as defined in formula (I); Z is an amino-protecting group or a salt thereof with a compound of the formula (III): wherein each symbol is as defined in formula (I), or a salt thereof and deprotecting the resulting compound of the formula (IV): wherein each symbol is as defined hereinbefore or a salt thereof. Y is preferably chloro, bromo or iodo, and a more preferable example of Y is chloro. Z is preferably acetyl, benzoyl, formyl, methoxycarbonyl, ethoxycarbonyl, t-butoxycarbonyl or benzyloxycarbonyl, and more preferable examples of Z include acetyl and benzoyl. Here, the compound of formula (II) or a salt thereof can be prepared by processes which are known per se or processes analogous thereto. For example, it can be produced by the process described in Chemical Pharmaceutical Bulletin, 34 , 3747-3761 (1986). The compound of formula (III) or a salt thereof can be prepared by processes which are known per se or processes analogous thereto. For example, it can be produced by the processes described in Journal of the Organic Chemistry 34 , 2235 (1969), Journal of the Organic Chemistry 54 , 5574 (1989), Tetrahedron letters 35 , 3023 (1977), Bulletin of the Chemical Society of Japan, 56 2300 (1983) and so on. The salt of compound(I) or compound(IV) according to the present invention is preferably a physiologically acceptable acid addition salt. The salt mentioned above includes salts with inorganic acids (e.g. hydrochloric acid, phosphoric acid, hydrobromic acid, sulfuric acid) and salts with organic acids (e.g. acetic acid, formic acid, propionic acid, fumaric acid, maleic acid, succinic acid, tartaric acid, citric acid, malic acid, oxalic acid, benzoic acid, methanesulfonic acid, benzenesulfonic acid). The reaction between compound (II) or a salt thereof (e.g. one of the salts mentioned for formula (I)) and compound (III) or a salt thereof can be carried out as follows, for instance. Thus, the compound (II) or a salt thereof is allowed to react with the compound (III) without using a solvent or in a solvent, where necessary in the presence of an acid or the like. The acid may be a Lewis acid (e.g. aluminum chloride, zinc chloride, titanium chloride). The amount of such acid is generally used at a ratio of 1 to 20 moles and preferably 2 to 10 moles relative to one mole of the compound (II). The solvent may be any of the common solvents used in chemical reactions provided it does not interfere with the reaction. For example, dichloromethane, dichloroethane, nitrobenzene, carbon disulfide, etc. can be employed as the solvent. The reaction temperature is generally about -30°C to 150°C and preferably about 20°C to 100°C. The reaction time is generally 0.5 to 72 hours. The amount of compound (III) or a salt thereof is generally used at a ratio of 1 to 20 moles and preferably about 1 to 5 moles relative to one mole of the compound (II) or a salt thereof. The position of introduction of the group of formula (II) into the compound of formula (III) in the above reaction may be any positions of ring A which can be substituted. For example it is predominantly the 6-position when the skeletal structure of compound (III) is 1,2,3,4-tetrahydroquinoline (where ring A is unsubstituted). However, the compounds formed upon introduction into other positions (5-, 7- and 8-positions) may also be produced and isolated. The compound (IV) or a salt thereof thus produced can be isolated and purified by the conventional procedures such as concentration, pH adjustment, redistribution, solvent extraction, fractional distillation, distillation, crystallization, recrystallization, chromatography and so on. However, the reaction mixture may be directly used as the material to the next reaction stage. The deprotection of the compound (IV) or a salt thereof can be carried out by treating the compound (IV) or a salt thereof with an acid or a base. Thus, the compound of formula (IV) or a salt thereof is maintained in an aqueous solution of mineral acid (e.g. nitric acid, hydrochloric acid, hydrobromic acid, iodic acid, sulfuric acid) or alkali metal hydroxide (e.g. sodium hydroxide, potassium hydroxide, barium hydroxide, lithium hydroxide) at 10° to 150°C, preferably at 50° to 100°C. Such acid or base is generally used at a ratio of 1 to 100 equivalents and preferably 1 to 40 equivalents relative to the compound (IV) or a salt thereof. The strength of the acid or base is generally about 1 to 10 N, and preferably about 4 to 10 N. The reaction time, which depends on the reaction temperature, is generally 1 to 24 hours and preferably about 2 to 10 hours. The compound (I) (R²=H) or a salt thereof thus produced can be isolated and purified by the conventional procedures such as concentration, pH adjustment, redistribution, solvent extraction, fractional distillation, distillation, crystallization, recrystallization, chromatography and so on. However, the reaction mixture may be directly used as the material to the next reaction stage. The compound (I) wherein R² is a group other than a hydrogen atom or a salt thereof can be produced by reacting a compound (I) (R²=H) or a salt thereof with a compound of formula R 2' -Y' (V) wherein R 2' is a hydrocarbon group which may be substituted; and Y' is a leaving group. The leaving group Y' includes halogen (e.g. chloro, bromo, iodo), C₁₋₆ alkylsulfonyloxy (e.g. methanesulfonyloxy, ethanesulfonyloxy) and C₆₋₁₀ arylsulfonyloxy (e.g. benzenesulfonyloxy, p-toluenesulfonyloxy). The reaction between the compound (I) (R²=H) or a salt thereof and the compound (V) is conducted in a solvent or without using a solvent, where necessary in the presence of a base. The base mentioned just above includes various inorganic bases such as sodium carbonate, potassium carbonate, lithium carbonate, sodium hydroxide, potassium hydroxide, sodium methoxide, sodium ethoxide, sodium hydride, etc. and various organic bases such as pyridine, 4-dimethylaminopyridine, triethylamine and so on. When a solvent is employed, the solvent includes lower alcohols such as methanol, ethanol,propanol, isopropyl alcohol, n-butanol, t-butanol, etc., ethers such as dioxane, ether, tetrahydrofuran, etc., aromatic hydrocarbons such as toluene, benzene, xylene, etc., amides such as dimethylformamide, dimethylacetamide, hexamethylphosphonotriamide, etc., esters such as ethyl acetate, butyl acetate, etc. which do not interfere with the reaction. This reaction can be conducted under cooling (about 0°C to 10°C), at room temperature (about 10°C to 40°C) or under heating (about 40°C to 120°C), and the reaction time is generally 10 minutes to 48 hours and preferably 2 to 16 hours. The preferred amount of compound (V) is generally used at a ratio of 0.3 to 5.0 moles relative to one mole of the compound (I) (R²=H) or a salt thereof. When a base is employed, the amount of the base is generally used at a ratio of more than one mole and preferably 1.1 to 5 moles relative to one mole of the compound (I) (R²=H) or its salt. If desired, this reaction may be hastened by conducting it in the presence of sodium iodide, potassium iodide, lithium iodide or the like. In such cases, the amount of such iodide is generally used at a ratio of 1 to 5 moles and preferably 1.1 to 1.5 moles relative to one mole of the compound (V). Furthermore, the compound (I) or a salt thereof can also be produced by reacting a compound of the formula (VI): wherein k, m, n, ring A and R² are as defined hereinbefore or a salt thereof with a compound of the formula (VII): R 1' -Y' (VII) wherein R 1' is a hydrocarbon group which may be substituted or an acyl group which may be substituted; Y' is as defined hereinbefore, under the same conditions as those mentioned for the reaction between the compound (I) (R²=H) or a salt thereof and the compound (V). Here, the compound of formula (VI) or a salt thereof can be produced by the processes mentioned above and can be also produced by hydrolyzing the compound (I)(R²≠H) in which R¹ is acyl or a salt thereof with an acid or a base. This hydrolyzing reaction can be conducted in the same manner as the deprotection of the compound (IV) or a salt thereof. The compound (I) can also be produced by other known processes or processes analogous thereto (e.g. the compound (I) can be prepared by reduction of the compounds (IV), wherein Z is a carboxylic acid acyl, protection and deprotection of functional groups of the compound (IV) such as ketone may be necessary in the process). When the compound (I) thus obtained is a free compound, it can be converted to its salt in the per se conventional manner. When the product compound is a salt, it can be converted to the free compound or a different salt by the per se known procedure. The compound (I) or its salt thus obtained can be isolated and purified by the known procedures mentioned hereinbefore. The compound (I) or its salt according to the present invention has effects on the central nervous system of mammals, has high cholinesterase inhibitory activity, and exhibits potent antiamnesic effects on various amnesia-inducing factors in man and animals (e.g. mice). The compound (I) or its salt according to the present invention features an excellent separation between effects on the central nervous system and those on the peripheral nervous system, as compared with physostigmine and, at the antiamnesic dose level, does not cause peripheral nervous system effects such as spasm, salivation and diarrhea or, if it does, only minimally. Moreover, it is characterized by a long duration of effects as well as low toxicity and insures a high efficacy when administered orally. The acute toxicity of the compound (I) or its salt according to the present invention is beyond 100 mg/kg. Therefore, the compound (I) or a salt thereof of the present invention is useful as an agent to improve the brain function for mammalian animals including human beings. The compound (I) or a salt thereof of the present invention may be used for such diseases as senile dementia, Alzheimer's disease, Huntington's chorea, hyperkinesia and mania, and may be used for the prophylaxis or therapy of these diseases. The compound (I) or a salt thereof according to the present invention is generally formulated with a pharmaceutically acceptable carrier or excipient and can be administered orally or parenterally to man and other mammalians. Such pharmaceutical preparations may be those for oral administration (e.g. powders, tablets, granules, capsules, etc.) or for parenteral administration (e.g. suppositories, injections). These preparations can be manufactured by the per se known methods. While the dosage depends on the type of disease and the symptom to be controlled, the usual daily oral dosage per adult human is about 0.01 to 100 mg, preferably 0.1 to 30 mg, and more preferably 0.3 to 10 mg. The following reference examples, working examples, formulation examples and test examples are intended to illustrate the present invention in further detail and should by no means be construed as defining the metes and bounds of the invention. In the examples and reference examples, elution in the procedure of column chromatography was carried out under monitor by TLC (Thin-Layer Chromatography) unless otherwise indicated. TLC monitoring was performed using Merck Kieselgel 60 F₂₅₄ (E. Merck) as the TLC plate, the column elution solvent as the developer and a UV detector for detection. As an adjunctive detection procedure, the spot on the TLC plate was sprayed with 48% HBr, heated to hydrolyze, sprayed with ninhydrin reagent and reheated and the change to a red - reddish purple color was regarded as positive reaction. The fractions containing the object compound were thus identified and pooled. Unless otherwise specified, Merck Kieselgel 60 (70 to 230 mesh (E. Merck)) was used as the silica gel for chromatography. The term "ambient temperature" or "room temperature" generally means about 5°C to 40°C and the term "atmospheric pressure" means the neighborhood of one atmosphere. Unless otherwise specified, % denotes percentage by weight. Reference Example 1 1-Acetyl-6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline (1) In 300 ml of acetic acid was dissolved 33 g of ethyl β-(pyridin-4-yl)acrylate and catalytic hydrogenation was carried out with platinum oxide as the catalyst under atmospheric pressure at 70 to 80°C. After 40 ml of acetic anhydride was added, the catalyst was filtered off and the solvent was then distilled off under reduced pressure. The residue was dissolved in water and neutralized with potassium carbonate and the reaction product was extracted with dichloromethane. The extract was dried over anhydrous sodium sulfate and the solvent was distilled off to give 44.8 g of an oily compound. (2) In 200 ml of methanol was dissolved 42.0 g of the above oily compound followed by addition of a solution of 12.7 g of potassium hydroxide in 20 ml of water. The mixture was stirred at 50°C for 1.5 hours and at room temperature for 12 hours. The reaction mixture was neutralized with concentrated hydrochloric acid and the solvent was distilled off. To the residue was added methanol and the insoluble matter was filtered off. The filtrate was concentrated and the resulting crude crystals were collected by filtration to give 27 g of 3-(1-acetylpiperidin-4-yl)propionic acid (m.p. 201 to 206°C). (3) To 20 ml of thionyl chloride was added 3.8 g of 3-(1-acetylpiperidin-4-yl)propionic acid in small portions with ice-cooling and the mixture was stirred for 5 minutes. The excess thionyl chloride was distilled off and 15 g of carbon disulfide and 3.1 g of 1-acetyl-1,2,3,4-tetrahydroquinoline were added to the solid residue followed by gradual addition of 10.7 g of anhydrous aluminum chloride at room temperature. The mixture was refluxed for 2 hours, after which it was poured in ice-water and extracted with dichloromethane. The extract was dried over anhydrous sodium sulfate and the solvent was distilled off. The residue was purified by chromatography (eluent: ethyl acetate-methanol = 40:1 (v/v)) to give 1.4 g of a colorless oil. Elemental analysis, for C₂₁H₂₈N₂O₃ Calcd. C, 70.76; H, 7.92; N, 7.86 Found C, 70.68; H, 7.80; N, 7.64 Reference Example 2 1-Acetyl-6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline (A) and 1-acetyl-7-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline (B) (1) To 100 ml of thionyl chloride was added 26 g of 3-(1-acetylpiperidin-4-yl)propionic acid, obtained in Reference Example 1-(2), in small portions with ice-cooling. The mixture was stirred for 5 minutes, after which the excess thionyl chloride was distilled off and the solid residue was washed with diethyl ether to give 26.4 g of 3-(1-acetylpiperidin-4-yl)propionyl chloride as a pale yellow powder. (2) To a mixture of 42.5 g of 1-acetyl-1,2,3,4-tetrahydroquinoline and 30 ml of carbon disulfide was added 71 g of anhydrous aluminum chloride followed by addition of 26.4 g of 3-(1-acetylpiperidin-4-yl)propionyl chloride at room temperature. The mixture was stirred at room temperature for 16 hours, after which it was treated in the same manner as Reference Example 1-(3) to give 25 g of a mixture of 1-acetyl-6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline (A) and 1-acetyl-7-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline (B) as a pale yellow oil. Elemental analysis, for C₂₁H₂₈N₂O₃ Calcd. C, 70.76; H, 7.92; N, 7.86 Found C, 70.81; H, 7.69; N, 7.83 Reference Example 3 1-Acetyl-5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydro-1H-indole Using 24 g of 1-acetyl-2,3-dihydro-1H-indole, the procedure of Reference Example 2-(2) was followed to give a solid. This solid was recrystallized from dichloromethane-diethyl ether to give 26 g of colorless crystals melting at 148 to 149°C. Elemental analysis, for C₂₀H₂₆N₂O₃ Calcd. C, 70.15; H, 7.65; N, 8.18 Found C, 69.97; H, 7.71; N, 7.98 Reference Example 4 1-Acetyl-8-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3,4,5-tetrahydro-1H-1-benzazepine (A) and 1-acetyl-7-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3,4,5-tetrahydro-1H-1-benzazepine (B) Using 8.7 g of 1-acetyl-2,3,4,5-tetrahydro-1H-1-benzazepine, the procedure of Reference Example 2-(2) was followed to give a solid, which was then recrystallized from dichloromethane-diethyl ether to give 6.5 g of title compound A as colorless crystals melting at 133 to 134°C. Elemental analysis, for C₂₂H₃₀N₂O₃ Calcd. C, 71.32; H, 8.16; N, 7.56 Found C, 71.10; H, 8.21; N, 7.61 The recrystallization mother liquor was purified by column chromatography (eluent: ethyl acetate: methanol = 100:1) to recover 0.3 g of title compound B as a pale yellow oil. Elemental analysis, for C₂₂H₃₀N₂O₃ Calcd. C, 71.32; H, 8.16; N, 7.56 Found C, 71.13; H, 8.04; N, 7.43 Reference Example 5 8-[3-(1-Acetylpiperidin-4-yl)-1-oxopropyl]-2,3,4,5-tetrahydro-1H-1-benzazepine Using 2.2 g of the compound obtained in Example 17, the procedure of Example 7-(1) was followed to give 2.15 g of colorless crystals melting at 86 to 88°C. Elemental analysis, for C₂₀H₂₈N₂O₂ Calcd. C, 73.14; H, 8.59; N, 8.53 Found C, 72.91; H, 8.38; N, 8.47 Reference Example 6 5-[3-(1-Acetylpiperidin-4-yl)-1-oxopropyl]-1-ethyl-2,3-dihydro-1H-indole In 10 ml of ethanol were dissolved 0.8 g of 5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydro-1H-indole, 2.1 g of ethyl iodide and 0.5 g of potassium carbonate and the solution was refluxed for 24 hours. The solid matter and the solvent were removed and the residue was purified by column chromatography (eluent: ethyl acetate: methanol = 20:1) to give 0.85 g of the title compound as a pale yellow oil. Elemental analysis, for C₂₀H₂₈N₂O₂ Calcd. C, 73.14; H, 8.59; N, 8.53 Found C, 73.03; H, 8.54; N, 8.56 Reference Example 7 Using the compound obtained in Example 14-(1) or Reference Example 5, the procedure of Reference Example 7 was followed to give the compounds as oil as follows. Compound No. k' m' R¹ Molecular formula Analysis Calcd. (Found) C H N 1 2 0 C₃H₇ C₂₁H₃₀N₂O₂ 73.65 8.83 8.18 (73.46 8.85 7.99) 2 2 0 C₄H₉ C₂₂H₃₂N₂O₂ 74.12 9.05 7.86 (74.03 9.02 7.61) 3 2 0 C₅H₁₁ C₂₃H₃₄N₂O₂ 74.56 9.25 7.56 (74.51 9.09 7.45) 4 2 0 CH₂CH₂Ph C₂₆H₃₂N₂O₂ 77.19 7.97 6.93 (77.12 8.02 6.86) 5 0 4 CH₃ C₂₁H₃₀N₂O₂ 73.65 8.83 8.18 (73.55 8.73 8.16) 6 0 4 C₂H₅ C₂₂H₃₂N₂O₂ 74.12 9.05 7.86 (74.01 8.96 7.75) 7 0 4 C₃H₇ C₂₃H₃₄N₂O₂ 74.56 9.25 7.56 (74.37 9.11 7.43) Reference Example 8 5-[3-(1-Acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydrobenzofuran To 200 ml of 1,2-dichloroethane were added 9.65 g (44 mmol) of 3-(1-acetylpiperidin-4-yl)propionic acid chloride and 10.65 g (89 mmol) of 2,3-dihydrobenzofuran. To the mixture was added 12.82 g (96 mmol) of aluminum chloride in limited amounts, then the mixture was stirred for 3 hours at room temperature. The reaction mixture was poured into ice-water, which was subjected to extraction with methylene chloride. Organic layers were combined and washed with water and dried over anhydrous sodium sulfate, followed by distilling off the solvent. The residue was purified by means of a silica gel column chromatography (ethyl acetate) to give 10.47 g (78%) of 5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihdyrobenzofuran. Recrystallization from methylene chloride - diethyl ether gave colorless needles, m.p. 93-95°C. Elemental Analysis for C₁₈H₂₃NO₃: Calcd. C, 71.73; H, 7.69; N, 4.65 Found C, 71.57; H, 7.77; N, 4.58 Reference Example 9 3-(1-Benzoylpiperidin-4-yl)propionic acid (1) In 100 ml of acetic acid was dissolved 12 g of ethyl β-(pyridin-4-yl)acrylate and catalytic reduction was carried out with 1 g of platinum oxide as the catalyst under atmospheric pressure at 70-80°C. The catalyst was filtered off and the solvent was distilled off under reduced pressure, then the residue was dissolved in 100 ml of dioxane. To the dioxane solution was added 100 ml of an aqueous solution of 12 g of sodium hydrogen carbonate, and the mixture was stirred for 20 minutes at room temperature. To the resultant mixture was added dropwise 8 ml of benzoyl chloride at room temperatures, and the mixture was stirred for two hours. The reaction product was extracted with dichloromethane. The extract was dried over anhydrous sodium sulfate and the solvent was distilled off to give 17.5 g of ethyl 3-(1-benzoylpiperidin-4-yl) propionate as an pale yellow oily product. (2) Using 17 g of the compound obtained in (1), the procedure of Example 1-(2) was followed to give 15 g of the the above-titled compound as colorless crystals, m.p. 153-155°C. Elemental Analysis for C₁₅H₁₉NO₃: Calcd. C, 68.94; H, 7.33; N, 5.36 Found C, 68.71; H, 7.44; N, 5.20 Reference Example 10 3-Methoxycarbonyl-2,3,4,5-tetrahydro-1H-3-benzazepine In 150 ml of water was dissolved 4.13 g (0.10 mol.) of sodium hydroxide. To the solution was added 15.27 g (10.4 mmol.) of 2,3,4,5-tetrahydro-1H-3-benzazepine. The reaction mixture was cooled with ice, and there was added dropwise 7.9 ml (0.10 mol.) of methyl chloroformate. The mixture was stirred for 2.5 hours at room temperature, then extracted with dichloromethane. The extract was dried over anhydrous sodium sulfate and the solvent was distilled off to leave 20.46 g (96%) of 3-methoxycarbonyl-2,3,4,5-tetrahydro-1H-3-benzazepine as colorless crystals. Recrystallization from diethyl ether - n-hexane gave colorless needles, m.p. 53-54°C. Elemental Analysis for C₁₂H₁₅NO₂: Calcd. C, 70.22; H, 7.37; N, 6.82 Found C, 70.02; H, 7.41; N, 6.68 Reference Example 11 3-Methoxycarbonyl-7-[3-(1-benzoylpiperidin-4-yl)-1-oxopropyl]-2,3,4,5-tetrahydro-1H-3-benzazepine Under ice-cooling, 1.5 ml of thionyl chloride was added dropwise to 1.08 g (4.1 mmol.) of 3-(1-benzoylpiperidin-4-yl)propionic acid obtained in Reference Example 9. The mixture was stirred for 40 minutes at 0° C, then thionyl chloride was distilled off. The residue was dissolved in 20 ml of 1,2-dichloroethane, to which was added 0.81 g (3.9 mmol.) of 3-methoxycarbonyl-2,3,4,5-tetrahydro-1H-3-benzazepine obtained in Reference Example 10. To the mixture was added 1.75 g (13.1 mmol.) of aluminum chloride in small portions. The mixture was stirred for one hour at room temperature, then the reaction mixture was poured into ice-water and extracted with dichloromethane. The organic layers were combined and washed with water once, then dried over anhydrous sodium sulfate, followed by distilling off the solvent. Purification by means of a silica gel column chromatography gave 1.46 g (83%) of 3-methoxycarbonyl-7-[3-(1-benzoylpiperidin-4-yl)-1-oxopropyl]-2,3,4,5-tetrahydro-1H-3-benzazepine. Recrystallization from ethyl acetate - n-hexane gave colorless needles, m.p. 120-123°C. Elemental Analysis for C₂₇H₃₂N₂O₄: Calcd. C, 72.30; H, 7.19; N, 6.25 Found C, 71.99; H, 7.22; N, 6.12 Reference Example 12 6-[3-(1-Acetylpiperidin-4-yl)-1-oxopropyl]-3,4-dihydro-2H-1-benzothiopyran To a mixture of 3,4-dihydro-2H-1-benzothiopyran (1.5g) and 3-(1-acetylpiperidin-4-yl)propionyl chloride (2.18g) in 1,2-dichloroethane (20ml) was added aluminum chloride (3.2g) portionwise at 10-15°C. The mixture was stirred at room temperature for 2 hours then refluxed for additional 2 hours, and poured into ice-water. The mixture was extracted with dichloromethane, washed with water, dried over anhydrous sodium sulfate. The solvent was distilled off. The residue was purified by silica gel column chromatography (developing solvent: ethyl acetate) to obtain 2.7g of the title compound as a pale yellow oil. Elemental analysis, for C₁₉H₂₅NO₂S Calcd. C, 68.85; H, 7.60; N, 4.23 Found C, 68.66; H, 7.62; N. 4.13 Reference Example 13 2-Acetyl-8-chloro-1,2,3,4-tetrahydoisoquinoline To a mixture of 28.6 g of 8-chloro-1,2,3,4-tetrahydoisoquinoline hydrochloride in 140 ml of dichloromethane was added 140 ml of 1N aqueous NaOH solution and 17.6 g of NaHCO₃. To the solution was added dropwise 14.5 ml of acetic anhydride at 5°C. The mixture was stirred at room temperature for 1 hour. The organic layer was separated and the aqueous layer was extracted with dichloromethane. The combined organic extracts were washed with water, dried over anhydrous sodicum sulfate. The solvent was distilled off to give 29.1 g of the title compound as a pale red oil. Elemental analysis, for C₁₁H₁₂ClNO: Calcd. C, 63.01; H, 5.77; N, 6.68. Found C, 62.82; H, 5.86; N, 6.56. Reference Example 14 2-Acetyl-5-[3-(1-benzoylpiperidin-4-yl)-1-oxopropyl]-8-chloro-1,2,3,4-tetrahydroisoquinoline Using 21.0 g of the compound obtained in Reference Example 13, the procedure of Reference Example 11 was followed to give 9.2 g of the title compound as a pale yellow oil. Elemental analysis, for C₂₆H₂₉ClN₂O₃: Calcd. C, 68.94; H, 6.45; N, 6.18. Found C, 68.83; H, 6.52; N, 6.04. Example 1 6-[1-Oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline A mixture of 1.3 g of 1-acetyl-6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline obtained in Reference Example 1 and 20 ml of concentrated hydrochloric acid was refluxed for 16 hours. The reaction mixture was then concentrated and the residue was dissolved in water. This solution was washed with ether and the aqueous layer was adjusted to pH about 10 with 10% sodium hydroxide solution and extracted with dichloromethane. The extract was dried over anhydrous sodium sulfate and the solvent was distilled off under reduced pressure to give 0.9 g of a colorless oil. Elemental analysis, for C₁₇H₂₄N₂O Calcd. C, 74.96; H, 8.88; N, 10.29 Found C, 74.87; H, 8.68; N. 10.30 Example 2 6-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline dihydrochloride To a mixture of 1.3 g of 6-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline, 0.9 g of potassium carbonate and 10 ml of ethanol was added dropwise 2 ml of an ethanolic solution of 0.74 g of benzyl bromide with ice-cooling. The mixture was stirred at room temperature for 2 hours and the solid matter and the solvent were removed. The residue was subjected to column chromatography (eluent; ethyl acetate: methanol = 20:1 (v/v)) and the eluate containing the desired compound was distilled to remove the solvent. The residue was treated with 2.4 ml of 4N methanolic hydrochloride to give a solid. This solid was recrystallized from methanol-ether to give 1.55 g of a colorless powder melting at 110 to 125°C (decomp.) Elemental analysis, for C₂₄H₃₀N₂O·2HCl Calcd. C, 66.20; H, 7.41; N, 6.43 Found C, 66.00; H, 7.35; N, 6.22 Example 3 1-(Phenylmethyl)-6-[3-[1-(phenylmethyl)piperidin-4-yl]-1-oxopropyl]-1,2,3,4-tetrahydroquinoline dihydrochloride To 5 ml of a solution of 0.5 g of 6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline (free base) according to Example 2 in N,N-dimethylformamide was gradually added 40 mg of sodium hydride (oil-free) and the mixture was stirred at room temperature for 1 hour. To this solution was added dropwise 0.22 g of benzyl bromide with ice-cooling and the mixture was stirred at room temperature for 6 hours. The reaction mixture was then treated as in Example 2 and the residue was purified by column chromatography (eluent; ethyl acetate: methanol = 20:1 (v/v)). The eluate containing the desired compound was distilled under reduced pressure to remove the solvent and the resulting oil was treated with 0.7 ml of 4N-methanolic hydrochloric acid to give a solid. This solid was recrystallized from ethanol-ether to give 0.28 g of colorless crystals melting at 112 to 117°C (decomp.). Elemental analysis, for C₃₁H₃₆N₂O·2HCl Calcd. C, 70.85; H, 7.29; N, 5.33 Found C, 70.81; H, 7.12; N, 5.18 Example 4 1-Methyl-6-[3-[1-(phenylmethyl)piperidin-4-yl]-1-oxopropyl]-1,2,3,4-tetrahydroquinoline dihydrochloride To 3 ml of a solution of 0.2 g of 6-[3-[1-(phenylmethyl)piperidin-4-yl]-1-oxopropyl]-1,2,3,4-tetrahydroquinoline dihydrochloride obtained according to Example 2 in N,N-dimethylformamide was gradually added 37 mg of sodium hydride (oil-free). The mixture was stirred at room temperature for 1 hour, after which 62 mg of methyl iodide was added. The mixture was stirred at room temperature for 6 hours, at the end of which time 15 mg of sodium hydride (oil-fee) and 40 ml of ethyl chlorocarbonate were added in that order. The mixture was stirred for 1 hour and then poured in ice-water and extracted with dichloromethane. The extract was dried over anhydrous sodium sulfate and the solvent was distilled off under reduced pressure. The residue was subjected to column chromatography (eluent; ethyl acetate:methanol = 20:1 (v/v)) and the eluate containing the desired compound was distilled under reduced pressure to remove the solvent. The resulting oil was treated with 0.23 ml of 4N-methanolic hydrochloric acid to give 0.1 g of an amorphous powder. Elemental analysis, for C₂₅H₃₂N₂O·2HCl Calcd. C, 66.81; H, 7.62; N, 6.23 Found C, 66.83; H, 7.55; N, 6.09 Example 5 6-[1-Oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (A) and 7-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (B) Using 23 g of the compound obtained according to Reference Example 2, the procedure of Example 1 was followed to give 16.9 g of a mixture of 6-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (A) and 7-[1-oxo-3-(piperidin-4-yl)-propyl]-1,2,3,4-tetrahydroquinoline (B) as a pale yellow oil. Elemental analysis, for C₁₇H₂₄N₂O Calcd. C, 74.96; H, 7.88; N, 10.29 Found C, 74.69; H, 8.90; N, 10.22 Example 6 6-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline fumarate (A) and 7-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline fumarate (B) Using 1.8 g of the compound obtained in Example 5, the procedure of Example 2 was followed to give 1.82 g of the free base of the title compound mixture A and B. The first crop of crystals (0.65 g) from a solution of this mixture in diethyl ether, i.e. 7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline (m.p. 132-135°c), was treated with an equivalent of fumaric acid to give 0.69 g of the title fumarate (B) as colorless crystals melting at 175 to 177°C (decomp.). Elemental analysis, for C₂₄H₃₀N₂O·C₄H₄O₄ Calcd. C, 70.27; H, 7.16; N, 5.85 Found C, 70.01; H, 6.97; N, 5.98 The mother liquor of said diethyl ether solution was also concentrated to recover 0.7 g of 6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline as crystals (m.p. 126 to 129°C). This crop of crystals was treated with an equivalent of fumaric acid to give 0.78 g of the title fumarate (A) as colorless crystals melting at 138 to 142°C (decomp.) Elemental analysis, for C₂₄H₃₀N₂O·C₄H₄O₄ Calcd. C, 70.27; H, 7.16; N, 5.85 Found C, 70.13; H, 7.13; N, 5.77 Example 7 1-Methyl-6-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (A) and 1-methyl-7-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (B) (1) To 40 ml of a solution of 14.2 g of the compound obtained according to Example 5 in dichloromethane was added dropwise 10 ml of a solution of 5.1 g of acetic anhydride in dichloromethane with ice-cooling. The mixture was then stirred at room temperature for 10 minutes, after which it was washed with 10% sodium hydroxide solution and dried over anhydrous sodium sulfate. Finally the solvent was distilled off to give 14.9 g of a mixture of 6-[1-oxo-3-(1-acetylpiperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline and 7-[1-oxo-3-(1-acetylpiperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline as a colorless oil. (2) A mixture of 7.1 g of the oil obtained in (1) and 1.6 g of trimethyl phosphate was heated at 190°C for 2 hours. After cooling to room temperature, 20 ml of dichloromethane as well as aqueous sodium hydroxide solution (NaOH/H₂O = 1.74 g/11 ml) was added and the mixture was refluxed for 2 hours. The dichloromethane layer was washed with water and dried over anhydrous sodium sulfate and the solvent was distilled off. The residue was purified by column chromatography (eluent; ethyl acetate: methanol = 30:1) to give 5.5 g of a mixture of 6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1-methyl-1,2,3,4-tetrahydroquinoline and 7-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1-methyl-1,2,3,4-tetrahydroquinoline as a pale yellow oil. (3) Using 3.9 g of the oil obtained in (2), the procedure of Example 1 was followed to give 3.2 g of a mixture of the title compounds as a pale yellow oil. Elemental analysis, for C₁₈H₂₆N₂O Calcd. C, 75.48; H, 9.15; N, 9.78 Found C, 75.21; H, 9.06; N, 9.82 Example 8 1-Methyl-6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]-propyl]-1,2,3,4-tetrahydroquinoline fumarate (A) and 1-methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline fumarate (B) Using 3.1 g of the compound obtained in Example 7, the procedure of Example 2 was followed to give 3.8 g of the free base of the mixture of title compounds A and B. This mixture was purified by chromatography (eluent; ethyl acetate: methanol = 50:1) to give 1.6 g of 1-methyl-6-[1oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline (colorless oil) and 1.7 g of 1methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline (colorless oil). Then, 1.6 g of 1-methyl-6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline was treated with an equivalent of fumaric acid to give 1.7 g of the title fumarate (A) as colorless crystals melting at 170 to 172°C (decomp.) Elemental analysis, for C₂₅H₃₂N₂O·C₄H₄O₄ Calcd. C, 70.71; H, 7.37; N, 5.69 Found C, 70.61; H, 7.24; N, 5.63 On the other hand, 1.7 g of 1-methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline was treated with an equivalent of fumaric acid to give 1.65g of the title fumarate (B) as colorless crystals melting at 143 to 144°C (decomp.) Elemental analysis, for C₂₅H₃₂N₂O·C₄H₄O₄ Calcd. C, 70.71; H, 7.37; N, 5.69 Found C, 70.54; H, 7.09; N, 5.77 Example 9 1-(Phenylmethyl)-6-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (A) and 1-(phenylmethyl)-7-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (B) (1) To a mixture of 5.2 g of the compound obtained according to Example 7-(1), 3.0 g of potassium carbonate and 30 ml of ethanol was added dropwise 5 ml of an ethanolic solution of 2.7 g of benzyl bromide with ice-cooling. The mixture was stirred at room temperature for 2 hours and the solid matter and the solvent were removed. The residue was subjected to chromatography (eluent; ethyl acetate: methanol = 20:1 (v/v)) to give 3.2 g of 7-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1-(phenylmethyl)-1,2,3,4tetrahydroquinoline (a colorless oil) and 1.8 g of 6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline. (2) A mixture of 1.8 g of 6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1,2,3,4-tetrahydroquinoline recovered in (1), 1.03 g of potassium carbonate, 1.96 g of benzyl bromide and 20 ml of ethanol was refluxed for 5 hours and the solid matter and the solvent were removed. The residue was subjected to chromatography (eluent; ethyl acetate: methanol = 20:1) to give 2.1 g of 6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1-(phenylmethyl)-1,2,3,4-tetrahydroquinoline as a colorless oil. (3) Using 3.15 g of 7-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1-(phenylmethyl)-1,2,3,4-tetrahydroquinoline obtained in (1), the procedure of Example 1 was followed to give 2.8 g of 1-(phenylmethyl)-7-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (B) as a pale yellow oil. Elemental analysis, for C₂₄H₃₀N₂O Calcd. C, 79.52; H, 8.34; N, 7.73 Found C, 79.28; H, 8.21; N, 7.59 (4) Using 1.9 g of 6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-1-(phenylmethyl)-1,2,3,4-tetrahydroquinoline obtained in (2), the procedure of Example 1 was followed to give 1.63 g of 1-(phenylmethyl)-6-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4-tetrahydroquinoline (A) as a pale yellow oil. Elemental analysis, for C₂₄H₃₀N₂O Calcd. C, 79.52; H, 8.34; N, 7.73 Found C, 79.43; H, 8.16; N, 7.48 Example 10 1-(Phenylmethyl)-6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline fumarate Using 1.5 g of the compound obtained in Example 9-(4), the procedure of Example 2 was followed to give 1.6 g of 1-(phenylmethyl)-6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline (free base) as a colorless oil. This oil (1.6 g) was treated with an equivalent of fumaric acid to give 1.7 g of the title fumarate as colorless crystals melting at 178 to 181°C (decomp.) Elemental analysis, for C₃₁H₃₆N₂O·C₄H₄O₄ Calcd. C, 73.92; H, 7.09; N, 4.93 Found C, 73.64; H, 7.22; N, 4.84 Example 11 1-(Phenylmethyl)-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline fumarate Using 2.75 g of the compound obtained in Example 9-(3), the procedure of Example 2 was followed to give 2.95 g of 1-(phenylmethyl)-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline (free base) as a colorless oil. This oil (2.95 g) was treated with an equivalent of fumaric acid to give 3.1 g of the title fumarate as colorless crystals melting at 180 to 182°C (decomp.). Elemental analysis, for C₃₁H₃₆N₂O·C₄H₄O₄ Calcd. C, 73.92; H, 7.09; N, 4.93 Found C, 73.72; H, 7.02; N, 4.86 Example 12 2,3-Dihydro-5-[1-oxo-3-(piperidin-4-yl)propyl]-1H-indole Using 10 g of the compound obtained in Reference Example 3, the procedure of Example 1 was followed and the resulting solid product was recrystallized from dichloromethane - diethyl ether to give 7.08 g of pale yellow crystals melting at 137 to 139°C. Elemental analysis, for C₁₆H₂₂N₂O Calcd. C, 74.38; H, 8.58; N, 10.84 Found C, 74.11; H, 8.75; N, 10.67 Example 13 2,3-Dihydro-5-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1H-indole fumarate Using 2 g of the compound obtained in Example 12, the procedure of Example 2 was followed to give 2.3 g of the free base of the title compound as colorless crystals melting at 81 to 82°C. The crystals (2.3 g) were then treated with an equivalent of fumaric acid to give 2.6 g of the title fumarate as colorless crystals melting at 150 to 153°C (decomp.). Elemental analysis, for C₂₃H₂₈N₂O·C₄H₄O₄ Calcd. C, 69.81; H, 6.94; N, 6.03 Found C, 69.68; H, 6.71; N, 5.93 Example 14 2,3-Dihydro-1-methyl-5-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl)propyl]-1H-indole fumarate (1) Using 3 g of the compound obtained in Example 12, the procedure of Example 7-(1) was followed to give 3.1 g of 5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydro-1H-indole as colorless crystals melting at 145 to 146°C. Elemental analysis, for C₁₈H₂₄N₂O₂ Calcd. C, 71.97; H, 8.05; N, 9.33 Found C, 71.92; H, 7.94; N, 9.11 (2) Using 1.5 g of the compound prepared in (1), the procedure of Example 7-(2) was followed to give 1.25 g of 5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydro-1-methyl-1H-indole as a colorless oil. (3) Using 1.0 g of the compound obtained in (2), the procedure of Example 1 was followed to give 0.83 g of 2,3-dihydro-1-methyl-5-[1-oxo-3-(piperidin-4-yl)propyl-1Hindole as a pale yellow oil. Elemental analysis, for C₁₇H₂₄N₂O Calcd. C, 74.96; H, 8.88; N, 10.29 Found C, 74.69; H, 8.79; N, 10.33 (4) Using 0.53 g of the compound obtained in (3), the procedure of Example 2 was followed to give 0.51 g of the free base of the title compound as a colorless oil. This oil (0.51 g) was treated with an equivalent of fumaric acid to give 0.57 g of the title fumarate as colorless crystals melting at 147 to 151°C (decomp.). Elemental analysis, for C₂₄H₃₀N₂O·C₄H₄O₄ Calcd. C, 70.27; H, 7.16; N, 5.85 Found C, 70.06; H, 7.09; N, 5.80 Example 15 2,3-Dihydro-5-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1-(phenylmethyl)-1H-indole fumarate (1) Using 0.65 g of the compound obtained in Example 14-(1), the procedure of Example 9-(2) was followed to give 0.77 g of 5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydro-1-(phenylmethyl)-1H-indole as a colorless oil. (2) Using 0.76 g of the compound obtained in (1), the procedure of Example 1 was followed to give 0.65 g of 2,3-dihydro-5-[1-oxo-3-(piperidin-4-yl)propyl]-1-(phenylmethyl)-1H-indole as a yellow oil. Elemental analysis, for C₂₃H₂₈N₂O Calcd. C, 79.27; H, 8.10; N, 8.04 Found C, 79.03; H, 8.05; N, 8.13 (3) Using 0.64 g of the compound obtained in (2), the procedure of Example 2 was followed to give 0.66 g of the free base of the title compound as a colorless oil. This oil (0.66 g) was treated with an equivalent of fumaric acid to give 0.75 g of the title fumarate as colorless crystals melting at 153 to 156°C (decomp.). Elemental analysis, for C₃₀H₃₄N₂O·C₄H₄O₄ Calcd. C, 73.62; H, 6.91; N, 5.05 Found C, 73.65; H, 6.80; N, 5.00 Example 16 1-Acetyl-6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline fumarate In 10 mℓ of dichloromethane were dissolved 0.5 g of 6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4-tetrahydroquinoline (free base), 0.28 g of acetic anhydride and 0.22 g of pyridine and the solution was refluxed for 2 hours. The solvent and the excess reagents were distilled off under reduced pressure and the residue was dissolved in dichloromethane. The solution was washed with 10% sodium hydroxide and dried over anhydrous sodium sulfate and the solvent was distilled off. This residue was purified by chromatography (eluent; ethyl acetate: ethanol = 20:1) to give 0.45 g of the free base of the title compound as a colorless oil. This oil, 0.45 g, was treated with an equivalent of fumaric acid to give 0.53 g of the title fumarate as an amorphous powder. Elemental analysis, for C₂₆H₃₂N₂O₂·C₄H₄O₄ Calcd. C, 69.21; H, 6.97; N, 5.38 Found C, 69.23; H, 6.87; N, 5.40 Example 17 8-[1-Oxo-3-(piperidin-4-yl)propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine Using 6.5 g of the compound A obtained in Reference Exampel 4, the procedure of Example 1 was followed to give a viscous oil and this oil was crystallized from bexane to give 4.6 g of pale yellow crystals melting at 104 to 107°C. Elemental analysis, for C₁₈H₂₆N₂O Calcd. C, 75.48; H, 9.15; N, 9.78 Found C, 75.24; H, 9.09; N, 9.66 Example 18 Using the compounds obtained in Reference Examples 4, 6 and 7, the procedure of Example 1 was followed to give compounds as oils as follows. Compound No. k' m' R¹ Molecular formula Analysis Calcd. (Found) C H N 1 2 0 C₂H₅ C₁₈H₂₆N₂O 75.48 9.15 9.78 (75.22 9.17 9.69) 2 2 0 C₃H₇ C₁₉H₂₈N₂O 75.96 9.39 9.32 (75.78 9.25 9.12) 3 2 0 C₄H₉ C₂₀H₃₀N₂O 76.39 9.62 8.91 (76.20 9.52 8.78) 4 2 0 C₅H₁₁ C₂₁H₃₂N₂O 76.78 9.82 8.53 (76.69 9.81 8.55) 5 2 0 CH₂CH₂Ph C₂₄H₃₀N₂O 79.52 8.34 7.73 (79.46 8.11 7.59) 6 0 4 CH₃ C₁₉H₂₈N₂O 75.96 9.39 9.32 (75.84 9.29 9.33) 7 0 4 C₂H₅ C₂₀H₃₀N₂O 76.39 9.62 8.91 (76.21 9.51 8.75) 8 0 4 C₃H₇ C₂₁H₃₂N₂O 76.78 9.82 8.53 (76.53 9.74 8.41) 9 4 0 H C₁₈H₂₆N₂O 75.48 9.15 9.78 (75.32 9.09 9.64) Example 19 Using the compound obtained in Examples 12, 17 or 18, the procedure of Example 13 was followed to give the compounds as follows. Example 20 2,3-Dihydro-5-[1-oxo-3-(piperidin-4-yl)propylbenzofuran hydrochloride To 30 ml of concentrated hydrochloric acid was added 5.00 g of 5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydrobenzofuran, and the mixture was refluxed for 14 hours. The reaction mixture was left standing for cooling and then made basic with a dilute aqueous solution of sodium hydroxide, followed by extraction with methylene chloride. Organic layers were combined and dried over anhydrous sodium sulfate, then the solvent was distilled off to leave 4.31 g (100%) of 2,3-dihydro-5-[1-oxo-3-(piperidin-4-yl)propyl]benzofuran ( 4 ). The solid matter thus obtained was dissolved in methanol, treated with hydrogen chloride and recrystallized from methanol - ethyl acetate to gave colorless needles, m.p. 203-205°C (decomp.) Elemental Analysis, for C₁₆H₂₁NO₂·HCl Calcd. C, 64.97; H, 7.50; N, 4.74 Found C, 64.76; H, 7.64; N, 4.54 Example 21 2,3-Dihydro-5-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]benzofuran hydrochloride To 30 ml of a mixture solution of tetrahydrofuran and ethanol (50/50=v/v) was added 1.52 g of 2,3-dihydro-5-[1-oxo-3-(piperidin-4-yl)propyl]benzofuran, to which was then added 1.06 g of potassium carbonate. The resultant mixture was ice-cooled and there was added dropwise an ethanol solution (5 ml) of 0.96g of benzyl bromide. The mixture was stirred for 22 hours at room temperatures, then the solvent was distilled off. To the residue was added water, which was extracted with methylene chloride. Organic layers were combined and dried over anhydrous sodium sulfate, then the solvent was distilled off. The residue was purified by means of a silica gel column chromatography (ethyl acetate) to give 1.13 g (55%) of 2,3-dihydro-5-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propylbenzofuran. The product was dissolved in methanol, treated with hydrogen chloride, then recrystallized from ethanol - ethyl acetate to give colorless needles (1/4 hydrate), m.p. 143-144°C. Elemental Analysis for C₂₃H₂₇NO₂·HCl.1/4H₂O: Calcd. C, 70.75; H, 7.36; N, 3.59 Found C, 70.49; H, 7.26; N, 3.62 Example 22 7-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine dihydrochloride Under nitrogen atomosphere, 0.48 g (1.1 mmol.) of 3-methoxycarbonyl-7-[3-(1-benzoylpiperidin-4-yl)-1-yl)oxopropyl]-2,3,4,5-tetrahydro-1H-3-benzazepine obtained in Reference Example 11 was dissolved in 5 ml of dry chloroform. To the solution was added 0.3 ml (2.1 mmol.) of iodotrimethylsilane. The mixture was stirred for 2.5 hours at 50°C. The reaction mixture was left standing for cooling, to which was added 0.4 ml (10 mmol.) of methanol. To the resultant mixture were added a dilute aqueous solution of sodium hydroxide and an aqueous solution of sodium thiosulfate, followed by extraction with dichloromethane. The extract was dried over anhydrous sodium sulfate, then the solvent was distilled off. The residue was dissolved in 15 ml of dry tetrahydrofuran. To the solution was added 0.13 g (3.4 mmol.) of lithium aluminum hydride, and the mixture was refluxed for 5 hours. To the reaction mixture was added water, then the solid matter was filtered off. The filtrate was dried over anhydrous sodium sulfate, then the solvent was distilled off. The residue was dissolved in methanol and treated with hydrogen chloride and the solvent was distilled off to give a hydrochloride. To the hydrochloride there was further added a mixture of 0.3 g (3 mmol.) of chromic acid, 0.3 ml of concentrated sulfuric acid and 10 ml of water-acetone (1/1=v/v). The resultant mixture was stirred for 24 hours at room temperatures. The reaction mixture was poured into water and it was made basic with a dilute aqueous solution of sodium hydroxide, followed by extraction with dichloromethane. The extract was dried over anhydrous sodium sulfate, then the solvent was distilled off. The residue was purified by means of an alumina column chromatography to give 0.31 g (76%) of 7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine. The product was dissolved in methanol and treated with 3 N methanolic hydrochloric acid to give dihydrochloride as an amorphous powder. Elemental Analysis, for C₂₅H₃₂N₂O·2HCl·2.5H₂O: Calcd. C, 60.72; H, 7.95; N, 5.66 Found C, 60.85; H, 8.24; N, 5.51 Example 23 3-Methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]-propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine dihydrochloride In 40 ml of toluene was dissolved 1.17 g (2.6 mmol.) of 3-methoxycarbonyl-7-[3-(1-benzoylpiperidin-4-yl)-1-oxopropyl]-2,3,4,5-tetrahydro-1H-3-benzazepine. To the solution were added 7 ml of ethylene glycol and 10 mg of p-toluenesulfonic acid, and the mixture was refluxed for 2.5 hours. To the reaction mixture was added a saturated aqueous solution of sodium hydrogen carbonate, which was subjected to extraction with diethyl ether. The extract was dried over anhydrous sodium sulfate, then the solvent was distilled off. The residue was purified by means of a silica gel column chromatography to give 1.22 g (94%) of 7-[2-[2-(1-benzoylpiperidin-4-yl)ethyl]-1,3-dioxoran-2-yl]-3-methoxycarbonyl-2,3,4,5-tetrahydro-1H-3-benzazepine. 1.03 g (2.1 mmol.) of the compound obtained above was dissolved in 15 ml of dry tetrahydrofuran, to which was added 0.25 g (6.5 mmol.) of lithium aluminum hydride. The reaction mixture was refluxed for 3 hours and there was added water, followed by filtration. The filtrate was dried over anhydrous sodium sulfate, then the solvent was distilled off. The residue was dissolved in tetrahydrofuran, to which was added 5.6 ml of 1N-HCl, and the mixture was stirred for 14.5 hours at room temperature. The reaction mixture was made basic with a dilute aqueous solution of sodium hydroxide, followed by extraction with dichloromethane. The extract solution was dried over anhydrous sodium sulfate, then the solvent was distilled off. The residue was dissolved in methanol and the solution was treated with hydrogen chloride to give a dihydrochloride, which was then recrystallized from ethanol - ethyl acetate to give 0.65 g (67%) of colorless needles, m.p. 190-193°C. Elemental Analysis for C₂₆H₃₄N₂O·2HCl·H₂O: Calcd. C, 64.86; H, 7.95; N, 5.82 Found C, 64.78; H, 7.90; N, 5.78 Example 24 2,3-Dihydro-6-[1-oxo-3-(piperidin-4-yl)propyl]-1H-indole (1) To a mixture of 25 g of 2,3-dihydro-1-trifluoroacetyl-indole, 25 g of 3-(1-acetylpiperidin-4-indole)propionic acid chloride and 120 ml of carbon disulfide was added 56 g of anhydrous aluminum chloride at room temperatures, then the mixture was refluxed for 30 hours. The reaction mixture was treated in a manner like that of Reference Example 1-(3) to give 9.0 g of a mixture of 6-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydro-1-trifluoroacetyl-1H-indole and 5-[3-(1-acetylpiperidin-4-yl)-1-oxopropyl]-2,3-dihydro-1-trifluoroacetyl-1H-indole as a pale yellow oily product. (2) The oily product obtained in (1) was subjected to a reaction like that of Example 1 to give 2,3-dihydro-6-1-oxo-3-(piperidin-4-yl)propyl]-1H-indole dihydrochloride. A mixture of this dihydrochloride and 2,3-dihydro-5-1-oxo-3-(piperidin-4-yl)propyl]-1H-indole dihydrochloride was subjected to recrystallization twice from methanol - ethyl acetate to give 2.5 g of dihydrochloride of the above-titled compound as colorless powder, m.p. 146-148°C. The powdery compound thus obtained was dissolved in water, whose pH was adjusted to about 10 with a 10% sodium hydroxide solution, which was subjected to extraction with dichloromethane. The extract solution was dried over anhydrous sodium sulfate, and the solvent was distilled off under reduced pressure to give 1.8 g of the above-titled compound as a pale yellow oily product. Elemental Analysis, for C₁₆H₂₂N₂O: Calcd. C, 74.38; H, 8.58; N, 10.84 Found C, 74.32; H, 8.66; N, 10.74 Example 25 2,3-Dihydro-6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1H-indole fumarate Using 0.5 g of the compound obtained in Example 24, the procedure of Example 13 was followed to give 0.55 g of the title compound as colorless crystals, m.p. 157-158°C. Elemental Analysis for C₂₃H₂₈N₂O.C₄H₄O₄: Calcd. C, 69.81; H, 6.94; N, 6.03 Found C, 69.65; H, 6.87; N, 5.76 Example 26 9-[1-Oxo-3-(piperidin-4-yl)propyl]-1,2,3,4,5,6-hexahydro-1-benzazocine Using 1-ethoxycarbonyl-1,2,3,4,5,6-hexahydro-1-benzazocine, the procedure of Reference Example 2-(2) was followed to give a residue. The residue was subjected to similar reaction to Example 1 to give the title compound as a pale yellow oily product. Elemental Analysis, for C₁₉H₂₈N₂O: Calcd. C, 75.95; H, 9.39; N, 9.33 Found C, 75.73; H, 9.38; N, 9.10 Example 27 9-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4,5,6-hexahydro-1-benzazocine fumarate Using 9-[1-oxo-3-(piperidin-4-yl)propyl]-1,2,3,4,5,6-hexahydro-1-benzazocine, the procedure of Example 13 was followed to give the title compound as colorless crystals. Elemental Analysis, for C₂₆H₃₄N₂O·C₄H₄O₄: Calcd. C, 71.12; H, 7.56; N, 5.53 Found C, 70.98; H, 7.61; N, 5.42 Example 28 1-Acetyl-8-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine Using 0.3 g of 8-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine, which is a free base of the compound obtained in Example 19 compound No. 16, the procedure of Example 16 was followed to give 0.21 g of the title compound as a colorless powder, m.p. 115-116°C. Elemental Analysis, for C₂₇H₃₄N₂O₂ Calcd. C, 77.48; H, 8.19; N, 6.69 Found C, 77.21; H, 7.98; N, 6.56 Example 29 3,4-Dihydro-6-[1-oxo-3-(piperidin-4-yl)propyl]-2H-1-benzothiopyran hydrochloride Using 2.5 g of the compound obtained in Reference Example 12, the procedure of Example 1 was followed to give 2.4g of the title compound as a colorless powder, m.p. 196-199°C. Elemental analysis, for C₂₄H₂₉NOS·HCl: Calcd. C, 62.65; H, 7.42; N, 4.30 Found C, 62.61; H, 7.33; N. 4.27 Example 30 3,4-Dihydro-6-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2H-1-benzothiopyran hydrochloride Using 0.83g of the compound obtained in Example 29, the procedure of Example 2 was followed to give 1.0g of the title compound as a colorless powder, m.p. 186-188°C. Elemental analysis, for C₂₄H₂₉NOS·HCl: Calcd. C, 69.29; H, 7.27; N, 3.37 Found C, 69.31; H, 7.22; N, 3.27 Example 31 8-[1-Oxo-3-(piperidin-4-yl)propyl]-2,3,4,5-tetrahydro-1H-2-benzazepine dihydrochloride (A) and 7-[1-oxo-3-(piperidine-4-yl)propyl]-2,3,4,5-tetrahydro-1H-2-benzazepine dihydrochloride (B) Using 5.0 g of 2-acetyl-2,3,4,5-tetrahydro-1H-2-benzazepine, the procedure of Reference Example 1 was followed to give 4.7 9 of a viscous oil. Using 4.5 g of the oil, the procedure of Example 1 was followed to give 3.3 g of a pale yellow solid. The solid was recrystallized from methanol to give the title compound (A) as colorless powder, m.p.>300°C. Elemental analysis, for C₁₈H₂₆N₂O·2HCl: Calcd. C, 60.17; H, 7.85; N, 7.80. Found C, 59.95; H, 7.98; N, 7.77. Example 32 8-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2-(phenylmethyl)-2,3,4,5-tetrahydro-1H-2-benzazepine dihydrochloride (A) and 8-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-2-benzazepine dihydrochloride (B) Using 1.5 g of 8-[1-oxo-3-(piperidin-4-yl)propyl]-2,3,4,5-tetrahydro-1H-2-benzazepine Dihydrochloride obtained in Example 31, the procedure of Example 2 was followed to give 0.5 g of the title compound (A) as an amorphous powder and 0.1 g of the title compound (B) as an amorphous powder. 8-[1-Oxo-3-(1-(phenylmethyl)piperidin-4-yl)propyl]-2-(phenylmethyl)-2,3,4,5-tetrahydro-1H-2-benzazepine dihydrochloride (A) Elemental analysis, for C₃₂H₃₈N₂O·2HCl: Calcd. C, 71.23; H, 7.47; N, 5.19. Found C, 66.72; H, 7.69; N, 6.01. 8-[1-Oxo-3-(1-(phenylmethyl)piperidin-4-yl)propyl]-2,3,4,5-tetrahydro-1H-2-benzazepine dihydrochloride (B) Elemental analysis, for C₂₅H₃₂N₂O·2HCl: Calcd. C, 66.81; H, 7.62; N, 6.23. Found C, 66.72; H, 7.69; N, 6.01. Example 33 8-Chloro-5-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl)propyl]-1,2,3,4-tetrahydroisoquinoline Dihydrochloride To a solution of 5.99 g (13.22 mmol) of the compound obtained in Reference Example 14 in 198 ml of methanol was added 99 ml of 1N aqueous NaOH. THe mixture was stirred at 60°C far 5 hours. After removal of methanol under reduced pressure, the aqueos residue was extracted with dichloromethane. The extracts were dried over anhydrous sodium sulfate and the solvent was distilled off. The residue was purified by means of a silica gel column chromatography (eluent; ethyl acetate:methanol = 7:3(v/v)) to give 2.59 g of 5-[3-(1-benzoylpiperidin-4-yl)-1-oxopropyl]-8-chloro-1,2,3,4- tetrahydroisoquinoline. To a solution of 1.23 g (3.0 mmol) of the compound obtained above in 10 ml of methanol was added 0.75 ml of 4N methanolic HCl at 5°C and the solvent was distilled off. To the residual oil was added 60 ml of toluene, 8.24 ml of ethylene glycol, and 57 mg of p-toluenesulfonic acid monohydrate. The mixture was refluxed for 2 hours. To the, reaction mixture was added a saturated aqueous solution of NaHCO₃, which was subjected to extraction with dichloromethane. The extracts were dried over anhydrous sodium sulfate, then the solvent removed under reduced pressure. The residue was purified by means of a silica gel column chromatography (eluent; ethyl acetate: methanol=7:3(v/v) to give 1.31 g of 5-[2-[2-(1-benzoylpiperidin-4-yl)ethyl]-1,3-dioxoran-2-yl]-8-chloro-1,2,3,4-tetrahydroisoquinoline. Under nitrogen atmosphere, to a solution of 455 mg (1.0 mg) of the compound obtained above in 10 ml of dry tetrahydrofuran was added 127µl of chloro trimethylsilane at 5°C and the mixture was stirred at room temperature for 1 hour. Then to the reaction mixture was added 190 mg of lithium aluminum hydride and the mixture was refluxed for 2.5 hours. Water was added to mixture and the resulting precipitate was removed by filtration. The filtrate was dried over anhydrous sodium sulfate, and the solvent was removed under seduced pressure. A mixture of the residue and 5 ml of 1N aqueous HCl in 5 ml of tetrahydrofuran was heated at 60°C for 3 hours. The reaction mixture was made basic with a dilute aqueous NaOH, followed by extraction with dichloromethane. The extract was dried over anhydrous sodium sulfate, then the solvent was removed under reduced pressure to give 200 mg of a colorless oil, which was treated with 4N-methanolic HCl (2 equivalent) to give 205 mg of the title compound as an amorphous powder. Elemental analysis, for C₂₄H₂₉ClN₂O·2HCl: Calcd. C,61.35; H,6.65; N,5.96. Found C,61.42; H,6.69; N,5.91. Formulation Example 1 (1) 6-[3-[1-(Phenylmethyl)piperidin-4-yl]-1-oxopropyl]-1,2,3,4-tetrahydroquinoline bihydrochloride (the compound obtained in Example 2) 1 g (2) Lactose 197 g (3) Corn starch 50 g (4) Magnesium stearate 2 g (1), (2) and 20 g of corn starch were blended and the mixture was granulated with a paste prepared from 15 g of corn starch and 25 ml of water. To this granular product were added 15 g of corn starch and (4) and the resulting composition was compression-molded to provide 2000 tables each measuring 3 mm in diameter and containing 0.5 mg of (1). Formulation Example 2 (1) 6-[3-[1-(Phenylmethyl)piperidin-4-yl]-1-oxopropyl]-1,2,3,4-tetrahydroquinoline dihydrochloride (the compound obtained in Example 2) 2 g (2) Lactose 196 g (3) Corn starch 50 g (4) Magnesium stearate 2 g (1), (2) and 20 g of corn starch were blended and the mixture was granulated with a paste prepared from 15 g of corn starch and 25 ml of water. To this granular product were added 15 g of corn starch and (4) and the resulting composition was compression-molded to provide 2000 tablets each measuring 5 mm in diameter and containing 1 mg of (1). Formulation Example 3 (1) 8-[1-Oxo-3-[1-(Phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine fumarate (the compound obtained in Example 19 compound No. 16) 1 g (2) Lactose 197 g (3) Corn starch 50 g (4) Magnesium stearate 2 g (1), (2) and 20 g of corn starch were blended and the mixture was granulated with a paste prepared from 15 g of corn starch and 25 ml of water. To this granular product were added 15 g of corn starch and (4) and the resulting composition was compression-molded to provide 1000 tablets each measuring 3 mm in diameter and containing 1.0 mg of (1). Formulation Example 4 (1) 7-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine dihydrochloride (the compound obtained in Example 22) 2 g (2) Lactose 196 g (3) Corn starch 50 g (4) Magnesium stearate 2 g (1), (2) and 20 g of corn starch were blended and the mixture was granulated with a paste prepared from 15 g of corn starch and 25 ml of water. To this granular product were added 15 g of corn starch and (4) and the resulting composition was compression-molded to provide 2000 tablets each measuring 5 mm in diameter and containing 1 mg of (1). Formulation Example 5 8-[1-Oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine fumarate (the compound obtained in Example 19, compound No. 16) (2 g) and 1.25g of mannitol were dissolved in 500 mℓ of distilled water, pH was adjusted to 5.6 to 7 with 0.1N NaOH and the total amount of the solution was made up to 1000 mℓ. The solution thus obtained was sterilized by filtration through a filter of 0.2µm. The resulting solution was distributed to provide 1000 of 1mℓ-ampoules. Experimental Example The cholinesterase inhibitory activity of the compound of the present invention was assayed with (acetyl-[3H])-acetylcholine. Thus, using the S₁ fraction of a homogenate of male Wistar rat cerebral cortex as the cholinesterase source, (acetyl-[3H])-acetylcholine and the compound of the invention were added as the substrate and the test substance, respectively, and the mixture was incubated for 30 minutes. After the reaction was terminated, a toluene-based scintillant was added and, after shaking, the reaction product [3H]-acetic acid which was transferred to the toluene layer was determined with a scintillation counter to estimate the cholinesterase activity. The cholinesterase inhibitory activity of the test compound was expressed in 50% inhibitory concentration (IC₅₀). The cholinesterase inhibitory activity of physostigmine was also determined by the same procedure. The results are shown in Table 1. The above results indicate that the compound of the present invention has excellent cholinesterase inhibitory activity. The compound of the present invention has effects on the central nervous system of mammalian animals and exhibits potent cholinesterase inhibitory activity. Therefore, the compound can be used for the prevention and treatment of senile dementia, Alzheimer's disease, Huntington's chorea and other diseases related to brain dysfunction and is, therefore, of value as a medicament.

Claims: Claims for the following Contracting States : AT, BE, CH, DE, DK, FR, GB, GR, IT, LI, LU, NL, SE A condensed heterocyclic compound of the formula (I): wherein X is an oxygen atom, a sulfur atom or R'-N< wherein R¹ is 1 ○ a hydrogen atom, 2 ○ a straight-chain or branched C₁₋₁₁ alkyl, C₂₋₄ alkenyl or C₂₋₄ alkynyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 3 ○ a C₃₋₇ monocyclic cycloalkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono-or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 4 ○ a C₈₋₁₄ bridged cyclic saturated hydrocarbon group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 5 ○ a phenyl or naphthyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to 4 substituents selected from the group consisting of a C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₄ alkylcarbonyl, 6 ○ a C₇₋₁₈ aralkyl, C₈₋₁₈ arylalkenyl, C₈₋₁₈ arylalkynyl or C₃₋₇ cycloalkyl-C₁₋₆ alkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to 4 substituents selected from the group consisting of a C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl, 7 ○ a C₂₋₈ alkylcarbonyl or phenylcarbonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₃₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy, 8 ○ a C₁₋₇ alkylsulfonyl or phenylsulfonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₃₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy, 9 ○ a C₁₋₇ alkylphosphonyl or phenylphosphonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₃₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy, or a C₂-₈ alkyloxycarbonyl or C₇₋₈ aralkyloxy-carbonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₂₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy, R² is 1 ○ a hydrogen atom, 2 ○ a straight-chain or branched C₁₋₁₁ alkyl, C₂₋₄ alkenyl or C₂₋₄ alkynyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono-or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 3 ○ a C₃₋₇ monocyclic cycloalkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono-or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 4 ○ a C₈₋₁₄ bridged cyclic saturated hydrocarbon group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl. 5 ○ a phenyl or naphthyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to a 4 substituents selected from the group consisting of C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl, or 6 ○ a C₇₋₁₈ aralkyl, C₈₋₁₈ arylalkenyl, C₈₋₁₈ arylalkynyl or C₃₋₇ cycloalkyl-C₁₋₆ alkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to 4 substituents selected from the group consisting of C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono-or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl; and ring A is a benzene ring which may be substituted by 1 to 3 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which bay be substituted by 1 to 4 substituents selected from the group consisting of a C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl; k is a whole number of 0 to 3; m is a whole number of 1 to 8; and n is a whole number of 1 to 6, or a salt thereof. A compound as claimed in claim 1, wherein X is R¹-N< wherein R¹ is as defined in claim 1. A compound as claimed in claim 2, wherein k is 0 and m is 2 to 7. A compound as claimed in claim 1, wherein R¹ is a hydrogen atom. A compound as claimed in claim 1, wherein R¹ is a hydrocarbon group which may be substituted as defined in claim 1. A compound as claimed in claim 1, wherein R¹ is an acyl group which may be substituted as defined in claim 1. A compound as claimed in claim 1, wherein R² is a hydrocarbon group which may be substituted as defined in claim 1. A compound as claimed in claim 1, wherein k is 0 to 2 and m is 1 to 5. A compound as claimed in claim 1, wherein k is 0 and m is 2 to 5. A compound as claimed in claim 1, wherein X is an oxygen atom or R¹-N< wherein R¹ is as defined in claim 1; k is 0 to 2; m is 2 to 5; n is 1 to 3 and R² is a hydrogen atom or a C₇₋₁₀ aralkyl group which may be substituted by a C₁₋₄ alkyl, halogen, nitro or C₁₋₄ alkoxy. A compound as claimed in claim 10, wherein R¹ is a hydrogen atom, a straight-chain or branched C₁₋₇ alkyl group, a C₇₋₁₀ aralkyl group or a C₂₋₆ alkylcarbonyl group. A compound an claimed in claim 1, wherein n is 2 and R₂ is a benzyl group. A compound as claimed in claim 1, wherein is A compound as claimed in claim 1, wherein is A compound as claimed in claim 1, wherein is A compound as claimed in claim 1, wherein is A compound as claimed in claim 1, wherein is A compound as claimed in claim 1, wherein is wherein R³ is a hydrogen atom or a C₁₋₃ alkyl group: n is 2 and R² is a benzyl group. A compound as claimed in claim 1 selected from 8-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine or a salt thereof: 3-methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine or a salt thereof; 7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine or a salt thereof; 9-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,-4,5,6,-hexahydro-1-benzazocine or a salt thereof; 7-[1-oxo-3-[1-phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine or a salt thereof; 8-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine fumarate; 3-methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine dihydrochloride; 7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine fumarate; 9-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4,5,6-hexahydro-1-benzazocine fumarate; 7-[1-oxo-3-[1-phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine fumarate. A process for producing a condensed heterocyclic compound of the formula (I): wherein X is an oxygen atom, a sulfur atom or R¹-N< wherein R¹ is a hydrogen atom a hydrocarbon group which may be substituted or an acyl group which may be substituted: R² is a hydrogen atom or a hydrocarbon group which may be substituted: ring A is a benzene ring which may be substituted; k is a whole number of 0 to 3: m is a whole number of 1 to 8: and n is a whole number of 1 to 6 or a salt thereof, which comprises reacting a compound of the formula (III): wherein each symbol is as defined above, or a salt thereof, with a compound of the formula (II): wherein Y is a halogen: Z is an amino-protecting group: n is as defined above, or a salt thereof and removing the protective group, followed, if necessary, by i) reacting the product compound wherein Z is a hydrogen atom with a compound of the formula R 2' -Y' wherein R 2' is a hydrocarbon group which may be substituted: and Y' is a leaving group or ii) reacting the product compound wherein X is H-N< with a compound of the formula R 1' -Y' wherein R 1' is a hydrocarbon group which may be substituted or an acyl group which may be substituted: and Y' is as defined above. A cholinesterase inhibitor which contains a condensed heterocyclic compound of the formula (I) as claimed in claim 1 or a salt thereof. A pharmaceutical composition for an agent for senile dementia or and Alzheimer's disease which contains an effective cholinesterase inhibiting amount of a compound of the formula (I) as claimed in claims 1 to 19 or a pharmaceutically acceptable salt thereof. Use of a compound of the formula (I): wherein X is an oxygen atom, a sulfur atom or R¹-N< wherein R¹ is a hydrogen atom, a hydrocarbon group which may be substituted or an acyl group which may be substituted: R² is a hydrogen atom or a hydrocarbon group which may be substituted: ring A is a benzene ring which may be substituted: k is a whole number of 0 to 3: m is a whole number of 1 to 8; and n is a whole number of 1 to 6, or a salt thereof as a component in the preparation of a cholinesterase inhibitor. A compound as claimed in claim 1, wherein K is 0 to 2; m is 2 to 5; n is 1 to 3 and R² is a hydrogen atom or a C₇₋₁₀ aralkyl group which may be substituted by a C₁₋₄ alkyl, halogen, nitro or C₁₋₄ alkoxy. A compound as claimed in claim 24, wherein R¹ is a hydrogen atom, a straight-chain or branched C₁₋₇ alkyl group, a C₇₋₁₀ aralkyl group or a C₂₋₈ alkylcarbonyl group. Claims for the following Contracting State : ES A process for producing a condensed heterocyclic compound of the formula (I) : wherein X is an oxygen atom, a sulfur atom or R¹-N< wherein R¹ is 1 ○ a hydrogen atom, 2 ○ a straight-chain or branched C₁₋₁₁ alkyl, C₂₋₄ alkenyl or C₂₋₄ alkynyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 3 ○ a C₃₋₇ monocyclic cycloalkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono-or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 4 ○ a C₈₋₁₄ bridged cyclic saturated hydrocarbon group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 5 ○ a phenyl or naphthyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to 4 substituents selected from the group consisting of a C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₄ alkylcarbonyl, 6 ○ a 6₇₋₁₈ aralkyl, C₈₋₁₈ arylalkenyl, C₈₋₁₈ arylalkynyl or C₃₋₇ cycloalkyl-C₁₋₆ alkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbony, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl, and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to 4 substituents selected from the group consisting of a C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl, 7 ○ a C₂₋₈ alkylcarbonyl or phenylcarbonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₃₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy, 8 ○ a C₁₋₇ alkylsulfonyl or phenylsulfonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₃₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy, 9 ○ a C₁₋₇ alkylphosphonyl or phenylphosphonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₃₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy, or a C₂₋₈ alkyloxycarbonyl or C₇₋₈ aralkyloxy-carbonyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a halogen, amino, C₁₋₆ alkyl- or C₂₋₆ cycloalkyl-substituted primary or secondary amino and C₁₋₄ alkoxy: R² is 1 ○ a hydrogen atom, 2 ○ a straight-chain or branched C₁₋₁₁ alkyl, C₂₋₄ alkenyl or C₂₋₄ alkynyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono-or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 3 ○ a C₃₋₇ monocyclic cycloalkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono-or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 4 ○ a C₈₋₁₄ bridged cyclic saturated hydrocarbon group which may be substituted by 1 to 5 substituents selected from the group consisting of a halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, C₁₋₆ alkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl and C₁₋₆ alkylsulfonyl, 5 ○ a phenyl or naphthyl group which may be substituted by 1 to 3 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to a 4 substituents selected from the group consisting of C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl, or 6 ○ a C₇₋₁₈ aralkyl, C₈₋₁₈ arylalkenyl, C₈₋₁₈ arylalkynyl or C₃₋₇ cycloalkyl-C₁₋₆ alkyl group which may be substituted by 1 to 5 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which may be substituted by 1 to 4 substituents selected from the group consisting of C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono-or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl: and ring A is a benzene ring which may be substituted by 1 to 3 substituents selected from the group consisting of a C₁₋₄ alkyl, halogen, nitro, cyano, hydroxy, C₁₋₄ alkoxy, C₁₋₄ alkylthio, amino, mono- or di-C₁₋₄ alkyl-substituted amino, cyclic amino, C₁₋₄ alkylcarbonylamino, aminocarbonyloxy, mono- or di-C₁₋₄ alkyl-substituted aminocarbonyloxy, C₁₋₄ alkylsulfonylamino, C₁₋₄ alkoxycarbonyl, hydroxycarbonyl, C₁₋₆ alkylcarbonyl, C₃₋₆ cycloalkylcarbonyl, carbamoyl, mono- or di-C₁₋₄ alkyl-substituted carbamoyl, C₁₋₆ alkylsulfonyl, C₃₋₆ cycloalkylsulfonyl and a phenyl, naphthyl, phenoxy, benzoyl, phenoxycarbonyl, phenyl-C₁₋₄ alkylcarbamoyl, phenylcarbamoyl, phenyl-C₁₋₄ alkylcarbonylamino, benzoylamino, phenyl-C₁₋₄ alkylsulfonyl, phenylsulfonyl, phenyl-C₁₋₄ alkylsulfinyl, phenyl-C₁₋₄ alkylsulfonylamino or phenylsulfonylamino which bay be substituted by 1 to 4 substituents selected from the group consisting of a C₁₋₄ alkyl, C₁₋₄ alkoxy, halogen, hydroxy, benzyloxy, amino, mono- or di-C₁₋₄ alkyl-substituted amino, nitro and C₁₋₆ alkylcarbonyl; k is a whole number of 0 to 3; m is a whole number of 1 to 8; and n is a whole number of 1 to 6, or a salt thereof, which comprises reacting a compound of the formula (III): wherein each symbol is as defined above, or a salt thereof, with a compound of the formula (II): wherein Y is a halogen; Z is an amino-protecting group; n is as defined above, or a salt thereof and removing the protective group, followed, if necessary, by i) reacting the product compound wherein Z is a hydrogen atom with a compound of the formula R 2' -Y' wherein R 2' is a hydrocarbon group which may be substituted: and Y' is a leaving group or ii) reacting the product compound wherein X is H-N< with a compound of the formula R 1' -Y' wherein R 1' is a hydrocarbon group which may be substituted or an acyl group which may be substituted: and Y' is as defined above. A process as claimed in claim 1, wherein X is R¹-N< wherein R¹ is as defined in claim 1. A process as claimed in claim 2, wherein k is 0 and m is 2 to 7. A process as claimed in claim 1, wherein R¹ is a hydrogen atom. A process as claimed in claim 1 wherein R¹ is a hydrocarbon group which may be substituted as defined in claim 1. A process as claimed in claim 1, wherein R¹ is an acyl group which may be substituted as defined in claim 1. A process as claimed in claim 1, wherein R² is a hydrocarbon group which may be substituted as defined in claim 1. A process as claimed in claim 1, wherein k is 0 to 2 and m is 1 to 5. A process as claimed in claim 1, wherein k is 0 and m is 2 to 5. A process as claimed in claim 1, wherein X is an oxygen atom or R¹-N< wherein R¹ is as defined in claim 1; k is 0 to 2; m is 2 to 5; n is 1 to 3 and R² is a hydrogen atom or a C₇₋₁₀ aralkyl group which may be substituted by a C₁₋₄ alkyl, halogen, nitro or C₁₋₄ alkoxy. A process as claimed in claim 12, wherein R¹ is a hydrogen atom, a straight-chain or branched C₁₋₇ alkyl group, a C₇₋₁₀ aralkyl group or a C₂₋₆ alkylcarbonyl group. A process an claimed in claim 1, wherein n is 2 and R₂ is a benzyl group. A process as claimed in claim 1, wherein is A process as claimed in claim 1, wherein is A process as claimed in claim 1, wherein is A process as claimed in claim 1, wherein is A process as claimed in claim 1, wherein is A process as claimed in claim 1, wherein is wherein R³ is a hydrogen atom or a C₁₋₃ alkyl group: n is 2 and R² is a benzyl group. A process as claimed in claim 1 wherein the compound prepared is selected from 8-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine or a salt thereof; 3-methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine or a salt thereof; 7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine or a salt thereof; 9-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,-4,5,6,-hexahydro-1-benzazocine or a salt thereof; 7-[1-oxo-3-[1-phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine or a salt thereof; 8-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine fumarate; 3-methyl-7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine dihydrochloride; 7-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-3-benzazepine fumarate; 9-[1-oxo-3-[1-(phenylmethyl)piperidin-4-yl]propyl]-1,2,3,4,5,6-hexahydro-1-benzazocine fumarate; 7-[1-oxo-3-[1-phenylmethyl)piperidin-4-yl]propyl]-2,3,4,5-tetrahydro-1H-1-benzazepine fumarate. A process for preparing a pharmaceutical composition for an agent for senile dementia or/and Alzheimer's desease which comprises mixing an effective cholinesterase inhibiting amount of a compound of the formula (I) as prepared according to claims 1 to 19 or a pharmaceutically acceptable salt thereof with a pharmaceutically acceptable carrier. Use of a compound of the formula (I): wherein X is an oxygen atom, a sulfur atom or R¹-N< wherein R¹ is a hydrogen atom, a hydrocarbon group which may be substituted or an acyl group which may be substituted; R² is a hydrogen atom or a hydrocarbon group which may be substituted; ring A is a benzene ring which may be substituted; k is a whole number of 0 to 3; m is a whole number of 1 to 8; and n is a whole number of 1 to 6, or a salt thereof as a component in the preparation of a cholinesterase inhibitor. A process as claimed in claim 1, wherein K is 0 to 2; m is 2 to 5; n is 1 to 3 and R² is a hydrogen atom or a C₇₋₁₀ aralkyl group which may be substituted by a C₁₋₄ alkyl, halogen, nitro or C₁₋₄ alkoxy. A process as claimed in claim 22, wherein R¹ is a hydrogen atom, a straight-chain or branched C₁₋₇ alkyl group, a C₇₋₁₀ aralkyl group or a C₂₋₈ alkylcarbonyl group.

Inventors: GOTO GIICHI, ISHIHARA YUJI, MIYAMOTO MASAOMI, GOTO, GIICHI, ISHIHARA, YUJI, MIYAMOTO, MASAOMI
Applicants: TAKEDA CHEMICAL INDUSTRIES LTD, TAKEDA CHEMICAL INDUSTRIES, LTD.
Application year: 1991
Main classification: C07D401
IPC codes: A61K31, C07D401, C07D211, C07D487, A61P43, C07D495, C07D493, C07D417, A61P25, C07D409, C07D405