Let X, Tx, V, y and z be given.
We prove the intermediate
claim HyX:
y ∈ X.
An exact proof term for the current goal is (HVsubX y HyV).
We prove the intermediate
claim HzX:
z ∈ X.
An exact proof term for the current goal is (HVsubX z HzV).
An exact proof term for the current goal is (Hpaths y z HyV HzV).
Apply Hex to the current goal.
Let p be given.
We prove the intermediate
claim Hp1:
apply_fun p 1 = z.
We prove the intermediate
claim Hp0:
apply_fun p 0 = y.
Set j to be the term
{(y0,y0)|y0 ∈ V}.
We prove the intermediate
claim Hjdef:
j = {(y0,y0)|y0 ∈ V}.
We prove the intermediate
claim Hjfun:
function_on j V X.
Let v be given.
We prove the intermediate
claim Hjv:
apply_fun j v = v.
rewrite the current goal using Hjdef (from left to right).
rewrite the current goal using Hjv (from left to right).
An exact proof term for the current goal is (HVsubX v HvV).
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 HtopV.
An exact proof term for the current goal is HTx.
An exact proof term for the current goal is Hjfun.
Let U be given.
Let v be given.
We prove the intermediate
claim HvV:
v ∈ V.
An
exact proof term for the current goal is
(SepE1 V (λv0 : set ⇒ apply_fun j v0 ∈ U) v Hv).
We prove the intermediate
claim HjinU:
apply_fun j v ∈ U.
An
exact proof term for the current goal is
(SepE2 V (λv0 : set ⇒ apply_fun j v0 ∈ U) v Hv).
We prove the intermediate
claim Hjv0:
apply_fun {(y0,y0)|y0 ∈ V} v = v.
We prove the intermediate
claim HjinU0:
apply_fun {(y0,y0)|y0 ∈ V} v ∈ U.
rewrite the current goal using Hjdef (from right to left).
An exact proof term for the current goal is HjinU.
We prove the intermediate
claim HvU:
v ∈ U.
rewrite the current goal using Hjv0 (from right to left).
An exact proof term for the current goal is HjinU0.
An
exact proof term for the current goal is
(binintersectI U V v HvU HvV).
Let v be given.
Apply SepI to the current goal.
An exact proof term for the current goal is HvV.
We prove the intermediate
claim Hjv0:
apply_fun {(y0,y0)|y0 ∈ V} v = v.
rewrite the current goal using Hjdef (from left to right).
We prove the intermediate
claim HvU0:
apply_fun {(y0,y0)|y0 ∈ V} v ∈ U.
rewrite the current goal using Hjv0 (from left to right).
An exact proof term for the current goal is HvU.
An exact proof term for the current goal is HvU0.
rewrite the current goal using Heq (from left to right).
We will
prove U ∩ V ∈ {W ∈ 𝒫 V|∃V0 ∈ Tx, W = V0 ∩ V}.
Apply SepI to the current goal.
Apply PowerI to the current goal.
We will
prove ∃V0 ∈ Tx, U ∩ V = V0 ∩ V.
We use U to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HU.
We prove the intermediate
claim Hq0:
apply_fun q 0 = y.
rewrite the current goal using Hq0def (from left to right).
rewrite the current goal using Hp0 (from left to right).
We prove the intermediate
claim Hjy:
apply_fun j y = y.
rewrite the current goal using Hjdef (from left to right).
rewrite the current goal using Hjy (from left to right).
Use reflexivity.
We prove the intermediate
claim Hq1:
apply_fun q 1 = z.
rewrite the current goal using Hq1def (from left to right).
rewrite the current goal using Hp1 (from left to right).
We prove the intermediate
claim Hjz:
apply_fun j z = z.
rewrite the current goal using Hjdef (from left to right).
rewrite the current goal using Hjz (from left to right).
Use reflexivity.
Apply SepI to the current goal.
An exact proof term for the current goal is HzX.
We use q 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 Hqfun.
An exact proof term for the current goal is Hqcont.
An exact proof term for the current goal is Hq0.
An exact proof term for the current goal is Hq1.
∎