Metamath Proof Explorer


Theorem ssoprab2

Description: Equivalence of ordered pair abstraction subclass and implication. Compare ssopab2 . (Contributed by FL, 6-Nov-2013) (Proof shortened by Mario Carneiro, 11-Dec-2016)

Ref Expression
Assertion ssoprab2 ⊢ ∀ x ∀ y ∀ z φ → ψ → x y z | φ ⊆ x y z | ψ

Proof

Step Hyp Ref Expression
1 id ⊢ φ → ψ → φ → ψ
2 1 anim2d ⊢ φ → ψ → w = x y z ∧ φ → w = x y z ∧ ψ
3 2 aleximi ⊢ ∀ z φ → ψ → ∃ z w = x y z ∧ φ → ∃ z w = x y z ∧ ψ
4 3 aleximi ⊢ ∀ y ∀ z φ → ψ → ∃ y ∃ z w = x y z ∧ φ → ∃ y ∃ z w = x y z ∧ ψ
5 4 aleximi ⊢ ∀ x ∀ y ∀ z φ → ψ → ∃ x ∃ y ∃ z w = x y z ∧ φ → ∃ x ∃ y ∃ z w = x y z ∧ ψ
6 5 ss2abdv ⊢ ∀ x ∀ y ∀ z φ → ψ → w | ∃ x ∃ y ∃ z w = x y z ∧ φ ⊆ w | ∃ x ∃ y ∃ z w = x y z ∧ ψ
7 df-oprab ⊢ x y z | φ = w | ∃ x ∃ y ∃ z w = x y z ∧ φ
8 df-oprab ⊢ x y z | ψ = w | ∃ x ∃ y ∃ z w = x y z ∧ ψ
9 6 7 8 3sstr4g ⊢ ∀ x ∀ y ∀ z φ → ψ → x y z | φ ⊆ x y z | ψ