Let U, V and W be given.
Let w be given.
Apply (HWV w HwW) to the current goal.
Let v be given.
We prove the intermediate
claim HvV:
v ∈ V.
An
exact proof term for the current goal is
(andEL (v ∈ V) (w ⊆ v) Hv).
We prove the intermediate
claim Hwsubv:
w ⊆ v.
An
exact proof term for the current goal is
(andER (v ∈ V) (w ⊆ v) Hv).
Apply (HVU v HvV) to the current goal.
Let u be given.
We use u to witness the existential quantifier.
Apply andI to the current goal.
An
exact proof term for the current goal is
(andEL (u ∈ U) (v ⊆ u) Hu).
An
exact proof term for the current goal is
(Subq_tra w v u Hwsubv (andER (u ∈ U) (v ⊆ u) Hu)).
∎