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

Theorem f1ossf1o 6921
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 6920 . 2 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}):{𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}–1-1-onto→{𝑦𝐶𝜏})
5 simpl 486 . . . . . . . . 9 ((𝜓𝜒) → 𝜓)
65a1i 11 . . . . . . . 8 (𝑤𝐴 → ((𝜓𝜒) → 𝜓))
76ss2rabi 3976 . . . . . . 7 {𝑤𝐴 ∣ (𝜓𝜒)} ⊆ {𝑤𝐴𝜓}
8 f1ossf1o.x . . . . . . 7 𝑋 = {𝑤𝐴 ∣ (𝜓𝜒)}
9 f1ossf1o.y . . . . . . 7 𝑌 = {𝑤𝐴𝜓}
107, 8, 93sstr4i 3930 . . . . . 6 𝑋𝑌
1110a1i 11 . . . . 5 (𝜑𝑋𝑌)
1211resmptd 5893 . . . 4 (𝜑 → ((𝑥𝑌𝐵) ↾ 𝑋) = (𝑥𝑋𝐵))
131a1i 11 . . . . 5 (𝜑𝐺 = (𝑥𝑌𝐵))
149rabeqi 3382 . . . . . . 7 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒}
15 nfcv 2897 . . . . . . . . . . 11 𝑤𝑥
16 nfcv 2897 . . . . . . . . . . 11 𝑤𝐴
17 nfs1v 2159 . . . . . . . . . . 11 𝑤[𝑥 / 𝑤]𝜓
18 sbequ12 2251 . . . . . . . . . . 11 (𝑤 = 𝑥 → (𝜓 ↔ [𝑥 / 𝑤]𝜓))
1915, 16, 17, 18elrabf 3587 . . . . . . . . . 10 (𝑥 ∈ {𝑤𝐴𝜓} ↔ (𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓))
2019anbi1i 627 . . . . . . . . 9 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ ((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒))
21 anass 472 . . . . . . . . 9 (((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2220, 21bitri 278 . . . . . . . 8 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2322rabbia2 3377 . . . . . . 7 {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
24 nfcv 2897 . . . . . . . . 9 𝑥𝐴
25 nfv 1922 . . . . . . . . 9 𝑥(𝜓𝜒)
26 nfs1v 2159 . . . . . . . . . 10 𝑤[𝑥 / 𝑤]𝜒
2717, 26nfan 1907 . . . . . . . . 9 𝑤([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)
28 sbequ12 2251 . . . . . . . . . 10 (𝑤 = 𝑥 → (𝜒 ↔ [𝑥 / 𝑤]𝜒))
2918, 28anbi12d 634 . . . . . . . . 9 (𝑤 = 𝑥 → ((𝜓𝜒) ↔ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
3016, 24, 25, 27, 29cbvrabw 3390 . . . . . . . 8 {𝑤𝐴 ∣ (𝜓𝜒)} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
318, 30eqtr2i 2760 . . . . . . 7 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = 𝑋
3214, 23, 313eqtri 2763 . . . . . 6 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋
3332a1i 11 . . . . 5 (𝜑 → {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋)
3413, 33reseq12d 5837 . . . 4 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}) = ((𝑥𝑌𝐵) ↾ 𝑋))
35 f1ossf1o.f . . . . 5 𝐹 = (𝑥𝑋𝐵)
3635a1i 11 . . . 4 (𝜑𝐹 = (𝑥𝑋𝐵))
3712, 34, 363eqtr4rd 2782 . . 3 (𝜑𝐹 = (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}))
3814, 23eqtr2i 2760 . . . . 5 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
398, 30, 383eqtri 2763 . . . 4 𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
4039a1i 11 . . 3 (𝜑𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒})
41 eqidd 2737 . . 3 (𝜑 → {𝑦𝐶𝜏} = {𝑦𝐶𝜏})
4237, 40, 41f1oeq123d 6633 . 2 (𝜑 → (𝐹:𝑋1-1-onto→{𝑦𝐶𝜏} ↔ (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}):{𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}–1-1-onto→{𝑦𝐶𝜏}))
434, 42mpbird 260 1 (𝜑𝐹:𝑋1-1-onto→{𝑦𝐶𝜏})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  [wsb 2072  wcel 2112  {crab 3055  wss 3853  cmpt 5120  cres 5538  1-1-ontowf1o 6357
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365
This theorem is referenced by:  clwwlknonclwlknonf1o  28399  dlwwlknondlwlknonf1o  28402
  Copyright terms: Public domain W3C validator