We prove the intermediate
claim HexYnotC:
∃y : set, y ∈ Y ∧ y ∉ C.
We prove the intermediate
claim Hex:
∃y : set, ¬ (y ∈ Y → y ∈ C).
Apply Hex to the current goal.
Let y be given.
Assume Hnotimp.
We prove the intermediate
claim HyY:
y ∈ Y.
Apply (xm (y ∈ Y)) to the current goal.
Assume HyY.
An exact proof term for the current goal is HyY.
Assume HyNotY.
Apply FalseE to the current goal.
Apply Hnotimp to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HyNotY HyY).
We prove the intermediate
claim HyNotC:
y ∉ C.
Apply Hnotimp to the current goal.
An exact proof term for the current goal is HyC.
We use y to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is HyNotC.
Apply HexYnotC to the current goal.
Let yD be given.
Assume HyDpair.
We prove the intermediate
claim HyDY:
yD ∈ Y.
An
exact proof term for the current goal is
(andEL (yD ∈ Y) (yD ∉ C) HyDpair).
We prove the intermediate
claim HyDnotC:
yD ∉ C.
An
exact proof term for the current goal is
(andER (yD ∈ Y) (yD ∉ C) HyDpair).
We prove the intermediate
claim Hsep_pow_disj:
(C ∈ 𝒫 X ∧ D ∈ 𝒫 X) ∧ C ∩ D = Empty.
We prove the intermediate
claim HCpow:
C ∈ 𝒫 X.
An
exact proof term for the current goal is
(andEL (C ∈ 𝒫 X) (D ∈ 𝒫 X) (andEL (C ∈ 𝒫 X ∧ D ∈ 𝒫 X) (C ∩ D = Empty) Hsep_pow_disj)).
We prove the intermediate
claim HDpow:
D ∈ 𝒫 X.
An
exact proof term for the current goal is
(andER (C ∈ 𝒫 X) (D ∈ 𝒫 X) (andEL (C ∈ 𝒫 X ∧ D ∈ 𝒫 X) (C ∩ D = Empty) Hsep_pow_disj)).
We prove the intermediate
claim HCsubX:
C ⊆ X.
An
exact proof term for the current goal is
(PowerE X C HCpow).
We prove the intermediate
claim HDsubX:
D ⊆ X.
An
exact proof term for the current goal is
(PowerE X D HDpow).
We prove the intermediate
claim HunionCD:
C ∪ D = X.
We prove the intermediate
claim HyDX:
yD ∈ X.
An exact proof term for the current goal is (HYX yD HyDY).
We prove the intermediate
claim HyDinCD:
yD ∈ C ∪ D.
rewrite the current goal using HunionCD (from left to right).
An exact proof term for the current goal is HyDX.
We prove the intermediate
claim HyDinD:
yD ∈ D.
Apply (binunionE C D yD HyDinCD) to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HyDnotC HyDC).
An exact proof term for the current goal is HyDD.
We prove the intermediate
claim HexYnotD:
∃y : set, y ∈ Y ∧ y ∉ D.
We prove the intermediate
claim Hex:
∃y : set, ¬ (y ∈ Y → y ∈ D).
Apply Hex to the current goal.
Let y be given.
Assume Hnotimp.
We prove the intermediate
claim HyY:
y ∈ Y.
Apply (xm (y ∈ Y)) to the current goal.
Assume HyY.
An exact proof term for the current goal is HyY.
Assume HyNotY.
Apply FalseE to the current goal.
Apply Hnotimp to the current goal.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HyNotY HyY).
We prove the intermediate
claim HyNotD:
y ∉ D.
Apply Hnotimp to the current goal.
An exact proof term for the current goal is HyD.
We use y to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HyY.
An exact proof term for the current goal is HyNotD.
Apply HexYnotD to the current goal.
Let yC be given.
Assume HyCpair.
We prove the intermediate
claim HyCY:
yC ∈ Y.
An
exact proof term for the current goal is
(andEL (yC ∈ Y) (yC ∉ D) HyCpair).
We prove the intermediate
claim HyCnotD:
yC ∉ D.
An
exact proof term for the current goal is
(andER (yC ∈ Y) (yC ∉ D) HyCpair).
We prove the intermediate
claim HyCX:
yC ∈ X.
An exact proof term for the current goal is (HYX yC HyCY).
We prove the intermediate
claim HyCinCD:
yC ∈ C ∪ D.
rewrite the current goal using HunionCD (from left to right).
An exact proof term for the current goal is HyCX.
We prove the intermediate
claim HyCinC:
yC ∈ C.
Apply (binunionE C D yC HyCinCD) to the current goal.
An exact proof term for the current goal is HyCC.
Apply FalseE to the current goal.
An exact proof term for the current goal is (HyCnotD HyCD).
Set A to be the term
C ∩ Y.
Set B to be the term
D ∩ Y.
We prove the intermediate
claim HAYsub:
A ⊆ Y.
We prove the intermediate
claim HBYsub:
B ⊆ Y.
We use C to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HC.
We use D to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HD.
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 A ∈ 𝒫 Y ∧ B ∈ 𝒫 Y.
Apply andI to the current goal.
An
exact proof term for the current goal is
(PowerI Y A HAYsub).
An
exact proof term for the current goal is
(PowerI Y B HBYsub).
Let t be given.
We prove the intermediate
claim HtC:
t ∈ C.
An
exact proof term for the current goal is
(binintersectE1 C Y t HtA).
We prove the intermediate
claim HtD:
t ∈ D.
An
exact proof term for the current goal is
(binintersectE1 D Y t HtB).
We prove the intermediate
claim HtCD:
t ∈ C ∩ D.
An
exact proof term for the current goal is
(binintersectI C D t HtC HtD).
We prove the intermediate
claim HCDdisj:
C ∩ D = Empty.
An
exact proof term for the current goal is
(andER (C ∈ 𝒫 X ∧ D ∈ 𝒫 X) (C ∩ D = Empty) Hsep_pow_disj).
We prove the intermediate
claim Hfalse:
t ∈ Empty.
rewrite the current goal using HCDdisj (from right to left).
An exact proof term for the current goal is HtCD.
An
exact proof term for the current goal is
(EmptyE t Hfalse).
We prove the intermediate
claim HyCA:
yC ∈ A.
An
exact proof term for the current goal is
(binintersectI C Y yC HyCinC HyCY).
We prove the intermediate
claim HyCEmpty:
yC ∈ Empty.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HyCA.
An
exact proof term for the current goal is
(EmptyE yC HyCEmpty).
We prove the intermediate
claim HyDB:
yD ∈ B.
An
exact proof term for the current goal is
(binintersectI D Y yD HyDinD HyDY).
We prove the intermediate
claim HyDEmpty:
yD ∈ Empty.
rewrite the current goal using Heq (from right to left).
An exact proof term for the current goal is HyDB.
An
exact proof term for the current goal is
(EmptyE yD HyDEmpty).
Let t be given.
Apply (binunionE A B t Ht) to the current goal.
An
exact proof term for the current goal is
(binintersectE2 C Y t HtA).
An
exact proof term for the current goal is
(binintersectE2 D Y t HtB).
Let t be given.
We prove the intermediate
claim HtX:
t ∈ X.
An exact proof term for the current goal is (HYX t HtY).
We prove the intermediate
claim HtCD:
t ∈ C ∪ D.
rewrite the current goal using HunionCD (from left to right).
An exact proof term for the current goal is HtX.
Apply (binunionE C D t HtCD) to the current goal.
An
exact proof term for the current goal is
(binintersectI C Y t HtC HtY).
An
exact proof term for the current goal is
(binintersectI D Y t HtD HtY).
Apply FalseE to the current goal.
Apply HnosepY to the current goal.
We use A to witness the existential quantifier.
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 HAinSub.
An exact proof term for the current goal is HBinSub.
An exact proof term for the current goal is HsepAB.