apparent incompatibility between amsart document class and subcaption package: faulty increments of 'figure' counter
Hi. Please see the posting https://tex.stackexchange.com/q/542255/5001. A new user, @pawel, has stumbled across the following issue: If the amsart document class is used and subfigures are created via subfigure environments inside figure environments, then the overall figure counter gets incremented by 2 rather than just 1. The issue goes away if some other document class (say, article) is used and/or if no subfigure environments are created.