Degrees of P-Grothendieck polynomials and regularity of Pfaffian varieties | Synapse