The exact division used by the executable API is Mathlib's relative index.
theorem
Hex.PermGroup.LeftTransversal.cosets_spec
{n : ℕ}
{G H : Group n}
(t : LeftTransversal G H)
(h : H.IsSubgroup G)
(p : Perm n)
:
The returned cosets cover exactly the larger Mathlib subgroup.