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

Theorem f1ossf1o 7118
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 7117 . 2 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}):{𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}–1-1-onto→{𝑦𝐶𝜏})
5 simpl 482 . . . . . . . . 9 ((𝜓𝜒) → 𝜓)
65a1i 11 . . . . . . . 8 (𝑤𝐴 → ((𝜓𝜒) → 𝜓))
76ss2rabi 4052 . . . . . . 7 {𝑤𝐴 ∣ (𝜓𝜒)} ⊆ {𝑤𝐴𝜓}
8 f1ossf1o.x . . . . . . 7 𝑋 = {𝑤𝐴 ∣ (𝜓𝜒)}
9 f1ossf1o.y . . . . . . 7 𝑌 = {𝑤𝐴𝜓}
107, 8, 93sstr4i 4010 . . . . . 6 𝑋𝑌
1110a1i 11 . . . . 5 (𝜑𝑋𝑌)
1211resmptd 6027 . . . 4 (𝜑 → ((𝑥𝑌𝐵) ↾ 𝑋) = (𝑥𝑋𝐵))
131a1i 11 . . . . 5 (𝜑𝐺 = (𝑥𝑌𝐵))
149rabeqi 3429 . . . . . . 7 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒}
15 nfcv 2898 . . . . . . . . . . 11 𝑤𝑥
16 nfcv 2898 . . . . . . . . . . 11 𝑤𝐴
17 nfs1v 2156 . . . . . . . . . . 11 𝑤[𝑥 / 𝑤]𝜓
18 sbequ12 2251 . . . . . . . . . . 11 (𝑤 = 𝑥 → (𝜓 ↔ [𝑥 / 𝑤]𝜓))
1915, 16, 17, 18elrabf 3667 . . . . . . . . . 10 (𝑥 ∈ {𝑤𝐴𝜓} ↔ (𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓))
2019anbi1i 624 . . . . . . . . 9 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ ((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒))
21 anass 468 . . . . . . . . 9 (((𝑥𝐴 ∧ [𝑥 / 𝑤]𝜓) ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2220, 21bitri 275 . . . . . . . 8 ((𝑥 ∈ {𝑤𝐴𝜓} ∧ [𝑥 / 𝑤]𝜒) ↔ (𝑥𝐴 ∧ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
2322rabbia2 3418 . . . . . . 7 {𝑥 ∈ {𝑤𝐴𝜓} ∣ [𝑥 / 𝑤]𝜒} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
24 nfcv 2898 . . . . . . . . 9 𝑥𝐴
25 nfv 1914 . . . . . . . . 9 𝑥(𝜓𝜒)
26 nfs1v 2156 . . . . . . . . . 10 𝑤[𝑥 / 𝑤]𝜒
2717, 26nfan 1899 . . . . . . . . 9 𝑤([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)
28 sbequ12 2251 . . . . . . . . . 10 (𝑤 = 𝑥 → (𝜒 ↔ [𝑥 / 𝑤]𝜒))
2918, 28anbi12d 632 . . . . . . . . 9 (𝑤 = 𝑥 → ((𝜓𝜒) ↔ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)))
3016, 24, 25, 27, 29cbvrabw 3452 . . . . . . . 8 {𝑤𝐴 ∣ (𝜓𝜒)} = {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)}
318, 30eqtr2i 2759 . . . . . . 7 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = 𝑋
3214, 23, 313eqtri 2762 . . . . . 6 {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋
3332a1i 11 . . . . 5 (𝜑 → {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒} = 𝑋)
3413, 33reseq12d 5967 . . . 4 (𝜑 → (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}) = ((𝑥𝑌𝐵) ↾ 𝑋))
35 f1ossf1o.f . . . . 5 𝐹 = (𝑥𝑋𝐵)
3635a1i 11 . . . 4 (𝜑𝐹 = (𝑥𝑋𝐵))
3712, 34, 363eqtr4rd 2781 . . 3 (𝜑𝐹 = (𝐺 ↾ {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}))
3814, 23eqtr2i 2759 . . . . 5 {𝑥𝐴 ∣ ([𝑥 / 𝑤]𝜓 ∧ [𝑥 / 𝑤]𝜒)} = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
398, 30, 383eqtri 2762 . . . 4 𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒}
4039a1i 11 . . 3 (𝜑𝑋 = {𝑥𝑌 ∣ [𝑥 / 𝑤]𝜒})
41 eqidd 2736 . . 3 (𝜑 → {𝑦𝐶𝜏} = {𝑦𝐶𝜏})
4237, 40, 41f1oeq123d 6812 . 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 1086   = wceq 1540  [wsb 2064  wcel 2108  {crab 3415  wss 3926  cmpt 5201  cres 5656  1-1-ontowf1o 6530
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2157  ax-12 2177  ax-ext 2707  ax-sep 5266  ax-nul 5276  ax-pr 5402
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1780  df-nf 1784  df-sb 2065  df-mo 2539  df-eu 2568  df-clab 2714  df-cleq 2727  df-clel 2809  df-nfc 2885  df-ral 3052  df-rex 3061  df-rab 3416  df-v 3461  df-dif 3929  df-un 3931  df-in 3933  df-ss 3943  df-nul 4309  df-if 4501  df-sn 4602  df-pr 4604  df-op 4608  df-br 5120  df-opab 5182  df-mpt 5202  df-id 5548  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538
This theorem is referenced by:  clwwlknonclwlknonf1o  30343  dlwwlknondlwlknonf1o  30346
  Copyright terms: Public domain W3C validator