Metamath Proof Explorer


Theorem vsetrec

Description: Construct _V using set recursion. The proof indirectly uses trcl , which relies on rec , but theoretically C in trcl could be constructed using setrecs instead. The proof of this theorem uses the dummy variable a rather than x to avoid a distinct variable requirement between F and x . (Contributed by Emmett Weisz, 23-Jun-2021)

Ref Expression
Hypothesis vsetrec.1 ⊢ F = x ∈ V ⟼ 𝒫 x
Assertion vsetrec ⊢ setrecs ⁡ F = V

Proof

Step Hyp Ref Expression
1 vsetrec.1 ⊢ F = x ∈ V ⟼ 𝒫 x
2 setind ⊢ ∀ a a ⊆ setrecs ⁡ F → a ∈ setrecs ⁡ F → setrecs ⁡ F = V
3 vex ⊢ a ∈ V
4 3 pwid ⊢ a ∈ 𝒫 a
5 pweq ⊢ x = a → 𝒫 x = 𝒫 a
6 vpwex ⊢ 𝒫 a ∈ V
7 5 1 6 fvmpt ⊢ a ∈ V → F ⁡ a = 𝒫 a
8 3 7 ax-mp ⊢ F ⁡ a = 𝒫 a
9 eqid ⊢ setrecs ⁡ F = setrecs ⁡ F
10 3 a1i ⊢ a ⊆ setrecs ⁡ F → a ∈ V
11 id ⊢ a ⊆ setrecs ⁡ F → a ⊆ setrecs ⁡ F
12 9 10 11 setrec1 ⊢ a ⊆ setrecs ⁡ F → F ⁡ a ⊆ setrecs ⁡ F
13 8 12 eqsstrrid ⊢ a ⊆ setrecs ⁡ F → 𝒫 a ⊆ setrecs ⁡ F
14 13 sseld ⊢ a ⊆ setrecs ⁡ F → a ∈ 𝒫 a → a ∈ setrecs ⁡ F
15 4 14 mpi ⊢ a ⊆ setrecs ⁡ F → a ∈ setrecs ⁡ F
16 2 15 mpg ⊢ setrecs ⁡ F = V