By Compact Subset Criterion via Open Covers in the Ambient Space, it is enough to prove that every open cover of XΓY in XΓY has a finite subcover.
Let I be a set, and let (Oiβ)iβIβ be an open cover of XΓY in XΓY, where XΓY is equipped with the product topology. Thus each Oiβ is open in XΓY and
XΓYβiβIββOiβ.
Fix a point xβX. For each yβY, the point (x,y) belongs to XΓY, so there exists an index i(x,y)βI such that
(x,y)βOi(x,y)β.
Because Oi(x,y)β is open in the product topology, Product Topology gives open sets Ux,yββX and Vx,yββY such that
(x,y)βUx,yβΓVx,yββOi(x,y)β.
As y varies in Y, the family (Vx,yβ)yβYβ is an open cover of Y in Y. Since Y is compact, Compact Subset Criterion via Open Covers in the Ambient Space applied to the subset YβY yields a natural number nxββN and points y1β,β¦,ynxβββY such that
YβVx,y1βββͺβ―βͺVx,ynxβββ.
Set
Uxβ=Ux,y1βββ©β―β©Ux,ynxβββ.
Since each Ux,yrββ is open in X, the set Uxβ is open in X by Topological Space, and xβUxβ.
We claim that the finitely many sets
Oi(x,y1β)β,β¦,Oi(x,ynxββ)β
cover UxβΓY. Let (u,v)βUxβΓY. Because the sets Vx,y1ββ,β¦,Vx,ynxβββ cover Y, there exists some rβ{1,β¦,nxβ} such that vβVx,yrββ. Since uβUxββUx,yrββ, we obtain
(u,v)βUx,yrββΓVx,yrβββOi(x,yrβ)β.
So the claim holds.
Now let x vary in X. The family (Uxβ)xβXβ is an open cover of X in X. Since X is compact, Compact Subset Criterion via Open Covers in the Ambient Space applied to the subset XβX yields a natural number mβN and points x1β,β¦,xmββX such that
XβUx1βββͺβ―βͺUxmββ.
For each sβ{1,β¦,m}, the finitely many sets attached to xsβ cover UxsββΓY. Taking the union of all these finite families, we obtain finitely many members of the original family (Oiβ)iβIβ that cover
(Ux1ββΓY)βͺβ―βͺ(UxmββΓY).
Since
XΓYβ(Ux1ββΓY)βͺβ―βͺ(UxmββΓY),
these finitely many members of (Oiβ)iβIβ cover XΓY. Thus the open cover (Oiβ)iβIβ has a finite subcover.
Therefore every open cover of XΓY in XΓY has a finite subcover. By Compact Subset Criterion via Open Covers in the Ambient Space, the space XΓY is compact.