MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  f1ossf1o Structured version   Visualization version   GIF version

Theorem f1ossf1o 6982
Description: Restricting a bijection, which is a mapping from a restricted class abstraction, to a subset is a bijection. (Contributed by AV, 7-Aug-2022.)
Hypotheses
Ref Expression
f1ossf1o.x 𝑋 = {𝑤𝐴 ∣ (𝜓𝜒)}
f1ossf1o.y 𝑌 = {𝑤𝐴𝜓}
f1ossf1o.f 𝐹 = (𝑥𝑋𝐵)
f1ossf1o.g 𝐺 = (𝑥𝑌𝐵)
f1ossf1o.b (𝜑𝐺:𝑌1-1-onto𝐶)
f1ossf1o.s ((𝜑𝑥𝑌𝑦 = 𝐵) → (𝜏 ↔ [𝑥 / 𝑤]𝜒))
Assertion
Ref Expression
f1ossf1o (𝜑𝐹:𝑋1-1-onto→{𝑦𝐶𝜏})
Distinct variable groups:   𝑤,𝐴,𝑥   𝑦,𝐵   𝑥,𝐶,𝑦   𝑥,𝑋   𝑥,𝑌,𝑦   𝜑,𝑥,𝑦   𝜓,𝑥   𝜒,𝑥,𝑦   𝜏,𝑥   𝑦,𝑤
Allowed substitution hints:   𝜑(𝑤)   𝜓(𝑦,𝑤)   𝜒(𝑤)   𝜏(𝑦,𝑤)   𝐴(𝑦)   𝐵(𝑥,𝑤)   𝐶(𝑤)   𝐹(𝑥,𝑦,𝑤)   𝐺(𝑥,𝑦,𝑤)   𝑋(𝑦,𝑤)   𝑌(𝑤)

Proof of Theorem f1ossf1o
StepHypRef Expression
1 f1ossf1o.g . . 3 𝐺 = (𝑥𝑌𝐵)
2 f1ossf1o.b . . 3 (𝜑𝐺:𝑌1-1-onto𝐶)
3 f1ossf1o.s . . 3 ((𝜑𝑥𝑌𝑦 = 𝐵) → (𝜏 ↔ [𝑥 / 𝑤]𝜒))
41, 2, 3f1oresrab 6981 . 2 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}):{𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}–1-1-onto→{𝑦𝐶𝜏})
5 simpl 482 . . . . . . . . 9 ((𝜓𝜒) → 𝜓)
65a1i 11 . . . . . . . 8 (𝑤𝐴 → ((𝜓𝜒) → 𝜓))
76ss2rabi 4006 . . . . . . 7 {𝑤𝐴 ∣ (𝜓𝜒)} ⊆ {𝑤𝐴𝜓}
8 f1ossf1o.x . . . . . . 7 𝑋 = {𝑤𝐴 ∣ (𝜓𝜒)}
9 f1ossf1o.y . . . . . . 7 𝑌 = {𝑤𝐴𝜓}
107, 8, 93sstr4i 3960 . . . . . 6 𝑋𝑌
1110a1i 11 . . . . 5 (𝜑𝑋𝑌)
1211resmptd 5937 . . . 4 (𝜑 → ((𝑥𝑌𝐵) ↾ 𝑋) = (𝑥𝑋𝐵))
131a1i 11 . . . . 5 (𝜑𝐺 = (𝑥𝑌𝐵))
149rabeqi 3406 . . . . . . 7 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒}
15 nfcv 2906 . . . . . . . . . . 11 𝑤𝑥
16 nfcv 2906 . . . . . . . . . . 11 𝑤𝐴
17 nfs1v 2155 . . . . . . . . . . 11 𝑤[𝑥 / 𝑤]𝜓
18 sbequ12 2247 . . . . . . . . . . 11 (𝑤 = 𝑥 → (𝜓 ↔ [𝑥 / 𝑤]𝜓))
1915, 16, 17, 18elrabf 3613 . . . . . . . . . 10 (𝑥 ∈ {𝑤𝐴𝜓} ↔ (𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓))
2019anbi1i 623 . . . . . . . . 9 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ ((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒))
21 anass 468 . . . . . . . . 9 (((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2220, 21bitri 274 . . . . . . . 8 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2322rabbia2 3401 . . . . . . 7 {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
24 nfcv 2906 . . . . . . . . 9 𝑥𝐴
25 nfv 1918 . . . . . . . . 9 𝑥(𝜓𝜒)
26 nfs1v 2155 . . . . . . . . . 10 𝑤[𝑥 / 𝑤]𝜒
2717, 26nfan 1903 . . . . . . . . 9 𝑤([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)
28 sbequ12 2247 . . . . . . . . . 10 (𝑤 = 𝑥 → (𝜒 ↔ [𝑥 / 𝑤]𝜒))
2918, 28anbi12d 630 . . . . . . . . 9 (𝑤 = 𝑥 → ((𝜓𝜒) ↔ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
3016, 24, 25, 27, 29cbvrabw 3414 . . . . . . . 8 {𝑤𝐴 ∣ (𝜓𝜒)} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
318, 30eqtr2i 2767 . . . . . . 7 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = 𝑋
3214, 23, 313eqtri 2770 . . . . . 6 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋
3332a1i 11 . . . . 5 (𝜑 → {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋)
3413, 33reseq12d 5881 . . . 4 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}) = ((𝑥𝑌𝐵) ↾ 𝑋))
35 f1ossf1o.f . . . . 5 𝐹 = (𝑥𝑋𝐵)
3635a1i 11 . . . 4 (𝜑𝐹 = (𝑥𝑋𝐵))
3712, 34, 363eqtr4rd 2789 . . 3 (𝜑𝐹 = (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}))
3814, 23eqtr2i 2767 . . . . 5 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
398, 30, 383eqtri 2770 . . . 4 𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
4039a1i 11 . . 3 (𝜑𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒})
41 eqidd 2739 . . 3 (𝜑 → {𝑦𝐶𝜏} = {𝑦𝐶𝜏})
4237, 40, 41f1oeq123d 6694 . 2 (𝜑 → (𝐹:𝑋1-1-onto→{𝑦𝐶𝜏} ↔ (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}):{𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}–1-1-onto→{𝑦𝐶𝜏}))
434, 42mpbird 256 1 (𝜑𝐹:𝑋1-1-onto→{𝑦𝐶𝜏})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1539  [wsb 2068  wcel 2108  {crab 3067  wss 3883  cmpt 5153  cres 5582  1-1-ontowf1o 6417
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425
This theorem is referenced by:  clwwlknonclwlknonf1o  28627  dlwwlknondlwlknonf1o  28630
  Copyright terms: Public domain W3C validator