Metamath Proof Explorer


Theorem opthne

Description: Two ordered pairs are not equal iff their first components or their second components are not equal. (Contributed by AV, 13-Dec-2018)

Ref Expression
Hypotheses opthne.1 ⊢ A ∈ V
opthne.2 ⊢ B ∈ V
Assertion opthne ⊢ A B ≠ C D ↔ A ≠ C ∨ B ≠ D

Proof

Step Hyp Ref Expression
1 opthne.1 ⊢ A ∈ V
2 opthne.2 ⊢ B ∈ V
3 opthneg ⊢ A ∈ V ∧ B ∈ V → A B ≠ C D ↔ A ≠ C ∨ B ≠ D
4 1 2 3 mp2an ⊢ A B ≠ C D ↔ A ≠ C ∨ B ≠ D