This answer demonstrates how to use the aliascnt method to create an ineq environment which shares a counter with the equation environment, but which cleveref can nevertheless recognize as a different environment than equation.
The code which the answer uses to define the ineq environment is copied from the code used in latex.ltx to define the equation environment. Consequently, the answer is specific to situations in which it is desirable to define equation-like environments.
However, how can the aliascnt method be used when the new environment to be defined is similar to theorem rather than to equation, as described in this question?


theorem". E.g., does this new environment have a name? And, would this "new environment" share a counter with thetheoremenvironment? For that matter, how is thetheoremenvironment defined in the first place? E.g., with the help of theamsthmorntheorempackage? (The more details you can provide, the more specific and more pertinent answers are likely to be too.) – Mico Nov 30 '22 at 20:49ntheorem. – Evan Aad Nov 30 '22 at 21:43