3,t-6-Dihydr­oxy-t-5-methoxy­carbonyl-c-6-methyl-r-4-phenyl-4,5,6,7-tetra­hydro-1H-indazole

In the title compound, C16H18N2O4, the cyclo­hexene ring adopts a half-chair conformation. In the solid state, inter­molecular O—H⋯N hydrogen bonds link the mol­ecules into dimers. The crystal packing is further stabilized by N—H⋯O and O—H⋯O hydrogen bonds and weak C—H⋯O inter­actions.