As given in the question , if then and if then .
According to the question, G have the property of closer and associativity.
So, we need to prove that G satisfies other axioms.
Consider a finite set
Since G is finite, for some
We take , now we need to show that this is an identity element.
Suppose
Multiplying with role="math" localid="1654271863251" as:
Which is true, hence it is proved that is identity element in G.
This implies, G has identity element.
Again, for some , let us consider .
Since and G is finite, .
Here,.
Now, we find inverse as:
Therefore, g has inverse for element a.
Since G satisfies both axioms, hence it is a group.
Thus, G is a group.