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

Theorem f1omptsnlem 37370
Description: This is the core of the proof of f1omptsn 37371, but to avoid the distinct variables on the definitions, we split this proof into two. (Contributed by ML, 15-Jul-2020.)
Hypotheses
Ref Expression
f1omptsn.f 𝐹 = (𝑥𝐴 ↦ {𝑥})
f1omptsn.r 𝑅 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
Assertion
Ref Expression
f1omptsnlem 𝐹:𝐴1-1-onto𝑅
Distinct variable groups:   𝑥,𝐴,𝑢   𝑥,𝐹   𝑢,𝑅,𝑥
Allowed substitution hint:   𝐹(𝑢)

Proof of Theorem f1omptsnlem
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 f1omptsn.f . . . . 5 𝐹 = (𝑥𝐴 ↦ {𝑥})
2 eqid 2731 . . . . . . 7 {𝑥} = {𝑥}
3 vsnex 5367 . . . . . . . 8 {𝑥} ∈ V
4 eqsbc1 3783 . . . . . . . 8 ({𝑥} ∈ V → ([{𝑥} / 𝑢]𝑢 = {𝑥} ↔ {𝑥} = {𝑥}))
53, 4ax-mp 5 . . . . . . 7 ([{𝑥} / 𝑢]𝑢 = {𝑥} ↔ {𝑥} = {𝑥})
62, 5mpbir 231 . . . . . 6 [{𝑥} / 𝑢]𝑢 = {𝑥}
7 sbcel2 4363 . . . . . . . 8 ([{𝑥} / 𝑢]𝑥𝐴𝑥{𝑥} / 𝑢𝐴)
8 csbconstg 3864 . . . . . . . . . 10 ({𝑥} ∈ V → {𝑥} / 𝑢𝐴 = 𝐴)
93, 8ax-mp 5 . . . . . . . . 9 {𝑥} / 𝑢𝐴 = 𝐴
109eleq2i 2823 . . . . . . . 8 (𝑥{𝑥} / 𝑢𝐴𝑥𝐴)
117, 10bitri 275 . . . . . . 7 ([{𝑥} / 𝑢]𝑥𝐴𝑥𝐴)
12 f1omptsn.r . . . . . . . . . . . . . 14 𝑅 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
1312eqabri 2874 . . . . . . . . . . . . 13 (𝑢𝑅 ↔ ∃𝑥𝐴 𝑢 = {𝑥})
14 df-rex 3057 . . . . . . . . . . . . 13 (∃𝑥𝐴 𝑢 = {𝑥} ↔ ∃𝑥(𝑥𝐴𝑢 = {𝑥}))
1513, 14sylbbr 236 . . . . . . . . . . . 12 (∃𝑥(𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
161519.23bi 2194 . . . . . . . . . . 11 ((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
1716sbcth 3751 . . . . . . . . . 10 ({𝑥} ∈ V → [{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅))
183, 17ax-mp 5 . . . . . . . . 9 [{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
19 sbcimg 3785 . . . . . . . . . 10 ({𝑥} ∈ V → ([{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅) ↔ ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅)))
203, 19ax-mp 5 . . . . . . . . 9 ([{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅) ↔ ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅))
2118, 20mpbi 230 . . . . . . . 8 ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅)
22 sbcan 3786 . . . . . . . 8 ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) ↔ ([{𝑥} / 𝑢]𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}))
23 sbcel1v 3802 . . . . . . . 8 ([{𝑥} / 𝑢]𝑢𝑅 ↔ {𝑥} ∈ 𝑅)
2421, 22, 233imtr3i 291 . . . . . . 7 (([{𝑥} / 𝑢]𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}) → {𝑥} ∈ 𝑅)
2511, 24sylanbr 582 . . . . . 6 ((𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}) → {𝑥} ∈ 𝑅)
266, 25mpan2 691 . . . . 5 (𝑥𝐴 → {𝑥} ∈ 𝑅)
271, 26fmpti 7040 . . . 4 𝐹:𝐴𝑅
281fvmpt2 6935 . . . . . . . . 9 ((𝑥𝐴 ∧ {𝑥} ∈ 𝑅) → (𝐹𝑥) = {𝑥})
2926, 28mpdan 687 . . . . . . . 8 (𝑥𝐴 → (𝐹𝑥) = {𝑥})
30 sneq 4581 . . . . . . . . 9 (𝑥 = 𝑦 → {𝑥} = {𝑦})
3130, 1, 3fvmpt3i 6929 . . . . . . . 8 (𝑦𝐴 → (𝐹𝑦) = {𝑦})
3229, 31eqeqan12d 2745 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) ↔ {𝑥} = {𝑦}))
33 vex 3440 . . . . . . . 8 𝑥 ∈ V
34 sneqbg 4790 . . . . . . . 8 (𝑥 ∈ V → ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦))
3533, 34ax-mp 5 . . . . . . 7 ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦)
3632, 35bitrdi 287 . . . . . 6 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝑥 = 𝑦))
3736biimpd 229 . . . . 5 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
3837rgen2 3172 . . . 4 𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)
39 dff13 7183 . . . 4 (𝐹:𝐴1-1𝑅 ↔ (𝐹:𝐴𝑅 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
4027, 38, 39mpbir2an 711 . . 3 𝐹:𝐴1-1𝑅
41 f1f1orn 6769 . . 3 (𝐹:𝐴1-1𝑅𝐹:𝐴1-1-onto→ran 𝐹)
4240, 41ax-mp 5 . 2 𝐹:𝐴1-1-onto→ran 𝐹
43 rnmptsn 37369 . . . 4 ran (𝑥𝐴 ↦ {𝑥}) = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
441rneqi 5872 . . . 4 ran 𝐹 = ran (𝑥𝐴 ↦ {𝑥})
4543, 44, 123eqtr4i 2764 . . 3 ran 𝐹 = 𝑅
46 f1oeq3 6748 . . 3 (ran 𝐹 = 𝑅 → (𝐹:𝐴1-1-onto→ran 𝐹𝐹:𝐴1-1-onto𝑅))
4745, 46ax-mp 5 . 2 (𝐹:𝐴1-1-onto→ran 𝐹𝐹:𝐴1-1-onto𝑅)
4842, 47mpbi 230 1 𝐹:𝐴1-1-onto𝑅
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395   = wceq 1541  wex 1780  wcel 2111  {cab 2709  wral 3047  wrex 3056  Vcvv 3436  [wsbc 3736  csb 3845  {csn 4571  cmpt 5167  ran crn 5612  wf 6472  1-1wf1 6473  1-1-ontowf1o 6475  cfv 6476
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 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-10 2144  ax-11 2160  ax-12 2180  ax-ext 2703  ax-sep 5229  ax-nul 5239  ax-pr 5365
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2535  df-eu 2564  df-clab 2710  df-cleq 2723  df-clel 2806  df-nfc 2881  df-ne 2929  df-ral 3048  df-rex 3057  df-rab 3396  df-v 3438  df-sbc 3737  df-csb 3846  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-nul 4279  df-if 4471  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4855  df-br 5087  df-opab 5149  df-mpt 5168  df-id 5506  df-xp 5617  df-rel 5618  df-cnv 5619  df-co 5620  df-dm 5621  df-rn 5622  df-res 5623  df-ima 5624  df-iota 6432  df-fun 6478  df-fn 6479  df-f 6480  df-f1 6481  df-fo 6482  df-f1o 6483  df-fv 6484
This theorem is referenced by:  f1omptsn  37371
  Copyright terms: Public domain W3C validator