Let U be given.
Let x be given.
Let y be given.
Let z be given.
Let X be given.
Assume _.
Apply (xm (x ∈ X)) to the current goal.
rewrite the current goal using
(If_i_1 (x ∈ X) x y H2) (from left to right).
We will
prove (z = x → z ∈ {x,y}).
rewrite the current goal using H3 (from left to right).
An
exact proof term for the current goal is
(UPairI1 x y).
rewrite the current goal using
(If_i_0 (x ∈ X) x y H2) (from left to right).
We will
prove (z = y → z ∈ {x,y}).
rewrite the current goal using H3 (from left to right).
An
exact proof term for the current goal is
(UPairI2 x y).
Let z be given.
We will
prove 𝒫 x ∈ 𝒫 (𝒫 x).
Apply (UPairE z x y Hz) to the current goal.
rewrite the current goal using H1 (from left to right).
rewrite the current goal using
(If_i_1 (x ∈ (𝒫 x)) x y (Self_In_Power x)) (from right to left) at position 1.
An exact proof term for the current goal is L1a.
rewrite the current goal using H1 (from left to right).
rewrite the current goal using
(If_i_0 (x ∈ Empty) x y (EmptyE x)) (from right to left) at position 1.
An exact proof term for the current goal is L1b.
rewrite the current goal using L1 (from right to left).
We prove the intermediate
claim L2:
𝒫 (𝒫 x) ∈ U.
Let X be given.
Assume _.
Apply (xm (x ∈ X)) to the current goal.
rewrite the current goal using
(If_i_1 (x ∈ X) x y H1) (from left to right).
An exact proof term for the current goal is Hx.
rewrite the current goal using
(If_i_0 (x ∈ X) x y H1) (from left to right).
An exact proof term for the current goal is Hy.
∎