Let U and V be given.
Let x1 be given.
Let x2 be given.
Let z be given.
We prove the intermediate
claim HzComp1:
z ∈ component_of X Tx x1.
rewrite the current goal using HUeq (from right to left).
An exact proof term for the current goal is HzU.
We prove the intermediate
claim HzComp2:
z ∈ component_of X Tx x2.
rewrite the current goal using HVeql (from right to left).
An exact proof term for the current goal is HzV.
We prove the intermediate
claim HzX:
z ∈ X.
rewrite the current goal using Heq1 (from right to left).
rewrite the current goal using Heq2 (from left to right).
Use reflexivity.
We prove the intermediate
claim HUVeq:
U = V.
rewrite the current goal using HUeq (from left to right).
rewrite the current goal using HVeql (from left to right).
An exact proof term for the current goal is HcompEq.
Apply FalseE to the current goal.
An exact proof term for the current goal is (Hneq HUVeq).
∎