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 43583
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 8773 . 2 (𝐴 / ∼ ) = ran (𝑎 ∈ 𝐴 ↦ [𝑎] ∼ )
2 qsalrel.2 . . . . . . 7 (𝜑 → ∼ Er 𝐴)
32adantr 486 . . . . . 6 ((𝜑 ∧ 𝑎 ∈ 𝐴) → ∼ Er 𝐴)
4 qsalrel.1 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 𝑦 ∈ 𝐴)) → 𝑥 ∼ 𝑦)
54ralrimivva 3215 . . . . . . . 8 (𝜑 → ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ∼ 𝑦)
65adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑎 ∈ 𝐴) → ∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ∼ 𝑦)
7 simpr 490 . . . . . . . . 9 ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ 𝐴)
8 breq1 5114 . . . . . . . . . . 11 (𝑥 = 𝑎 → (𝑥 ∼ 𝑦 ↔ 𝑎 ∼ 𝑦))
98ralbidv 3195 . . . . . . . . . 10 (𝑥 = 𝑎 → (∀𝑦 ∈ 𝐴 𝑥 ∼ 𝑦 ↔ ∀𝑦 ∈ 𝐴 𝑎 ∼ 𝑦))
109adantl 487 . . . . . . . . 9 (((𝜑 ∧ 𝑎 ∈ 𝐴) ∧ 𝑥 = 𝑎) → (∀𝑦 ∈ 𝐴 𝑥 ∼ 𝑦 ↔ ∀𝑦 ∈ 𝐴 𝑎 ∼ 𝑦))
117, 10rspcdv 3574 . . . . . . . 8 ((𝜑 ∧ 𝑎 ∈ 𝐴) → (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ∼ 𝑦 → ∀𝑦 ∈ 𝐴 𝑎 ∼ 𝑦))
12 qsalrel.3 . . . . . . . . . 10 (𝜑 → 𝑁 ∈ 𝐴)
13 breq2 5115 . . . . . . . . . . 11 (𝑦 = 𝑁 → (𝑎 ∼ 𝑦 ↔ 𝑎 ∼ 𝑁))
1413adantl 487 . . . . . . . . . 10 ((𝜑 ∧ 𝑦 = 𝑁) → (𝑎 ∼ 𝑦 ↔ 𝑎 ∼ 𝑁))
1512, 14rspcdv 3574 . . . . . . . . 9 (𝜑 → (∀𝑦 ∈ 𝐴 𝑎 ∼ 𝑦 → 𝑎 ∼ 𝑁))
1615adantr 486 . . . . . . . 8 ((𝜑 ∧ 𝑎 ∈ 𝐴) → (∀𝑦 ∈ 𝐴 𝑎 ∼ 𝑦 → 𝑎 ∼ 𝑁))
1711, 16syld 48 . . . . . . 7 ((𝜑 ∧ 𝑎 ∈ 𝐴) → (∀𝑥 ∈ 𝐴 ∀𝑦 ∈ 𝐴 𝑥 ∼ 𝑦 → 𝑎 ∼ 𝑁))
186, 17mpd 16 . . . . . 6 ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑎 ∼ 𝑁)
193, 18erthi 8823 . . . . 5 ((𝜑 ∧ 𝑎 ∈ 𝐴) → [𝑎] ∼ = [𝑁] ∼ )
2019mpteq2dva 5207 . . . 4 (𝜑 → (𝑎 ∈ 𝐴 ↦ [𝑎] ∼ ) = (𝑎 ∈ 𝐴 ↦ [𝑁] ∼ ))
2120rneqd 5935 . . 3 (𝜑 → ran (𝑎 ∈ 𝐴 ↦ [𝑎] ∼ ) = ran (𝑎 ∈ 𝐴 ↦ [𝑁] ∼ ))
22 eqid 2769 . . . 4 (𝑎 ∈ 𝐴 ↦ [𝑁] ∼ ) = (𝑎 ∈ 𝐴 ↦ [𝑁] ∼ )
2312ne0d 4293 . . . 4 (𝜑 → 𝐴 ≠ ∅)
2422, 23rnmptc 7254 . . 3 (𝜑 → ran (𝑎 ∈ 𝐴 ↦ [𝑁] ∼ ) = {[𝑁] ∼ })
252ecss 8818 . . . . 5 (𝜑 → [𝑁] ∼ ⊆ 𝐴)
263, 18ersym 8779 . . . . . 6 ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑁 ∼ 𝑎)
2712adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑁 ∈ 𝐴)
28 elecg 8811 . . . . . . 7 ((𝑎 ∈ 𝐴 ∧ 𝑁 ∈ 𝐴) → (𝑎 ∈ [𝑁] ∼ ↔ 𝑁 ∼ 𝑎))
297, 27, 28syl2anc 596 . . . . . 6 ((𝜑 ∧ 𝑎 ∈ 𝐴) → (𝑎 ∈ [𝑁] ∼ ↔ 𝑁 ∼ 𝑎))
3026, 29mpbird 260 . . . . 5 ((𝜑 ∧ 𝑎 ∈ 𝐴) → 𝑎 ∈ [𝑁] ∼ )
3125, 30eqelssd 3936 . . . 4 (𝜑 → [𝑁] ∼ = 𝐴)
3231sneqd 4598 . . 3 (𝜑 → {[𝑁] ∼ } = {𝐴})
3321, 24, 323eqtrd 2808 . 2 (𝜑 → ran (𝑎 ∈ 𝐴 ↦ [𝑎] ∼ ) = {𝐴})
341, 33eqtrid 2816 1 (𝜑 → (𝐴 / ∼ ) = {𝐴})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572   ∈ wcel 2151  ∀wral 3086  {csn 4590   class class class wbr 5111   ↦ cmpt 5195  ran crn 5662   Er wer 8763  [cec 8764   / cqs 8765
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-mpt 5196  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-er 8766  df-ec 8768  df-qs 8772
This theorem is used by:  0prjspn  43953
  Copyright terms: Public domain W3C validator