Set A0 to be the term X0.
Set B0 to be the term
{0}.
We use X0 to witness the existential quantifier.
We use Tx0 to witness the existential quantifier.
We use A0 to witness the existential quantifier.
We use B0 to witness the existential quantifier.
Apply andI to the current goal.
Apply andI to the current goal.
Apply andI to the current goal.
An
exact proof term for the current goal is
(Subq_ref X0).
Let x be given.
We prove the intermediate
claim Hxeq:
x = 0.
An
exact proof term for the current goal is
(SingE 0 x Hx).
rewrite the current goal using Hxeq (from left to right).
We prove the intermediate
claim H0X0:
0 ∈ X0.
We prove the intermediate
claim H0in_left:
0 ∈ closure_of X0 Tx0 (A0 ∖ B0).
Let U be given.
We prove the intermediate
claim HUcases:
U = Empty ∨ U = X0.
An exact proof term for the current goal is HU.
Apply HUcases to the current goal.
Apply FalseE to the current goal.
We prove the intermediate
claim H0notU:
0 ∉ U.
rewrite the current goal using HUe (from left to right).
An
exact proof term for the current goal is
(EmptyE 0).
An exact proof term for the current goal is (H0notU H0U).
rewrite the current goal using HUX (from left to right).
We prove the intermediate
claim H1X0:
1 ∈ X0.
We prove the intermediate
claim H1notB0:
1 ∉ B0.
We prove the intermediate
claim H10:
1 = 0.
An
exact proof term for the current goal is
(SingE 0 1 H1B0).
An
exact proof term for the current goal is
(neq_1_0 H10).
We prove the intermediate
claim H1in:
1 ∈ A0 ∖ B0.
An exact proof term for the current goal is H1X0.
An exact proof term for the current goal is H1notB0.
We prove the intermediate
claim H1in_inter:
1 ∈ X0 ∩ (A0 ∖ B0).
An
exact proof term for the current goal is
(binintersectI X0 (A0 ∖ B0) 1 H1X0 H1in).
We prove the intermediate
claim H0in_clB:
0 ∈ closure_of X0 Tx0 B0.
We prove the intermediate
claim HB0sub:
B0 ⊆ X0.
Let x be given.
We prove the intermediate
claim Hxeq:
x = 0.
An
exact proof term for the current goal is
(SingE 0 x Hx).
rewrite the current goal using Hxeq (from left to right).
We prove the intermediate
claim H0not_clB:
0 ∉ closure_of X0 Tx0 B0.
An exact proof term for the current goal is (H0not_clB H0in_clB).
Apply H0not_right to the current goal.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is H0in_left.
∎