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

Theorem qsel 8585
Description: If an element of a quotient set contains a given element, it is equal to the equivalence class of the element. (Contributed by Mario Carneiro, 12-Aug-2015.)
Assertion
Ref Expression
qsel ((𝑅 Er 𝑋𝐵 ∈ (𝐴 / 𝑅) ∧ 𝐶𝐵) → 𝐵 = [𝐶]𝑅)

Proof of Theorem qsel
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 eqid 2738 . . 3 (𝐴 / 𝑅) = (𝐴 / 𝑅)
2 eleq2 2827 . . . 4 ([𝑥]𝑅 = 𝐵 → (𝐶 ∈ [𝑥]𝑅𝐶𝐵))
3 eqeq1 2742 . . . 4 ([𝑥]𝑅 = 𝐵 → ([𝑥]𝑅 = [𝐶]𝑅𝐵 = [𝐶]𝑅))
42, 3imbi12d 345 . . 3 ([𝑥]𝑅 = 𝐵 → ((𝐶 ∈ [𝑥]𝑅 → [𝑥]𝑅 = [𝐶]𝑅) ↔ (𝐶𝐵𝐵 = [𝐶]𝑅)))
5 elecg 8541 . . . . . 6 ((𝐶 ∈ [𝑥]𝑅𝑥 ∈ V) → (𝐶 ∈ [𝑥]𝑅𝑥𝑅𝐶))
65elvd 3439 . . . . 5 (𝐶 ∈ [𝑥]𝑅 → (𝐶 ∈ [𝑥]𝑅𝑥𝑅𝐶))
76ibi 266 . . . 4 (𝐶 ∈ [𝑥]𝑅𝑥𝑅𝐶)
8 simpll 764 . . . . . 6 (((𝑅 Er 𝑋𝑥𝐴) ∧ 𝑥𝑅𝐶) → 𝑅 Er 𝑋)
9 simpr 485 . . . . . 6 (((𝑅 Er 𝑋𝑥𝐴) ∧ 𝑥𝑅𝐶) → 𝑥𝑅𝐶)
108, 9erthi 8549 . . . . 5 (((𝑅 Er 𝑋𝑥𝐴) ∧ 𝑥𝑅𝐶) → [𝑥]𝑅 = [𝐶]𝑅)
1110ex 413 . . . 4 ((𝑅 Er 𝑋𝑥𝐴) → (𝑥𝑅𝐶 → [𝑥]𝑅 = [𝐶]𝑅))
127, 11syl5 34 . . 3 ((𝑅 Er 𝑋𝑥𝐴) → (𝐶 ∈ [𝑥]𝑅 → [𝑥]𝑅 = [𝐶]𝑅))
131, 4, 12ectocld 8573 . 2 ((𝑅 Er 𝑋𝐵 ∈ (𝐴 / 𝑅)) → (𝐶𝐵𝐵 = [𝐶]𝑅))
14133impia 1116 1 ((𝑅 Er 𝑋𝐵 ∈ (𝐴 / 𝑅) ∧ 𝐶𝐵) → 𝐵 = [𝐶]𝑅)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  Vcvv 3432   class class class wbr 5074   Er wer 8495  [cec 8496   / cqs 8497
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-clab 2716  df-cleq 2730  df-clel 2816  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-er 8498  df-ec 8500  df-qs 8504
This theorem is referenced by:  frgpnabllem2  19475  prter3  36896
  Copyright terms: Public domain W3C validator