Let n be given.
We prove the intermediate
claim HNN:
N ⊆ N.
An
exact proof term for the current goal is
(Subq_ref N).
An exact proof term for the current goal is (HNtail N n HNomega HnO HNN HNn).
We prove the intermediate
claim HaX:
a ∈ X.
An exact proof term for the current goal is (Hseq N HNomega).
We prove the intermediate
claim HbX:
b ∈ X.
An exact proof term for the current goal is (Hseq n HnO).
We prove the intermediate
claim Hlt':
Rlt (If_i (a = b) 0 1) 1.
An exact proof term for the current goal is Hlt.
Apply xm (a = b) to the current goal.
rewrite the current goal using Heq (from left to right).
Use reflexivity.
We prove the intermediate
claim Hval:
If_i (a = b) 0 1 = 1.
An
exact proof term for the current goal is
(If_i_0 (a = b) 0 1 Hneq).
Apply FalseE to the current goal.
We prove the intermediate
claim Hbad:
Rlt 1 1.
rewrite the current goal using Hval (from right to left) at position 1.
An exact proof term for the current goal is Hlt'.
Let U be given.
We prove the intermediate
claim HUsubX:
U ⊆ X.
An
exact proof term for the current goal is
(PowerE X U (SepE1 (𝒫 X) (λU0 : set ⇒ ∀y0 ∈ U0, ∃b0 ∈ B, y0 ∈ b0 ∧ b0 ⊆ U0) U HU)).
We prove the intermediate
claim HUref:
∀y0 ∈ U, ∃b0 ∈ B, y0 ∈ b0 ∧ b0 ⊆ U.
An
exact proof term for the current goal is
(SepE2 (𝒫 X) (λU0 : set ⇒ ∀y0 ∈ U0, ∃b0 ∈ B, y0 ∈ b0 ∧ b0 ⊆ U0) U HU).
We prove the intermediate
claim Hexb:
∃b0 ∈ B, x0 ∈ b0 ∧ b0 ⊆ U.
An exact proof term for the current goal is (HUref x0 Hx0U).
Apply Hexb to the current goal.
Let b0 be given.
Assume Hb0.
We prove the intermediate
claim Hb0B:
b0 ∈ B.
An
exact proof term for the current goal is
(andEL (b0 ∈ B) (x0 ∈ b0 ∧ b0 ⊆ U) Hb0).
We prove the intermediate
claim Hb0pack:
x0 ∈ b0 ∧ b0 ⊆ U.
An
exact proof term for the current goal is
(andER (b0 ∈ B) (x0 ∈ b0 ∧ b0 ⊆ U) Hb0).
We prove the intermediate
claim Hb0subU:
b0 ⊆ U.
An
exact proof term for the current goal is
(andER (x0 ∈ b0) (b0 ⊆ U) Hb0pack).
We use N to witness the existential quantifier.
Apply andI to the current goal.
An exact proof term for the current goal is HNomega.
Let n be given.
We prove the intermediate
claim Heqnx0:
apply_fun seq n = x0.
An exact proof term for the current goal is (Heventually_const n HnO HNn).
rewrite the current goal using Heqnx0 (from left to right).
An
exact proof term for the current goal is
(Hb0subU x0 (andEL (x0 ∈ b0) (b0 ⊆ U) Hb0pack)).