title: How to identify two counters in LaTeX?
body: <p>In a certain document, I want to make the two counters "theorem" and "subsection" to be one and the same thing. Any ideas?</p>
  
  <p>Edit: Since the math parts are potentially confusing, I rephrase the question as follows without any such references.</p>
  
  <p>I use a certain counter "mycounter" for counting something, and this counter is predefined in a certain package. When the subsection goes up, I want "mycounter" to go up. And vice-versa. When subsection is reset, I want "mycounter" to be reset.</p>
  
  <p>This is what I hope to achieve by identifying the two counters.</p>