Metamath Proof Explorer


Theorem nfopabd

Description: Bound-variable hypothesis builder for class abstraction. Deduction form. (Contributed by Scott Fenton, 26-Oct-2024)

Ref Expression
Hypotheses nfopabd.1 ⊢ Ⅎ x φ
nfopabd.2 ⊢ Ⅎ y φ
nfopabd.4 ⊢ φ → Ⅎ z ψ
Assertion nfopabd ⊢ φ → Ⅎ _ z x y | ψ

Proof

Step Hyp Ref Expression
1 nfopabd.1 ⊢ Ⅎ x φ
2 nfopabd.2 ⊢ Ⅎ y φ
3 nfopabd.4 ⊢ φ → Ⅎ z ψ
4 df-opab ⊢ x y | ψ = w | ∃ x ∃ y w = x y ∧ ψ
5 nfv ⊢ Ⅎ w φ
6 nfvd ⊢ φ → Ⅎ z w = x y
7 6 3 nfand ⊢ φ → Ⅎ z w = x y ∧ ψ
8 2 7 nfexd ⊢ φ → Ⅎ z ∃ y w = x y ∧ ψ
9 1 8 nfexd ⊢ φ → Ⅎ z ∃ x ∃ y w = x y ∧ ψ
10 5 9 nfabdw ⊢ φ → Ⅎ _ z w | ∃ x ∃ y w = x y ∧ ψ
11 4 10 nfcxfrd ⊢ φ → Ⅎ _ z x y | ψ