Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  fpwrelmapffs Structured version   Visualization version   GIF version

Theorem fpwrelmapffs 31069
Description: Define a canonical mapping between finite relations (finite subsets of a cartesian product) and functions with finite support into finite subsets. (Contributed by Thierry Arnoux, 28-Aug-2017.) (Revised by Thierry Arnoux, 1-Sep-2019.)
Hypotheses
Ref Expression
fpwrelmap.1 𝐴 ∈ V
fpwrelmap.2 𝐵 ∈ V
fpwrelmap.3 𝑀 = (𝑓 ∈ (𝒫 𝐵m 𝐴) ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))})
fpwrelmapffs.1 𝑆 = {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑m 𝐴) ∣ (𝑓 supp ∅) ∈ Fin}
Assertion
Ref Expression
fpwrelmapffs (𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin)
Distinct variable groups:   𝑥,𝑓,𝑦,𝐴   𝐵,𝑓,𝑥,𝑦
Allowed substitution hints:   𝑆(𝑥,𝑦,𝑓)   𝑀(𝑥,𝑦,𝑓)

Proof of Theorem fpwrelmapffs
Dummy variable 𝑟 is distinct from all other variables.
StepHypRef Expression
1 fpwrelmap.3 . . . 4 𝑀 = (𝑓 ∈ (𝒫 𝐵m 𝐴) ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))})
2 fpwrelmap.1 . . . . . 6 𝐴 ∈ V
3 fpwrelmap.2 . . . . . 6 𝐵 ∈ V
42, 3, 1fpwrelmap 31068 . . . . 5 𝑀:(𝒫 𝐵m 𝐴)–1-1-onto→𝒫 (𝐴 × 𝐵)
54a1i 11 . . . 4 (⊤ → 𝑀:(𝒫 𝐵m 𝐴)–1-1-onto→𝒫 (𝐴 × 𝐵))
6 simpl 483 . . . . . . 7 ((𝑓 ∈ (𝒫 𝐵m 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → 𝑓 ∈ (𝒫 𝐵m 𝐴))
73pwex 5303 . . . . . . . 8 𝒫 𝐵 ∈ V
87, 2elmap 8659 . . . . . . 7 (𝑓 ∈ (𝒫 𝐵m 𝐴) ↔ 𝑓:𝐴⟶𝒫 𝐵)
96, 8sylib 217 . . . . . 6 ((𝑓 ∈ (𝒫 𝐵m 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → 𝑓:𝐴⟶𝒫 𝐵)
10 simpr 485 . . . . . 6 ((𝑓 ∈ (𝒫 𝐵m 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))})
112, 3, 9, 10fpwrelmapffslem 31067 . . . . 5 ((𝑓 ∈ (𝒫 𝐵m 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → (𝑟 ∈ Fin ↔ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)))
12113adant1 1129 . . . 4 ((⊤ ∧ 𝑓 ∈ (𝒫 𝐵m 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → (𝑟 ∈ Fin ↔ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)))
131, 5, 12f1oresrab 6999 . . 3 (⊤ → (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin})
1413mptru 1546 . 2 (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}
15 fpwrelmapffs.1 . . . . 5 𝑆 = {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑m 𝐴) ∣ (𝑓 supp ∅) ∈ Fin}
162, 7maprnin 31066 . . . . . 6 ((𝒫 𝐵 ∩ Fin) ↑m 𝐴) = {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ ran 𝑓 ⊆ Fin}
17 nfcv 2907 . . . . . . 7 𝑓((𝒫 𝐵 ∩ Fin) ↑m 𝐴)
18 nfrab1 3317 . . . . . . 7 𝑓{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ ran 𝑓 ⊆ Fin}
1917, 18rabeqf 3415 . . . . . 6 (((𝒫 𝐵 ∩ Fin) ↑m 𝐴) = {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ ran 𝑓 ⊆ Fin} → {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑m 𝐴) ∣ (𝑓 supp ∅) ∈ Fin} = {𝑓 ∈ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ ran 𝑓 ⊆ Fin} ∣ (𝑓 supp ∅) ∈ Fin})
2016, 19ax-mp 5 . . . . 5 {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑m 𝐴) ∣ (𝑓 supp ∅) ∈ Fin} = {𝑓 ∈ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ ran 𝑓 ⊆ Fin} ∣ (𝑓 supp ∅) ∈ Fin}
21 rabrab 3311 . . . . 5 {𝑓 ∈ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ ran 𝑓 ⊆ Fin} ∣ (𝑓 supp ∅) ∈ Fin} = {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}
2215, 20, 213eqtri 2770 . . . 4 𝑆 = {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}
23 dfin5 3895 . . . 4 (𝒫 (𝐴 × 𝐵) ∩ Fin) = {𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}
24 f1oeq23 6707 . . . 4 ((𝑆 = {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)} ∧ (𝒫 (𝐴 × 𝐵) ∩ Fin) = {𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}) → ((𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin) ↔ (𝑀𝑆):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}))
2522, 23, 24mp2an 689 . . 3 ((𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin) ↔ (𝑀𝑆):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin})
2622reseq2i 5888 . . . 4 (𝑀𝑆) = (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)})
27 f1oeq1 6704 . . . 4 ((𝑀𝑆) = (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}) → ((𝑀𝑆):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin} ↔ (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}))
2826, 27ax-mp 5 . . 3 ((𝑀𝑆):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin} ↔ (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin})
2925, 28bitr2i 275 . 2 ((𝑀 ↾ {𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵m 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin} ↔ (𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin))
3014, 29mpbi 229 1 (𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin)
Colors of variables: wff setvar class
Syntax hints:  wb 205  wa 396   = wceq 1539  wtru 1540  wcel 2106  {crab 3068  Vcvv 3432  cin 3886  wss 3887  c0 4256  𝒫 cpw 4533  {copab 5136  cmpt 5157   × cxp 5587  ran crn 5590  cres 5591  wf 6429  1-1-ontowf1o 6432  cfv 6433  (class class class)co 7275   supp csupp 7977  m cmap 8615  Fincfn 8733
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588  ax-ac2 10219
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-oprab 7279  df-mpo 7280  df-om 7713  df-1st 7831  df-2nd 7832  df-supp 7978  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-1o 8297  df-er 8498  df-map 8617  df-en 8734  df-dom 8735  df-fin 8737  df-card 9697  df-acn 9700  df-ac 9872
This theorem is referenced by:  eulerpartlem1  32334
  Copyright terms: Public domain W3C validator