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

Theorem f1ossf1o 7162
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 7161 . 2 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}):{𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}–1-1-onto→{𝑦𝐶𝜏})
5 simpl 482 . . . . . . . . 9 ((𝜓𝜒) → 𝜓)
65a1i 11 . . . . . . . 8 (𝑤𝐴 → ((𝜓𝜒) → 𝜓))
76ss2rabi 4100 . . . . . . 7 {𝑤𝐴 ∣ (𝜓𝜒)} ⊆ {𝑤𝐴𝜓}
8 f1ossf1o.x . . . . . . 7 𝑋 = {𝑤𝐴 ∣ (𝜓𝜒)}
9 f1ossf1o.y . . . . . . 7 𝑌 = {𝑤𝐴𝜓}
107, 8, 93sstr4i 4052 . . . . . 6 𝑋𝑌
1110a1i 11 . . . . 5 (𝜑𝑋𝑌)
1211resmptd 6069 . . . 4 (𝜑 → ((𝑥𝑌𝐵) ↾ 𝑋) = (𝑥𝑋𝐵))
131a1i 11 . . . . 5 (𝜑𝐺 = (𝑥𝑌𝐵))
149rabeqi 3457 . . . . . . 7 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒}
15 nfcv 2908 . . . . . . . . . . 11 𝑤𝑥
16 nfcv 2908 . . . . . . . . . . 11 𝑤𝐴
17 nfs1v 2157 . . . . . . . . . . 11 𝑤[𝑥 / 𝑤]𝜓
18 sbequ12 2252 . . . . . . . . . . 11 (𝑤 = 𝑥 → (𝜓 ↔ [𝑥 / 𝑤]𝜓))
1915, 16, 17, 18elrabf 3704 . . . . . . . . . 10 (𝑥 ∈ {𝑤𝐴𝜓} ↔ (𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓))
2019anbi1i 623 . . . . . . . . 9 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ ((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒))
21 anass 468 . . . . . . . . 9 (((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2220, 21bitri 275 . . . . . . . 8 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2322rabbia2 3446 . . . . . . 7 {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
24 nfcv 2908 . . . . . . . . 9 𝑥𝐴
25 nfv 1913 . . . . . . . . 9 𝑥(𝜓𝜒)
26 nfs1v 2157 . . . . . . . . . 10 𝑤[𝑥 / 𝑤]𝜒
2717, 26nfan 1898 . . . . . . . . 9 𝑤([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)
28 sbequ12 2252 . . . . . . . . . 10 (𝑤 = 𝑥 → (𝜒 ↔ [𝑥 / 𝑤]𝜒))
2918, 28anbi12d 631 . . . . . . . . 9 (𝑤 = 𝑥 → ((𝜓𝜒) ↔ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
3016, 24, 25, 27, 29cbvrabw 3481 . . . . . . . 8 {𝑤𝐴 ∣ (𝜓𝜒)} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
318, 30eqtr2i 2769 . . . . . . 7 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = 𝑋
3214, 23, 313eqtri 2772 . . . . . 6 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋
3332a1i 11 . . . . 5 (𝜑 → {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋)
3413, 33reseq12d 6010 . . . 4 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}) = ((𝑥𝑌𝐵) ↾ 𝑋))
35 f1ossf1o.f . . . . 5 𝐹 = (𝑥𝑋𝐵)
3635a1i 11 . . . 4 (𝜑𝐹 = (𝑥𝑋𝐵))
3712, 34, 363eqtr4rd 2791 . . 3 (𝜑𝐹 = (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}))
3814, 23eqtr2i 2769 . . . . 5 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
398, 30, 383eqtri 2772 . . . 4 𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
4039a1i 11 . . 3 (𝜑𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒})
41 eqidd 2741 . . 3 (𝜑 → {𝑦𝐶𝜏} = {𝑦𝐶𝜏})
4237, 40, 41f1oeq123d 6856 . 2 (𝜑 → (𝐹:𝑋1-1-onto→{𝑦𝐶𝜏} ↔ (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}):{𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}–1-1-onto→{𝑦𝐶𝜏}))
434, 42mpbird 257 1 (𝜑𝐹:𝑋1-1-onto→{𝑦𝐶𝜏})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 206  wa 395  w3a 1087   = wceq 1537  [wsb 2064  wcel 2108  {crab 3443  wss 3976  cmpt 5249  cres 5702  1-1-ontowf1o 6572
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-in 3983  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-br 5167  df-opab 5229  df-mpt 5250  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-dm 5710  df-rn 5711  df-res 5712  df-ima 5713  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580
This theorem is referenced by:  clwwlknonclwlknonf1o  30394  dlwwlknondlwlknonf1o  30397
  Copyright terms: Public domain W3C validator