Metamath Proof Explorer


Theorem nelcon3d

Description: Contrapositive law deduction for negated membership. (Contributed by AV, 28-Jan-2020)

Ref Expression
Hypothesis nelcon3d.1 ⊢ φ → A ∈ B → C ∈ D
Assertion nelcon3d ⊢ φ → C ∉ D → A ∉ B

Proof

Step Hyp Ref Expression
1 nelcon3d.1 ⊢ φ → A ∈ B → C ∈ D
2 1 con3d ⊢ φ → ¬ C ∈ D → ¬ A ∈ B
3 df-nel ⊢ C ∉ D ↔ ¬ C ∈ D
4 df-nel ⊢ A ∉ B ↔ ¬ A ∈ B
5 2 3 4 3imtr4g ⊢ φ → C ∉ D → A ∉ B