Apply HexB to the current goal.
Let B be given.
We prove the intermediate
claim HBbasis:
basis_on X B.
We prove the intermediate
claim HBopen:
∀b : set, b ∈ B → b ∈ Tx.
Set Fams to be the term
Sing B.
We use Fams to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
We will
prove Fams ⊆ 𝒫 (𝒫 X).
Let F be given.
We will
prove F ∈ 𝒫 (𝒫 X).
We prove the intermediate
claim HeqF:
F = B.
An
exact proof term for the current goal is
(SingE B F HF).
rewrite the current goal using HeqF (from left to right).
We prove the intermediate
claim HBsub:
B ⊆ 𝒫 X.
An
exact proof term for the current goal is
(PowerI (𝒫 X) B HBsub).
Let F be given.
We prove the intermediate
claim HeqF:
F = B.
An
exact proof term for the current goal is
(SingE B F HF).
rewrite the current goal using HeqF (from left to right).
An exact proof term for the current goal is HBlf.
We prove the intermediate
claim HUnionEq:
⋃ Fams = B.
Apply (set_ext (⋃ Fams) B) to the current goal.
Let y be given.
Let Y be given.
We prove the intermediate
claim HeqY:
Y = B.
An
exact proof term for the current goal is
(SingE B Y HYF).
rewrite the current goal using HeqY (from right to left).
An exact proof term for the current goal is HyY.
Let y be given.
An
exact proof term for the current goal is
(UnionI Fams y B Hy (SingI B)).
rewrite the current goal using HUnionEq (from left to right).
An exact proof term for the current goal is HBgen.
Let b be given.
We prove the intermediate
claim HUnionEq:
⋃ Fams = B.
Apply (set_ext (⋃ Fams) B) to the current goal.
Let y be given.
Let Y be given.
We prove the intermediate
claim HeqY:
Y = B.
An
exact proof term for the current goal is
(SingE B Y HYF).
rewrite the current goal using HeqY (from right to left).
An exact proof term for the current goal is HyY.
Let y be given.
An
exact proof term for the current goal is
(UnionI Fams y B Hy (SingI B)).
We prove the intermediate
claim HbB:
b ∈ B.
rewrite the current goal using HUnionEq (from right to left).
An exact proof term for the current goal is Hb.
An exact proof term for the current goal is (HBopen b HbB).
∎