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

Theorem eqrd 3939
Description: Deduce equality of classes from equivalence of membership. (Contributed by Thierry Arnoux, 21-Mar-2017.) (Proof shortened by BJ, 1-Dec-2021.)
Hypotheses
Ref Expression
eqrd.0 Ⅎ𝑥𝜑
eqrd.1 Ⅎ𝑥𝐴
eqrd.2 Ⅎ𝑥𝐵
eqrd.3 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
Assertion
Ref Expression
eqrd (𝜑 → 𝐴 = 𝐵)

Proof of Theorem eqrd
StepHypRef Expression
1 eqrd.0 . . 3 Ⅎ𝑥𝜑
2 eqrd.3 . . 3 (𝜑 → (𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
31, 2alrimi 2262 . 2 (𝜑 → ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
4 eqrd.1 . . 3 Ⅎ𝑥𝐴
5 eqrd.2 . . 3 Ⅎ𝑥𝐵
64, 5cleqf 2965 . 2 (𝐴 = 𝐵 ↔ ∀𝑥(𝑥 ∈ 𝐴 ↔ 𝑥 ∈ 𝐵))
73, 6sylibr 237 1 (𝜑 → 𝐴 = 𝐵)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1570   = wceq 1572  Ⅎwnf 1822   ∈ wcel 2156  Ⅎwnfc 2922
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-tru 1575  df-ex 1819  df-nf 1823  df-cleq 2766  df-clel 2850  df-nfc 2924
This theorem is used by:  eqri  3940  eqrrabd  4021  sniota  6570  fimarab  7008  dissnlocfin  23956  imasnopn  24117  imasncld  24118  imasncls  24119  blval2  24989  ofpreima  33497  algextdeglem6  34556  constrfin  34580  zarcls  34708  ordtconnlem1  34758  qqhval2  34816  reprdifc  35458  topdifinfindis  38639  icorempo  38644  isbasisrelowllem1  38648  isbasisrelowllem2  38649  sticksstones11  43574  areaquad  44638  rfcnpre1  46469  rfcnpre2  46481  preimagelt  48141  preimalegt  48142
  Copyright terms: Public domain W3C validator