MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  eqrdav Structured version   Visualization version   GIF version

Theorem eqrdav 2819
Description: Deduce equality of classes from an equivalence of membership that depends on the membership variable. (Contributed by NM, 7-Nov-2008.) (Proof shortened by Wolf Lammen, 19-Nov-2019.)
Hypotheses
Ref Expression
eqrdav.1 ((𝜑𝑥𝐴) → 𝑥𝐶)
eqrdav.2 ((𝜑𝑥𝐵) → 𝑥𝐶)
eqrdav.3 ((𝜑𝑥𝐶) → (𝑥𝐴𝑥𝐵))
Assertion
Ref Expression
eqrdav (𝜑𝐴 = 𝐵)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐵   𝜑,𝑥
Allowed substitution hint:   𝐶(𝑥)

Proof of Theorem eqrdav
StepHypRef Expression
1 eqrdav.1 . . . 4 ((𝜑𝑥𝐴) → 𝑥𝐶)
2 eqrdav.3 . . . . . 6 ((𝜑𝑥𝐶) → (𝑥𝐴𝑥𝐵))
32biimpd 231 . . . . 5 ((𝜑𝑥𝐶) → (𝑥𝐴𝑥𝐵))
43impancom 454 . . . 4 ((𝜑𝑥𝐴) → (𝑥𝐶𝑥𝐵))
51, 4mpd 15 . . 3 ((𝜑𝑥𝐴) → 𝑥𝐵)
6 eqrdav.2 . . . 4 ((𝜑𝑥𝐵) → 𝑥𝐶)
72biimprd 250 . . . . 5 ((𝜑𝑥𝐶) → (𝑥𝐵𝑥𝐴))
87impancom 454 . . . 4 ((𝜑𝑥𝐵) → (𝑥𝐶𝑥𝐴))
96, 8mpd 15 . . 3 ((𝜑𝑥𝐵) → 𝑥𝐴)
105, 9impbida 799 . 2 (𝜑 → (𝑥𝐴𝑥𝐵))
1110eqrdv 2818 1 (𝜑𝐴 = 𝐵)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  wcel 2114
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-9 2124  ax-ext 2792
This theorem depends on definitions:  df-bi 209  df-an 399  df-ex 1781  df-cleq 2813
This theorem is referenced by:  boxcutc  8486  supminf  12317  f1omvdconj  18552  fmucndlem  22878  lsmsnorb  30948  ballotlemsima  31775  supminfxr  41825
  Copyright terms: Public domain W3C validator