Apply HexB to the current goal.
Let B be given.
Set Fams to be the term
{{b}|b ∈ B}.
We use Fams to witness the existential quantifier.
An exact proof term for the current goal is HB.
We prove the intermediate
claim HBasis:
basis_on X B.
We prove the intermediate
claim HBsubPow:
B ⊆ 𝒫 X.
We prove the intermediate
claim HUnionEq:
⋃ Fams = B.
Let u be given.
Let G be given.
Let u0 be given.
We prove the intermediate
claim HuEq:
u = u0.
We prove the intermediate
claim HuG0:
u ∈ {u0}.
rewrite the current goal using HeqG (from right to left).
An exact proof term for the current goal is HuG.
An
exact proof term for the current goal is
(SingE u0 u HuG0).
rewrite the current goal using HuEq (from left to right).
An exact proof term for the current goal is Hu0B.
Let u be given.
We will
prove u ∈ ⋃ Fams.
We prove the intermediate
claim HuFam:
{u} ∈ Fams.
An
exact proof term for the current goal is
(ReplI B (λb0 : set ⇒ {b0}) u HuB).
An
exact proof term for the current goal is
(UnionI Fams u {u} (SingI u) HuFam).
Apply and5I to the current goal.
An
exact proof term for the current goal is
(countable_image B HBcount (λb : set ⇒ {b})).
We will
prove Fams ⊆ 𝒫 (𝒫 X).
Let G be given.
We will
prove G ∈ 𝒫 (𝒫 X).
Let u be given.
rewrite the current goal using HeqG (from left to right).
We prove the intermediate
claim HuPow:
u ∈ 𝒫 X.
An exact proof term for the current goal is (HBsubPow u HuB).
We prove the intermediate
claim HsubPow:
{u} ⊆ 𝒫 X.
Let z be given.
We prove the intermediate
claim Hzu:
z = u.
An
exact proof term for the current goal is
(SingE u z Hz).
rewrite the current goal using Hzu (from left to right).
An exact proof term for the current goal is HuPow.
An
exact proof term for the current goal is
(PowerI (𝒫 X) {u} HsubPow).
Let G be given.
Let u be given.
rewrite the current goal using HeqG (from left to right).
rewrite the current goal using HUnionEq (from left to right).
An exact proof term for the current goal is HBgener.
Let u be given.
We prove the intermediate
claim HuB:
u ∈ B.
rewrite the current goal using HUnionEq (from right to left).
An exact proof term for the current goal is HuFam.
We prove the intermediate
claim HuPow:
u ∈ 𝒫 X.
An exact proof term for the current goal is (HBsubPow u HuB).
rewrite the current goal using HgenEq (from right to left).
An exact proof term for the current goal is HuTop.
∎