Consider the obvious map 𝑓 :𝐴 ×𝐵 →𝐴𝐵.
For 𝑐 ∈𝐴𝐵, consider the fibre 𝑓−1(𝑐) ⊆𝐴 ×𝐵.
The group 𝐴 ∩𝐵 has a regular right action on 𝑓−1(𝑐) by (𝑎,𝑏)𝑥 =(𝑎𝑥,𝑥−1𝑏):
Freeness is clear, to see transitivity note that 𝑎1𝑏1 =𝑎2𝑏2 implies
(𝑎1,𝑏1)𝑏1𝑏−12=(𝑎1𝑏1𝑏−12,𝑏2𝑏−11𝑏1)=(𝑎1,𝑏2).Thus by the Orbit-stabilizer theorem, ∣𝑓−1(𝑐)∣ =|𝐴∩𝐵|.
Therefore |𝐴𝐵||𝐴∩𝐵| =|𝐴×𝐵| =|𝐴||𝐵| as claimed, proving ^P1.
Suppose 𝐴𝐵 is a subgroup.
Clearly 𝐵𝐴 ⊆𝐴𝐵 since 𝐴,𝐵 ⊆𝐴𝐵.
On the other hand 𝐴𝐵 ⊆𝐵𝐴:
For 𝑎1 ∈𝐴 and 𝑏1 ∈𝐵, we have (𝑎1𝑏1)−1 =𝑎2𝑏2 for some 𝑎2 ∈𝐴 and 𝑏2 ∈𝐵,
and thus 𝑎1𝑏1 =(𝑎2𝑏2)−1 =𝑏−12𝑎−12 ∈𝐵𝐴.
Conversely, if 𝐴𝐵 =𝐵𝐴, then 𝐴 acts on 𝐵 by conjugation.
Thus for any 𝑎1,𝑎2 ∈𝐴 and 𝑏1,𝑏2 ∈𝐵 we have
𝑎1𝑏1(𝑎2𝑏2)−1=𝑎1𝑏1𝑏−12𝑎−12=𝑎1𝑎2(𝑏1𝑏−12)𝑎2∈𝐴𝐵so 𝐴𝐵 is a subgroup by the One step subgroup test.
Therefore 𝐴𝐵 is a subgroup iff 𝐴𝐵 =𝐵𝐴, proving ^P2.