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 35507
Description: This is the core of the proof of f1omptsn 35508, 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 2738 . . . . . . 7 {𝑥} = {𝑥}
3 snex 5354 . . . . . . . 8 {𝑥} ∈ V
4 eqsbc1 3765 . . . . . . . 8 ({𝑥} ∈ V → ([{𝑥} / 𝑢]𝑢 = {𝑥} ↔ {𝑥} = {𝑥}))
53, 4ax-mp 5 . . . . . . 7 ([{𝑥} / 𝑢]𝑢 = {𝑥} ↔ {𝑥} = {𝑥})
62, 5mpbir 230 . . . . . 6 [{𝑥} / 𝑢]𝑢 = {𝑥}
7 sbcel2 4349 . . . . . . . 8 ([{𝑥} / 𝑢]𝑥𝐴𝑥{𝑥} / 𝑢𝐴)
8 csbconstg 3851 . . . . . . . . . 10 ({𝑥} ∈ V → {𝑥} / 𝑢𝐴 = 𝐴)
93, 8ax-mp 5 . . . . . . . . 9 {𝑥} / 𝑢𝐴 = 𝐴
109eleq2i 2830 . . . . . . . 8 (𝑥{𝑥} / 𝑢𝐴𝑥𝐴)
117, 10bitri 274 . . . . . . 7 ([{𝑥} / 𝑢]𝑥𝐴𝑥𝐴)
12 f1omptsn.r . . . . . . . . . . . . . 14 𝑅 = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
1312abeq2i 2875 . . . . . . . . . . . . 13 (𝑢𝑅 ↔ ∃𝑥𝐴 𝑢 = {𝑥})
14 df-rex 3070 . . . . . . . . . . . . 13 (∃𝑥𝐴 𝑢 = {𝑥} ↔ ∃𝑥(𝑥𝐴𝑢 = {𝑥}))
1513, 14sylbbr 235 . . . . . . . . . . . 12 (∃𝑥(𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
161519.23bi 2184 . . . . . . . . . . 11 ((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
1716sbcth 3731 . . . . . . . . . 10 ({𝑥} ∈ V → [{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅))
183, 17ax-mp 5 . . . . . . . . 9 [{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅)
19 sbcimg 3767 . . . . . . . . . 10 ({𝑥} ∈ V → ([{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅) ↔ ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅)))
203, 19ax-mp 5 . . . . . . . . 9 ([{𝑥} / 𝑢]((𝑥𝐴𝑢 = {𝑥}) → 𝑢𝑅) ↔ ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅))
2118, 20mpbi 229 . . . . . . . 8 ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) → [{𝑥} / 𝑢]𝑢𝑅)
22 sbcan 3768 . . . . . . . 8 ([{𝑥} / 𝑢](𝑥𝐴𝑢 = {𝑥}) ↔ ([{𝑥} / 𝑢]𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}))
23 sbcel1v 3787 . . . . . . . 8 ([{𝑥} / 𝑢]𝑢𝑅 ↔ {𝑥} ∈ 𝑅)
2421, 22, 233imtr3i 291 . . . . . . 7 (([{𝑥} / 𝑢]𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}) → {𝑥} ∈ 𝑅)
2511, 24sylanbr 582 . . . . . 6 ((𝑥𝐴[{𝑥} / 𝑢]𝑢 = {𝑥}) → {𝑥} ∈ 𝑅)
266, 25mpan2 688 . . . . 5 (𝑥𝐴 → {𝑥} ∈ 𝑅)
271, 26fmpti 6986 . . . 4 𝐹:𝐴𝑅
281fvmpt2 6886 . . . . . . . . 9 ((𝑥𝐴 ∧ {𝑥} ∈ 𝑅) → (𝐹𝑥) = {𝑥})
2926, 28mpdan 684 . . . . . . . 8 (𝑥𝐴 → (𝐹𝑥) = {𝑥})
30 sneq 4571 . . . . . . . . 9 (𝑥 = 𝑦 → {𝑥} = {𝑦})
3130, 1, 3fvmpt3i 6880 . . . . . . . 8 (𝑦𝐴 → (𝐹𝑦) = {𝑦})
3229, 31eqeqan12d 2752 . . . . . . 7 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) ↔ {𝑥} = {𝑦}))
33 vex 3436 . . . . . . . 8 𝑥 ∈ V
34 sneqbg 4774 . . . . . . . 8 (𝑥 ∈ V → ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦))
3533, 34ax-mp 5 . . . . . . 7 ({𝑥} = {𝑦} ↔ 𝑥 = 𝑦)
3632, 35bitrdi 287 . . . . . 6 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) ↔ 𝑥 = 𝑦))
3736biimpd 228 . . . . 5 ((𝑥𝐴𝑦𝐴) → ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦))
3837rgen2 3120 . . . 4 𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)
39 dff13 7128 . . . 4 (𝐹:𝐴1-1𝑅 ↔ (𝐹:𝐴𝑅 ∧ ∀𝑥𝐴𝑦𝐴 ((𝐹𝑥) = (𝐹𝑦) → 𝑥 = 𝑦)))
4027, 38, 39mpbir2an 708 . . 3 𝐹:𝐴1-1𝑅
41 f1f1orn 6727 . . 3 (𝐹:𝐴1-1𝑅𝐹:𝐴1-1-onto→ran 𝐹)
4240, 41ax-mp 5 . 2 𝐹:𝐴1-1-onto→ran 𝐹
43 rnmptsn 35506 . . . 4 ran (𝑥𝐴 ↦ {𝑥}) = {𝑢 ∣ ∃𝑥𝐴 𝑢 = {𝑥}}
441rneqi 5846 . . . 4 ran 𝐹 = ran (𝑥𝐴 ↦ {𝑥})
4543, 44, 123eqtr4i 2776 . . 3 ran 𝐹 = 𝑅
46 f1oeq3 6706 . . 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 396   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wral 3064  wrex 3065  Vcvv 3432  [wsbc 3716  csb 3832  {csn 4561  cmpt 5157  ran crn 5590  wf 6429  1-1wf1 6430  1-1-ontowf1o 6432  cfv 6433
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-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  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-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  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-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441
This theorem is referenced by:  f1omptsn  35508
  Copyright terms: Public domain W3C validator