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 36681
Description: This is the core of the proof of f1omptsn 36682, 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 5429 . . . . . . . 8 {𝑥} ∈ V
4 eqsbc1 3826 . . . . . . . 8 ({𝑥} ∈ V → ([{𝑥} / 𝑢]𝑢 = {𝑥} ↔ {𝑥} = {𝑥}))
53, 4ax-mp 5 . . . . . . 7 ([{𝑥} / 𝑢]𝑢 = {𝑥} ↔ {𝑥} = {𝑥})
62, 5mpbir 230 . . . . . 6 [{𝑥} / 𝑢]𝑢 = {𝑥}
7 sbcel2 4415 . . . . . . . 8 ([{𝑥} / 𝑢]𝑥𝐴𝑥{𝑥} / 𝑢𝐴)
8 csbconstg 3912 . . . . . . . . . 10 ({𝑥} ∈ V → {𝑥} / 𝑢𝐴 = 𝐴)
93, 8ax-mp 5 . . . . . . . . 9 {𝑥} / 𝑢𝐴 = 𝐴
109eleq2i 2824 . . . . . . . 8 (𝑥{𝑥} / 𝑢𝐴𝑥𝐴)
117, 10bitri 275 . . . . . . 7 ([{𝑥} / 𝑢]𝑥𝐴𝑥𝐴)
12 f1omptsn.r . . . . . . . . . . . . . 14 𝑅 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
1312eqabri 2876 . . . . . . . . . . . . 13 (𝑢𝑅 ↔ ∃𝑥𝐴 𝑢 = {𝑥})
14 df-rex 3070 . . . . . . . . . . . . 13 (∃𝑥𝐴 𝑢 = {𝑥} ↔ ∃𝑥(𝑥𝐴𝑢 = {𝑥}))
1513, 14sylbbr 235 . . . . . . . . . . . 12 (∃𝑥(𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
161519.23bi 2183 . . . . . . . . . . 11 ((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
1716sbcth 3792 . . . . . . . . . 10 ({𝑥} ∈ V → [{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅))
183, 17ax-mp 5 . . . . . . . . 9 [{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
19 sbcimg 3828 . . . . . . . . . 10 ({𝑥} ∈ V → ([{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅) ↔ ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅)))
203, 19ax-mp 5 . . . . . . . . 9 ([{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅) ↔ ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅))
2118, 20mpbi 229 . . . . . . . 8 ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅)
22 sbcan 3829 . . . . . . . 8 ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) ↔ ([{𝑥} / 𝑢]𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}))
23 sbcel1v 3848 . . . . . . . 8 ([{𝑥} / 𝑢]𝑢𝑅 ↔ {𝑥} ∈ 𝑅)
2421, 22, 233imtr3i 291 . . . . . . 7 (([{𝑥} / 𝑢]𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}) → {𝑥} ∈ 𝑅)
2511, 24sylanbr 581 . . . . . 6 ((𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}) → {𝑥} ∈ 𝑅)
266, 25mpan2 688 . . . . 5 (𝑥𝐴 → {𝑥} ∈ 𝑅)
271, 26fmpti 7113 . . . 4 𝐹:𝐴𝑅
281fvmpt2 7009 . . . . . . . . 9 ((𝑥𝐴 ∧ {𝑥} ∈ 𝑅) → (𝐹𝑥) = {𝑥})
2926, 28mpdan 684 . . . . . . . 8 (𝑥𝐴 → (𝐹𝑥) = {𝑥})
30 sneq 4638 . . . . . . . . 9 (𝑥 = 𝑦 → {𝑥} = {𝑦})
3130, 1, 3fvmpt3i 7003 . . . . . . . 8 (𝑦𝐴 → (𝐹𝑦) = {𝑦})
3229, 31eqeqan12d 2745 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) ↔ {𝑥} = {𝑦}))
33 vex 3477 . . . . . . . 8 𝑥 ∈ V
34 sneqbg 4844 . . . . . . . 8 (𝑥 ∈ V → ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦))
3533, 34ax-mp 5 . . . . . . 7 ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦)
3632, 35bitrdi 287 . . . . . 6 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝑥 = 𝑦))
3736biimpd 228 . . . . 5 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
3837rgen2 3196 . . . 4 𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)
39 dff13 7257 . . . 4 (𝐹:𝐴1-1𝑅 ↔ (𝐹:𝐴𝑅 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
4027, 38, 39mpbir2an 708 . . 3 𝐹:𝐴1-1𝑅
41 f1f1orn 6844 . . 3 (𝐹:𝐴1-1𝑅𝐹:𝐴1-1-onto→ran 𝐹)
4240, 41ax-mp 5 . 2 𝐹:𝐴1-1-onto→ran 𝐹
43 rnmptsn 36680 . . . 4 ran (𝑥𝐴 ↦ {𝑥}) = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
441rneqi 5936 . . . 4 ran 𝐹 = ran (𝑥𝐴 ↦ {𝑥})
4543, 44, 123eqtr4i 2769 . . 3 ran 𝐹 = 𝑅
46 f1oeq3 6823 . . 3 (ran 𝐹 = 𝑅 → (𝐹:𝐴1-1-onto→ran 𝐹𝐹:𝐴1-1-onto𝑅))
4745, 46ax-mp 5 . 2 (𝐹:𝐴1-1-onto→ran 𝐹𝐹:𝐴1-1-onto𝑅)
4842, 47mpbi 229 1 𝐹:𝐴1-1-onto𝑅
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1540  wex 1780  wcel 2105  {cab 2708  wral 3060  wrex 3069  Vcvv 3473  [wsbc 3777  csb 3893  {csn 4628  cmpt 5231  ran crn 5677  wf 6539  1-1wf1 6540  1-1-ontowf1o 6542  cfv 6543
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 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2702  ax-sep 5299  ax-nul 5306  ax-pr 5427
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-ral 3061  df-rex 3070  df-rab 3432  df-v 3475  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5574  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551
This theorem is referenced by:  f1omptsn  36682
  Copyright terms: Public domain W3C validator