Let X and Tx be given.
Let x be given.
We prove the intermediate
claim HBdef:
B = closure_of X Tx A.
We prove the intermediate
claim HAsub:
A ⊆ X.
We prove the intermediate
claim HBsub:
B ⊆ X.
rewrite the current goal using HBdef (from left to right).
We prove the intermediate
claim HAB:
A ⊆ B.
rewrite the current goal using HBdef (from left to right).
We prove the intermediate
claim HBcl:
B ⊆ closure_of X Tx A.
rewrite the current goal using HBdef (from left to right).
We prove the intermediate
claim HBsubA:
B ⊆ A.
Let y be given.
Apply SepI to the current goal.
An exact proof term for the current goal is (HBsub y Hy).
We use B to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
An exact proof term for the current goal is HBconn.
We prove the intermediate
claim HxA:
x ∈ A.
An exact proof term for the current goal is (HAB x HxA).
An exact proof term for the current goal is Hy.
We prove the intermediate
claim Heq:
B = A.
Let y be given.
An exact proof term for the current goal is (HBsubA y Hy).
Let y be given.
An exact proof term for the current goal is (HAB y Hy).
We prove the intermediate
claim HBclosed:
closed_in X Tx B.
rewrite the current goal using HBdef (from right to left).
An exact proof term for the current goal is HBclosed0.
We prove the intermediate
claim HAclosed:
closed_in X Tx A.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HBclosed.
An exact proof term for the current goal is HAclosed.
∎