\renewcommand{\thesection}{\arabic{section}}
\renewcommand{\thesubsection}{\arabic{section}.\arabic{subsection}}
%%%%%
\newtheorem{defi}{definition}[subsection]
\newtheorem{defis}{definition}[defi]
hi guys the code above gives me this
definition 1.1.1
balabalbal
definitions 1.1.1.1
blablalbalbal
i want to get
definition 1.1.1
balabalbal
definitions 1.1.2
blablalbalbal
\newtheorem{defis}[defi]{Definitions}– egreg Mar 23 '21 at 22:01