Users' Mathboxes Mathbox for Steven Nguyen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  qsalrel Structured version   Visualization version   GIF version

Theorem qsalrel 39781
Description: The quotient set is equal to the singleton of 𝐴 when all elements are related and 𝐴 is nonempty. (Contributed by SN, 8-Jun-2023.)
Hypotheses
Ref Expression
qsalrel.1 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → 𝑥 𝑦)
qsalrel.2 (𝜑 Er 𝐴)
qsalrel.3 (𝜑𝑁𝐴)
Assertion
Ref Expression
qsalrel (𝜑 → (𝐴 / ) = {𝐴})
Distinct variable groups:   𝜑,𝑥,𝑦   𝑥,𝐴,𝑦   𝑥, ,𝑦   𝑦,𝑁
Allowed substitution hint:   𝑁(𝑥)

Proof of Theorem qsalrel
Dummy variable 𝑎 is distinct from all other variables.
StepHypRef Expression
1 dfqs2 39778 . 2 (𝐴 / ) = ran (𝑎𝐴 ↦ [𝑎] )
2 qsalrel.2 . . . . . . 7 (𝜑 Er 𝐴)
32adantr 484 . . . . . 6 ((𝜑𝑎𝐴) → Er 𝐴)
4 qsalrel.1 . . . . . . . . 9 ((𝜑 ∧ (𝑥𝐴𝑦𝐴)) → 𝑥 𝑦)
54ralrimivva 3103 . . . . . . . 8 (𝜑 → ∀𝑥𝐴𝑦𝐴 𝑥 𝑦)
65adantr 484 . . . . . . 7 ((𝜑𝑎𝐴) → ∀𝑥𝐴𝑦𝐴 𝑥 𝑦)
7 simpr 488 . . . . . . . . 9 ((𝜑𝑎𝐴) → 𝑎𝐴)
8 breq1 5030 . . . . . . . . . . 11 (𝑥 = 𝑎 → (𝑥 𝑦𝑎 𝑦))
98ralbidv 3109 . . . . . . . . . 10 (𝑥 = 𝑎 → (∀𝑦𝐴 𝑥 𝑦 ↔ ∀𝑦𝐴 𝑎 𝑦))
109adantl 485 . . . . . . . . 9 (((𝜑𝑎𝐴) ∧ 𝑥 = 𝑎) → (∀𝑦𝐴 𝑥 𝑦 ↔ ∀𝑦𝐴 𝑎 𝑦))
117, 10rspcdv 3516 . . . . . . . 8 ((𝜑𝑎𝐴) → (∀𝑥𝐴𝑦𝐴 𝑥 𝑦 → ∀𝑦𝐴 𝑎 𝑦))
12 qsalrel.3 . . . . . . . . . 10 (𝜑𝑁𝐴)
13 breq2 5031 . . . . . . . . . . 11 (𝑦 = 𝑁 → (𝑎 𝑦𝑎 𝑁))
1413adantl 485 . . . . . . . . . 10 ((𝜑𝑦 = 𝑁) → (𝑎 𝑦𝑎 𝑁))
1512, 14rspcdv 3516 . . . . . . . . 9 (𝜑 → (∀𝑦𝐴 𝑎 𝑦𝑎 𝑁))
1615adantr 484 . . . . . . . 8 ((𝜑𝑎𝐴) → (∀𝑦𝐴 𝑎 𝑦𝑎 𝑁))
1711, 16syld 47 . . . . . . 7 ((𝜑𝑎𝐴) → (∀𝑥𝐴𝑦𝐴 𝑥 𝑦𝑎 𝑁))
186, 17mpd 15 . . . . . 6 ((𝜑𝑎𝐴) → 𝑎 𝑁)
193, 18erthi 8364 . . . . 5 ((𝜑𝑎𝐴) → [𝑎] = [𝑁] )
2019mpteq2dva 5122 . . . 4 (𝜑 → (𝑎𝐴 ↦ [𝑎] ) = (𝑎𝐴 ↦ [𝑁] ))
2120rneqd 5775 . . 3 (𝜑 → ran (𝑎𝐴 ↦ [𝑎] ) = ran (𝑎𝐴 ↦ [𝑁] ))
22 eqid 2738 . . . 4 (𝑎𝐴 ↦ [𝑁] ) = (𝑎𝐴 ↦ [𝑁] )
2312ne0d 4222 . . . 4 (𝜑𝐴 ≠ ∅)
2422, 23rnmptc 6973 . . 3 (𝜑 → ran (𝑎𝐴 ↦ [𝑁] ) = {[𝑁] })
252ecss 8359 . . . . 5 (𝜑 → [𝑁] 𝐴)
263, 18ersym 8325 . . . . . 6 ((𝜑𝑎𝐴) → 𝑁 𝑎)
2712adantr 484 . . . . . . 7 ((𝜑𝑎𝐴) → 𝑁𝐴)
28 elecg 8356 . . . . . . 7 ((𝑎𝐴𝑁𝐴) → (𝑎 ∈ [𝑁] 𝑁 𝑎))
297, 27, 28syl2anc 587 . . . . . 6 ((𝜑𝑎𝐴) → (𝑎 ∈ [𝑁] 𝑁 𝑎))
3026, 29mpbird 260 . . . . 5 ((𝜑𝑎𝐴) → 𝑎 ∈ [𝑁] )
3125, 30eqelssd 3896 . . . 4 (𝜑 → [𝑁] = 𝐴)
3231sneqd 4525 . . 3 (𝜑 → {[𝑁] } = {𝐴})
3321, 24, 323eqtrd 2777 . 2 (𝜑 → ran (𝑎𝐴 ↦ [𝑎] ) = {𝐴})
341, 33syl5eq 2785 1 (𝜑 → (𝐴 / ) = {𝐴})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1542  wcel 2113  wral 3053  {csn 4513   class class class wbr 5027  cmpt 5107  ran crn 5520   Er wer 8310  [cec 8311   / cqs 8312
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-ext 2710  ax-sep 5164  ax-nul 5171  ax-pr 5293
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3399  df-dif 3844  df-un 3846  df-in 3848  df-ss 3858  df-nul 4210  df-if 4412  df-sn 4514  df-pr 4516  df-op 4520  df-br 5028  df-opab 5090  df-mpt 5108  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-er 8313  df-ec 8315  df-qs 8319
This theorem is referenced by:  0prjspn  40026
  Copyright terms: Public domain W3C validator