Metamath Proof Explorer


Theorem elmptrab2

Description: Membership in a one-parameter class of sets, indexed by arbitrary base sets. (Contributed by Stefan O'Rear, 28-Jul-2015) (Revised by AV, 26-Mar-2021)

Ref Expression
Hypotheses elmptrab2.f ⊢ F = x ∈ V ⟼ y ∈ B | φ
elmptrab2.s1 ⊢ x = X ∧ y = Y → φ ↔ ψ
elmptrab2.s2 ⊢ x = X → B = C
elmptrab2.ex ⊢ B ∈ V
elmptrab2.rc ⊢ Y ∈ C → X ∈ W
Assertion elmptrab2 ⊢ Y ∈ F ⁡ X ↔ Y ∈ C ∧ ψ

Proof

Step Hyp Ref Expression
1 elmptrab2.f ⊢ F = x ∈ V ⟼ y ∈ B | φ
2 elmptrab2.s1 ⊢ x = X ∧ y = Y → φ ↔ ψ
3 elmptrab2.s2 ⊢ x = X → B = C
4 elmptrab2.ex ⊢ B ∈ V
5 elmptrab2.rc ⊢ Y ∈ C → X ∈ W
6 4 a1i ⊢ x ∈ V → B ∈ V
7 1 2 3 6 elmptrab ⊢ Y ∈ F ⁡ X ↔ X ∈ V ∧ Y ∈ C ∧ ψ
8 3simpc ⊢ X ∈ V ∧ Y ∈ C ∧ ψ → Y ∈ C ∧ ψ
9 5 elexd ⊢ Y ∈ C → X ∈ V
10 9 adantr ⊢ Y ∈ C ∧ ψ → X ∈ V
11 simpl ⊢ Y ∈ C ∧ ψ → Y ∈ C
12 simpr ⊢ Y ∈ C ∧ ψ → ψ
13 10 11 12 3jca ⊢ Y ∈ C ∧ ψ → X ∈ V ∧ Y ∈ C ∧ ψ
14 8 13 impbii ⊢ X ∈ V ∧ Y ∈ C ∧ ψ ↔ Y ∈ C ∧ ψ
15 7 14 bitri ⊢ Y ∈ F ⁡ X ↔ Y ∈ C ∧ ψ