Let X and U be given.
Apply iffI to the current goal.
Assume HU.
An exact proof term for the current goal is (UPairE U Empty X HU).
Assume Hcases: U = Empty U = X.
We prove the intermediate claim HUempty_branch: U = EmptyU indiscrete_topology X.
Assume HUE: U = Empty.
rewrite the current goal using HUE (from left to right).
An exact proof term for the current goal is (UPairI1 Empty X).
We prove the intermediate claim HUx_branch: U = XU indiscrete_topology X.
Assume HUX: U = X.
rewrite the current goal using HUX (from left to right).
An exact proof term for the current goal is (UPairI2 Empty X).
An exact proof term for the current goal is (Hcases (U indiscrete_topology X) HUempty_branch HUx_branch).