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

Theorem f1oresrab 7178
Description: Build a bijection between restricted abstract builders, given a bijection between the base classes, deduction version. (Contributed by Thierry Arnoux, 17-Aug-2018.)
Hypotheses
Ref Expression
f1oresrab.1 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐶)
f1oresrab.2 (𝜑 → 𝐹:𝐴⟶1-1onto𝐵)
f1oresrab.3 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → (𝜒 ↔ 𝜓))
Assertion
Ref Expression
f1oresrab (𝜑 → (𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒})
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐵,𝑦   𝑦,𝐶   𝜑,𝑥,𝑦   𝜓,𝑦   𝜒,𝑥
Allowed substitution hints:   𝜓(𝑥)   𝜒(𝑦)   𝐶(𝑥)   𝐹(𝑥, 𝑦)

Proof of Theorem f1oresrab
StepHypRef Expression
1 f1oresrab.2 . . . 4 (𝜑 → 𝐹:𝐴⟶1-1onto𝐵)
2 f1ofun 6874 . . . 4 (𝐹:𝐴⟶1-1onto𝐵 → Fun 𝐹)
3 funcnvcnv 6653 . . . 4 (Fun 𝐹 → Fun ◡◡𝐹)
41, 2, 33syl 19 . . 3 (𝜑 → Fun ◡◡𝐹)
5 f1ocnv 6885 . . . . . 6 (𝐹:𝐴⟶1-1onto𝐵 → ◡𝐹:𝐵⟶1-1onto𝐴)
6 f1of1 6871 . . . . . 6 (◡𝐹:𝐵⟶1-1onto𝐴 → ◡𝐹:𝐵⟶1-1𝐴)
71, 5, 63syl 19 . . . . 5 (𝜑 → ◡𝐹:𝐵⟶1-1𝐴)
8 ssrab2 4015 . . . . 5 {𝑦 ∈ 𝐵 ∣ 𝜒} ⊆ 𝐵
9 f1ores 6887 . . . . 5 ((◡𝐹:𝐵⟶1-1𝐴 ∧ {𝑦 ∈ 𝐵 ∣ 𝜒} ⊆ 𝐵) → (◡𝐹 ↾ {𝑦 ∈ 𝐵 ∣ 𝜒}):{𝑦 ∈ 𝐵 ∣ 𝜒}⟶1-1onto(◡𝐹 “ {𝑦 ∈ 𝐵 ∣ 𝜒}))
107, 8, 9sylancl 598 . . . 4 (𝜑 → (◡𝐹 ↾ {𝑦 ∈ 𝐵 ∣ 𝜒}):{𝑦 ∈ 𝐵 ∣ 𝜒}⟶1-1onto(◡𝐹 “ {𝑦 ∈ 𝐵 ∣ 𝜒}))
11 f1oresrab.1 . . . . . . 7 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐶)
1211mptpreima 6271 . . . . . 6 (◡𝐹 “ {𝑦 ∈ 𝐵 ∣ 𝜒}) = {𝑥 ∈ 𝐴 ∣ 𝐶 ∈ {𝑦 ∈ 𝐵 ∣ 𝜒}}
13 f1oresrab.3 . . . . . . . . . 10 ((𝜑 ∧ 𝑥 ∈ 𝐴 ∧ 𝑦 = 𝐶) → (𝜒 ↔ 𝜓))
14133expia 1140 . . . . . . . . 9 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝑦 = 𝐶 → (𝜒 ↔ 𝜓)))
1514alrimiv 1969 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐴) → ∀𝑦(𝑦 = 𝐶 → (𝜒 ↔ 𝜓)))
16 f1of 6872 . . . . . . . . . . 11 (𝐹:𝐴⟶1-1onto𝐵 → 𝐹:𝐴⟶𝐵)
171, 16syl 18 . . . . . . . . . 10 (𝜑 → 𝐹:𝐴⟶𝐵)
1811fmpt 7160 . . . . . . . . . 10 (∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵 ↔ 𝐹:𝐴⟶𝐵)
1917, 18sylibr 237 . . . . . . . . 9 (𝜑 → ∀𝑥 ∈ 𝐴 𝐶 ∈ 𝐵)
2019r19.21bi 3266 . . . . . . . 8 ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐶 ∈ 𝐵)
21 elrab3t 3654 . . . . . . . 8 ((∀𝑦(𝑦 = 𝐶 → (𝜒 ↔ 𝜓)) ∧ 𝐶 ∈ 𝐵) → (𝐶 ∈ {𝑦 ∈ 𝐵 ∣ 𝜒} ↔ 𝜓))
2215, 20, 21syl2anc 596 . . . . . . 7 ((𝜑 ∧ 𝑥 ∈ 𝐴) → (𝐶 ∈ {𝑦 ∈ 𝐵 ∣ 𝜒} ↔ 𝜓))
2322rabbidva 3429 . . . . . 6 (𝜑 → {𝑥 ∈ 𝐴 ∣ 𝐶 ∈ {𝑦 ∈ 𝐵 ∣ 𝜒}} = {𝑥 ∈ 𝐴 ∣ 𝜓})
2412, 23eqtrid 2821 . . . . 5 (𝜑 → (◡𝐹 “ {𝑦 ∈ 𝐵 ∣ 𝜒}) = {𝑥 ∈ 𝐴 ∣ 𝜓})
2524f1oeq3d 6869 . . . 4 (𝜑 → ((◡𝐹 ↾ {𝑦 ∈ 𝐵 ∣ 𝜒}):{𝑦 ∈ 𝐵 ∣ 𝜒}⟶1-1onto(◡𝐹 “ {𝑦 ∈ 𝐵 ∣ 𝜒}) ↔ (◡𝐹 ↾ {𝑦 ∈ 𝐵 ∣ 𝜒}):{𝑦 ∈ 𝐵 ∣ 𝜒}⟶1-1onto{𝑥 ∈ 𝐴 ∣ 𝜓}))
2610, 25mpbid 235 . . 3 (𝜑 → (◡𝐹 ↾ {𝑦 ∈ 𝐵 ∣ 𝜒}):{𝑦 ∈ 𝐵 ∣ 𝜒}⟶1-1onto{𝑥 ∈ 𝐴 ∣ 𝜓})
27 f1orescnv 6888 . . 3 ((Fun ◡◡𝐹 ∧ (◡𝐹 ↾ {𝑦 ∈ 𝐵 ∣ 𝜒}):{𝑦 ∈ 𝐵 ∣ 𝜒}⟶1-1onto{𝑥 ∈ 𝐴 ∣ 𝜓}) → (◡◡𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒})
284, 26, 27syl2anc 596 . 2 (𝜑 → (◡◡𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒})
29 rescnvcnv 6234 . . 3 (◡◡𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}) = (𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓})
30 f1oeq1 6860 . . 3 ((◡◡𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}) = (𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}) → ((◡◡𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒} ↔ (𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒}))
3129, 30ax-mp 5 . 2 ((◡◡𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒} ↔ (𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒})
3228, 31sylib 221 1 (𝜑 → (𝐹 ↾ {𝑥 ∈ 𝐴 ∣ 𝜓}):{𝑥 ∈ 𝐴 ∣ 𝜓}⟶1-1onto{𝑦 ∈ 𝐵 ∣ 𝜒})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1104  ∀wal 1570   = wceq 1572   ∈ wcel 2156  ∀wral 3091  {crab 3423   ⊆ wss 3907   ↦ cmpt 5200  ◡ccnv 5665   ↾ cres 5668   “ cima 5669  Fun wfun 6573  ⟶wf 6575  ⟶1-1wf1 6576  ⟶1-1ontowf1o 6578
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ral 3092  df-rex 3102  df-rab 3424  df-v 3463  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849  df-br 5117  df-opab 5182  df-mpt 5201  df-id 5561  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586
This theorem is used by:  f1ossf1o  7179  wlknwwlksnbij  30644  wlksnwwlknvbij  30664  clwlknf1oclwwlkn  30842  clwwlkvbij  30871  rabfodom  33343  fpwrelmapffs  33564  eulerpartlemn  35218  f1oresf1orab  48798
  Copyright terms: Public domain W3C validator