Przedmiotem wynalazku jest sposób wytwarzania no¬ wych pochodnych 4,5,6,7-czterowodoro-lH- lub 2H- -indazoli o ogólnych wzorach 1 i la, w których R5 oznacza grupe alkilowa o 1—3 atomach wegla lub grupe benzylowa. Zwiazki o wzorach 1 i la stanowia cenne substancje przejsciowe stosowane do wytwarzania tautomerycznych pochodnych 5-amino-czterowodoro-lH- lub 2H-indazoli ujawnionych w opisie patentowym NRD nr 144669, sta¬ nowiacych srodki dzialajace agonistycznie wzgledem do- paminy, stosowane w leczeniu choroby Parkinsona oraz jako inhibitory prolaktyny. Cecha sposobu wedlug wynalazku jest to, ze zwiazek o wzorze 2, w którym R5 ma wyzej podane znaczenie, poddaje sie reakcji z wodzianem hydrazyny. Zwiazki o wzorze 1 i la sa tautomerami, co oznacza, ze w roztworze wystepuja one w stanie równowagi dy¬ namicznej, przy czym procentowy udzial danego tauto- meru w mieszaninie zalezy tak od srodowiska jak i sil kolumbowskich. Powyzszy wzór 1 przedstawia lH-in- dazol, a wzór la przedstawia 2H-indazol. Obecnosc podstawnika w pozycji C-6 pierscienia inda- zolowego oznacza wprowadzenie do tych czasteczek cen¬ trum asymetrii. Tak wiec zwiazki o wzorach 1 i la maja po 2 izomery optyczne, wystepujace jako para dl czyli racemat. Rozdzielanie wytworzonej sposobem wedlug wynalazku mieszaniny racemicznej enancjomerów d i 1 na optycznie czynne antypody mozna przeprowadzic znanymi metodami. Zwiazki o wzorach 1 i la w których R5 ma wyzej po¬ dane znaczenie, wytwarza sie w procesie przedstawionym na schemacie, na którym R4 oznacza atom wodoru lub grupy CH3, C2H$ lub CH=CH2. Zgodnie ze schematem, 3-enoloeter 6-hydroksymety- leno-2 cykloheksononu o wzorze 2, taki jak 3-etoksy-6- -hydroksymetyleno-2-cykloheksenon, wytworzony metoda Wenkerta i wsp., J. Org. Chem., 27, 2278 (1962), pod¬ daje sie reakcji z wodzianem hydrazyny we wspólnym obojetnym rozpuszczalniku, takim jak etanol, otrzymujac dl-6-alkoksy- (benzyloksy)-4,5-dwuwodoro-1H-indazol o wzorze 1 i jego 2H-tautomer o wzorze la. W wyniku hydrolizy z zdzialem kwasu, korzystnie mocnego, silnie zjonizowanego kwasu, takiego jak kwas p-toluenosulfonowy, trójfluorooctowy, solny i inne, otrzy¬ muje sie dl-6-keto-4,5,6,7-czterowodoro-lH-indazol o wzo¬ rze 4 i jego 2H-tautomer o wzorze 4a. Zwiazki posrednie o wzorach 4 i 4a sa takze zwiazkami nowymi. Otrzymane ketozwiazki poddaje sie redukcyjnemu ami- nowaniu za pomoca octanu amonowego i cyjanoborowo- dorku sodowego lub innego odpowiedniego czynnika redukcyjnego takiego jak wodorek metalu o odpowied¬ niej zdolnosci redukowania, we wspólnym obojetnym rozpuszczalniku, otrzymujac odpowiedni dl-6-amino-4,5,6, 7-czterowodoro-lH-indazol o wzorze 5 oraz dl-6-amino- -4,5,6,7-czterowodoro-2H-indazol o wzorze 5a. Zwiazki o wzorach 6 i 6a, w których R oznacza atom wodoru, a R1 oznacza N(CH3)2, N(C2H5)2 lub N(n-pro- pyl2 wytwarza sie poddajac 6-aminozwiazek o wzorach 4 i 4a redukcyjnemu alkilowaniu przy uzyciu aldehydu w obecnosci czynnika redukujacego w postaci wodorku metalu, takiego jak cyjanoborowodoTek sodowy, otrzy- 118 514118 514 mujac dl-6-dwualkilo (lub dwuallilo)-amino-4,5,6,7-czte- rowodoro-lH-indazol o wzorze 6 i odpowiedni 2H-tau- tomer o wzorze 6a. Zwiazki, w których grupa 6-aminowa podstawiona jest niesymetrycznie, mozna wytworzyc poddajac amine pierwszorzedowa o wzorach 3 i 5a reakcji z 1 molem chlor¬ ku kwasowego lub bezwodnika kwasowego otrzymaniem pochodnej 6-acyloaminowej, której grupe acylowa re¬ dukuje sie do grupy alkilowej (np. acetyl etyl) przy uzy¬ ciu wodorku metalu, takiego jak LiAlH4, a nastepnie al¬ kilujac tak utworzona w pozycji C-6 amine drugorzedowa za rJom&ca czynfiika alkilujacego zawierajacego inna grupe alkilowa, np. w powyzszym przypadku metylowa' lub n-propylowa. W celu wytworzenia zwiazku o wzorze 2 enoloeter cykloheksadionu-1,3 o wzorze 3, w którym R5 oznacza grupe alkilowa o 1—3 atomach wegla lub benzylowa, formyluje sie w pozycji 6 snetoda Wenkerta i wsp. Sposób wedlug wynalazku ilustruje ^Mwzszy przyklad. Przyklad. Otrzymywanie dl-6-etoksy-4,5-dwuwodo- ro-lH-ifidazoltf V "m-G*X6tey-4&timiwtioto-2HAncaa!o- lu. Sporzadza sie roztwór 5 g 3-etoksy-6-hydroksymetyleno- -2-cykloheksenonu (wytworzona metoda Wenkerta i wsp., J. Org. Chem., 27, 2278 tt°62) w 15P, ml etantriu), Up otrzymanego roztworu dodaje sie 1,9 ml wodzianu hy- drazyny i otrzymana mieszanine miesza sie w tempera¬ turze pokojowej w atmosferze azotu w ciagu 18 godzin. Nastepnie mieszanine reakcyjna odparowuje sie pod zmniej¬ szonym cisnieniem i pozostalosc rozpuszcza sie w chloro¬ formie. Otrzymany roztwór chloroformowy poddaje sie chromatografii na 100 g Florisil stosujac do elucji chloro¬ form zawierajacy wzrastajaca' od 0 do 2 % ilosc etanolu. Frakcje, w których metoda chromatografii cienkowar¬ stwowej twierdzono, ze zawieraja glówna plame róz¬ niaca sie ód zwiazku wyjsciowego laczy sie i odparowuje z nich rozpuszczalniki pod zmniejszonym cisnieniem. Otrzymana pozostalosc poddaje sie krystalizacji z miesza¬ niny eteru i heksanu, otrzymujac dl-6-etoksy-4,5-dwuwo- doro-lH-indazolu i jego 2H-tautomer o temperaturze topnienia 118—120°C. Wydajnosc: 3,64 g. Analiza elementarna: Obliczono:' C 65,93; H 7,37; N 17,06; Znaleziono: C 66,03; Ht,25; N 16,81. Zastrzezenie patentowe Sposób wytwarzania nowych pochodnych 4,5,6,7-czte- rowodoro-lH- lub 2H-indazoli o ogólnych wzorach 1 i la, w których R* oznacza grupe alkilowa o 1—3 ato¬ mach wegla lub grupe benzylowa, znamienny tym, ze zwitek o wzorze 2, w którym R5 ma wyzej podane zna¬ czenie poddaje sie reakcji z wodzianem hydrazyny. 4-cr*- = *$r~ Wzóri Wzór ta H0HC- Wzór 2118 514 ? N2H4-H20 H ii !N2ri4'i i, WHCXOR:E™ N N Wzór 2 v^ OR5 Wzór i Wzór 4a Schemat cd.118 514 N- Schemat c d H ;N-]TyN(cH2R4i Wzór 6 R4CHO HNrN=rNH, NaBH3CN NaOAc Wzór 5a MeOH hn-n^TYn^ch2r4)2 Wzór 6 a Schemat o -OR5 LDD Z-d 2, z. 28/1400/83, n. 90 + 20 egz. Cena 100 zl PL PL PLThe invention relates to a process for the preparation of new derivatives of 4,5,6,7-tetrahydro-1H- or 2H-indazoles of the general formulae I and Ia, wherein R5 denotes an alkyl group having 1-3 carbon atoms or a benzyl group. The compounds of the formulae I and Ia are valuable intermediate substances used in the preparation of tautomeric derivatives of 5-amino-tetrahydro-1H- or 2H-indazoles disclosed in GDR patent specification No. 144,669, which are dopamine agonists used in the treatment of Parkinson's disease and as prolactin inhibitors. A feature of the process according to the invention is that the compound of the formula II, wherein R5 has the meaning given above, is reacted with hydrazine hydrate. Compounds of formulas 1 and 1a are tautomers, which means that in solution they exist in a state of dynamic equilibrium, with the percentage of a given tautomer in the mixture depending on both the environment and Columbian forces. Formula 1 above represents 1H-indazole, and formula 1a represents 2H-indazole. The presence of a substituent at the C-6 position of the indazole ring signifies the introduction of an asymmetric center into these molecules. Thus, compounds of formulas 1 and 1a each have two optical isomers, occurring as a dl pair, i.e., a racemate. Separation of the racemic mixture of d and 1 enantiomers prepared by the method of the invention into their optically active antipodes can be carried out by known methods. The compounds of formulae I and Ia wherein R5 is as defined above are prepared by the process shown in the scheme wherein R4 is hydrogen or a CH3, C2H$ or CH=CH2 group. According to the scheme, a 6-hydroxymethylene-2-cyclohexenone-3-enol ether of formula II, such as 3-ethoxy-6-hydroxymethylene-2-cyclohexenone, prepared by the method of Wenkert et al., J. Org. Chem., 27, 2278 (1962), is reacted with hydrazine hydrate in a common inert solvent such as ethanol to give dl-6-alkoxy-(benzyloxy)-4,5-dihydro-1H-indazole of formula I and its 2H-tautomer of formula Ia. Hydrolysis with an acid, preferably a strong, strongly ionized acid such as p-toluenesulfonic acid, trifluoroacetic acid, hydrochloric acid, etc., gives dl-6-keto-4,5,6,7-tetrahydro-1H-indazole of formula 4 and its 2H-tautomer of formula 4a. The intermediate compounds of formulae 4 and 4a are also new compounds. The resulting keto compounds are subjected to reductive amination with ammonium acetate and sodium cyanoborohydride or another suitable reducing agent such as a metal hydride with appropriate reducing power, in a common inert solvent, to give the corresponding dl-6-amino-4,5,6,7-tetrahydro-1H-indazole of formula 5 and dl-6-amino-4,5,6,7-tetrahydro-2H-indazole of formula 5a. Compounds of formulae 6 and 6a wherein R is hydrogen and R1 is N(CH3)2, N(C2H5)2, or N(n-propyl2) are prepared by subjecting a 6-amino compound of formulae 4 and 4a to reductive alkylation with an aldehyde in the presence of a metal hydride reducing agent such as sodium cyanoborohydride to give the dl-6-dialkyl (or diallyl)-amino-4,5,6,7-tetrahydro-1H-indazole of formula 6 and the corresponding 2H-tautomer of formula 6a. Compounds in which the 6-amino group is asymmetrically substituted can be prepared by subjecting a primary amine of formulae 3 and 5a with 1 mole of acid chloride or acid anhydride to obtain a 6-acylamino derivative, the acyl group of which is reduced to an alkyl group (e.g., acetyl ethyl) using a metal hydride such as LiAlH4, and then alkylating the secondary amine thus formed at C-6 using an alkylating agent containing another alkyl group, e.g., in the above case, methyl or n-propyl. To prepare the compound of formula II, the cyclohexadione-1,3-enol ether of formula III, wherein R5 is an alkyl group of 1-3 carbon atoms or a benzyl group, is formylated at the 6-position according to the method of Wenkert et al. The process according to the invention is illustrated by the following example. Example. Preparation 1-6-ethoxy-4,5-dihydro-1H-fidazole-4-(2-hydroxymethyl-2-cyclohexenone)-(2-hydroxymethyl-2-cyclohexenone)-(prepared by the method of Wenkert et al., J. Org. Chem., 27, 2278, mp 62) was prepared in 15 ml of ethantriol. To this solution was added 1.9 ml of hydrazine hydrate and the mixture was stirred at room temperature under nitrogen for 18 hours. The reaction mixture was then evaporated under reduced pressure and the residue was dissolved in chloroform. The chloroform solution obtained was chromatographed on 100 g of Florisil using Chloroform containing increasing amounts of ethanol from 0 to 2% was used for elution. Fractions found by thin-layer chromatography to contain a major spot different from the starting compound were combined and the solvents were evaporated under reduced pressure. The residue obtained was crystallized from a mixture of ether and hexane to give dl-6-ethoxy-4,5-dihydro-1H-indazole and its 2H-tautomer, melting at 118-120°C. Yield: 3.64 g. Elemental analysis: Calculated: C 65.93; H 7.37; N 17.06; Found: C 66.03; H t .25; N 16.81. Patent claim: A method for preparing new derivatives of 4,5,6,7-tetrahydro-1H- or 2H-indazoles of general formulae 1 and 1a, wherein R* denotes an alkyl group with 1-3 carbon atoms or a benzyl group, characterized in that the compound of formula 2, wherein R5 has the meaning given above, is reacted with hydrazine hydrate. 4-cr*- = *$r~ Formula i Formula ta H0HC- Formula 2118 514 - N2H4-H2O H ii !N2ri4'i i, WHCXOR:E™ N N Formula 2 v^ OR5 Formula i Formula 4a Scheme cd.118 514 N- Scheme c d H ;N-]TyN(cH2R4i Formula 6 R4CHO HNrN=rNH, NaBH3CN NaOAc Formula 5a MeOH hn-n^TYn^ch2r4)2 Formula 6 a Scheme o -OR5 LDD Z-d 2, z. 28/1400/83, n. 90 + 20 copies Price 100 PLN PL PL PL