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 29352
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 𝑀 = (𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))})
fpwrelmapffs.1 𝑆 = {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑𝑚 𝐴) ∣ (𝑓 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 𝑀 = (𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ↦ {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))})
2 fpwrelmap.1 . . . . . 6 𝐴 ∈ V
3 fpwrelmap.2 . . . . . 6 𝐵 ∈ V
42, 3, 1fpwrelmap 29351 . . . . 5 𝑀:(𝒫 𝐵𝑚 𝐴)–1-1-onto→𝒫 (𝐴 × 𝐵)
54a1i 11 . . . 4 (⊤ → 𝑀:(𝒫 𝐵𝑚 𝐴)–1-1-onto→𝒫 (𝐴 × 𝐵))
6 simpl 473 . . . . . . 7 ((𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → 𝑓 ∈ (𝒫 𝐵𝑚 𝐴))
73pwex 4808 . . . . . . . 8 𝒫 𝐵 ∈ V
87, 2elmap 7830 . . . . . . 7 (𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ↔ 𝑓:𝐴⟶𝒫 𝐵)
96, 8sylib 208 . . . . . 6 ((𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → 𝑓:𝐴⟶𝒫 𝐵)
10 simpr 477 . . . . . 6 ((𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))})
112, 3, 9, 10fpwrelmapffslem 29350 . . . . 5 ((𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → (𝑟 ∈ Fin ↔ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)))
12113adant1 1077 . . . 4 ((⊤ ∧ 𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∧ 𝑟 = {⟨𝑥, 𝑦⟩ ∣ (𝑥𝐴𝑦 ∈ (𝑓𝑥))}) → (𝑟 ∈ Fin ↔ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)))
131, 5, 12f1oresrab 6350 . . 3 (⊤ → (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin})
1413trud 1490 . 2 (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}
15 fpwrelmapffs.1 . . . . 5 𝑆 = {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑𝑚 𝐴) ∣ (𝑓 supp ∅) ∈ Fin}
162, 7maprnin 29349 . . . . . 6 ((𝒫 𝐵 ∩ Fin) ↑𝑚 𝐴) = {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ ran 𝑓 ⊆ Fin}
17 nfcv 2761 . . . . . . 7 𝑓((𝒫 𝐵 ∩ Fin) ↑𝑚 𝐴)
18 nfrab1 3111 . . . . . . 7 𝑓{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ ran 𝑓 ⊆ Fin}
1917, 18rabeqf 3178 . . . . . 6 (((𝒫 𝐵 ∩ Fin) ↑𝑚 𝐴) = {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ ran 𝑓 ⊆ Fin} → {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑𝑚 𝐴) ∣ (𝑓 supp ∅) ∈ Fin} = {𝑓 ∈ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ ran 𝑓 ⊆ Fin} ∣ (𝑓 supp ∅) ∈ Fin})
2016, 19ax-mp 5 . . . . 5 {𝑓 ∈ ((𝒫 𝐵 ∩ Fin) ↑𝑚 𝐴) ∣ (𝑓 supp ∅) ∈ Fin} = {𝑓 ∈ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ ran 𝑓 ⊆ Fin} ∣ (𝑓 supp ∅) ∈ Fin}
21 rabrab 29187 . . . . 5 {𝑓 ∈ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ ran 𝑓 ⊆ Fin} ∣ (𝑓 supp ∅) ∈ Fin} = {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}
2215, 20, 213eqtri 2647 . . . 4 𝑆 = {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}
23 dfin5 3563 . . . 4 (𝒫 (𝐴 × 𝐵) ∩ Fin) = {𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}
24 f1oeq23 6087 . . . 4 ((𝑆 = {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)} ∧ (𝒫 (𝐴 × 𝐵) ∩ Fin) = {𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}) → ((𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin) ↔ (𝑀𝑆):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}))
2522, 23, 24mp2an 707 . . 3 ((𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin) ↔ (𝑀𝑆):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin})
2622reseq2i 5353 . . . 4 (𝑀𝑆) = (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)})
27 f1oeq1 6084 . . . 4 ((𝑀𝑆) = (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}) → ((𝑀𝑆):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin} ↔ (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin}))
2826, 27ax-mp 5 . . 3 ((𝑀𝑆):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin} ↔ (𝑀 ↾ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin})
2925, 28bitr2i 265 . 2 ((𝑀 ↾ {𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}):{𝑓 ∈ (𝒫 𝐵𝑚 𝐴) ∣ (ran 𝑓 ⊆ Fin ∧ (𝑓 supp ∅) ∈ Fin)}–1-1-onto→{𝑟 ∈ 𝒫 (𝐴 × 𝐵) ∣ 𝑟 ∈ Fin} ↔ (𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin))
3014, 29mpbi 220 1 (𝑀𝑆):𝑆1-1-onto→(𝒫 (𝐴 × 𝐵) ∩ Fin)
Colors of variables: wff setvar class
Syntax hints:  wb 196  wa 384   = wceq 1480  wtru 1481  wcel 1987  {crab 2911  Vcvv 3186  cin 3554  wss 3555  c0 3891  𝒫 cpw 4130  {copab 4672  cmpt 4673   × cxp 5072  ran crn 5075  cres 5076  wf 5843  1-1-ontowf1o 5846  cfv 5847  (class class class)co 6604   supp csupp 7240  𝑚 cmap 7802  Fincfn 7899
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-rep 4731  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902  ax-ac2 9229
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-reu 2914  df-rmo 2915  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-pss 3571  df-nul 3892  df-if 4059  df-pw 4132  df-sn 4149  df-pr 4151  df-tp 4153  df-op 4155  df-uni 4403  df-int 4441  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-tr 4713  df-eprel 4985  df-id 4989  df-po 4995  df-so 4996  df-fr 5033  df-se 5034  df-we 5035  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-pred 5639  df-ord 5685  df-on 5686  df-lim 5687  df-suc 5688  df-iota 5810  df-fun 5849  df-fn 5850  df-f 5851  df-f1 5852  df-fo 5853  df-f1o 5854  df-fv 5855  df-isom 5856  df-riota 6565  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-om 7013  df-1st 7113  df-2nd 7114  df-supp 7241  df-wrecs 7352  df-recs 7413  df-rdg 7451  df-1o 7505  df-oadd 7509  df-er 7687  df-map 7804  df-en 7900  df-dom 7901  df-fin 7903  df-card 8709  df-acn 8712  df-ac 8883
This theorem is referenced by:  eulerpartlem1  30210
  Copyright terms: Public domain W3C validator