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

Theorem indf1ofs 30418
Description: The bijection between finite subsets and the indicator functions with finite support. (Contributed by Thierry Arnoux, 22-Aug-2017.)
Assertion
Ref Expression
indf1ofs (𝑂𝑉 → ((𝟭‘𝑂) ↾ Fin):(𝒫 𝑂 ∩ Fin)–1-1-onto→{𝑓 ∈ ({0, 1} ↑𝑚 𝑂) ∣ (𝑓 “ {1}) ∈ Fin})
Distinct variable group:   𝑓,𝑂
Allowed substitution hint:   𝑉(𝑓)

Proof of Theorem indf1ofs
Dummy variables 𝑎 𝑔 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 indf1o 30416 . . . 4 (𝑂𝑉 → (𝟭‘𝑂):𝒫 𝑂1-1-onto→({0, 1} ↑𝑚 𝑂))
2 f1of1 6298 . . . 4 ((𝟭‘𝑂):𝒫 𝑂1-1-onto→({0, 1} ↑𝑚 𝑂) → (𝟭‘𝑂):𝒫 𝑂1-1→({0, 1} ↑𝑚 𝑂))
31, 2syl 17 . . 3 (𝑂𝑉 → (𝟭‘𝑂):𝒫 𝑂1-1→({0, 1} ↑𝑚 𝑂))
4 inss1 3976 . . 3 (𝒫 𝑂 ∩ Fin) ⊆ 𝒫 𝑂
5 f1ores 6313 . . 3 (((𝟭‘𝑂):𝒫 𝑂1-1→({0, 1} ↑𝑚 𝑂) ∧ (𝒫 𝑂 ∩ Fin) ⊆ 𝒫 𝑂) → ((𝟭‘𝑂) ↾ (𝒫 𝑂 ∩ Fin)):(𝒫 𝑂 ∩ Fin)–1-1-onto→((𝟭‘𝑂) “ (𝒫 𝑂 ∩ Fin)))
63, 4, 5sylancl 697 . 2 (𝑂𝑉 → ((𝟭‘𝑂) ↾ (𝒫 𝑂 ∩ Fin)):(𝒫 𝑂 ∩ Fin)–1-1-onto→((𝟭‘𝑂) “ (𝒫 𝑂 ∩ Fin)))
7 resres 5567 . . . 4 (((𝟭‘𝑂) ↾ 𝒫 𝑂) ↾ Fin) = ((𝟭‘𝑂) ↾ (𝒫 𝑂 ∩ Fin))
8 f1ofn 6300 . . . . . 6 ((𝟭‘𝑂):𝒫 𝑂1-1-onto→({0, 1} ↑𝑚 𝑂) → (𝟭‘𝑂) Fn 𝒫 𝑂)
9 fnresdm 6161 . . . . . 6 ((𝟭‘𝑂) Fn 𝒫 𝑂 → ((𝟭‘𝑂) ↾ 𝒫 𝑂) = (𝟭‘𝑂))
101, 8, 93syl 18 . . . . 5 (𝑂𝑉 → ((𝟭‘𝑂) ↾ 𝒫 𝑂) = (𝟭‘𝑂))
1110reseq1d 5550 . . . 4 (𝑂𝑉 → (((𝟭‘𝑂) ↾ 𝒫 𝑂) ↾ Fin) = ((𝟭‘𝑂) ↾ Fin))
127, 11syl5eqr 2808 . . 3 (𝑂𝑉 → ((𝟭‘𝑂) ↾ (𝒫 𝑂 ∩ Fin)) = ((𝟭‘𝑂) ↾ Fin))
13 eqidd 2761 . . 3 (𝑂𝑉 → (𝒫 𝑂 ∩ Fin) = (𝒫 𝑂 ∩ Fin))
14 simpll 807 . . . . . . . . . 10 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → 𝑂𝑉)
15 simpr 479 . . . . . . . . . . . . . . 15 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → 𝑎 ∈ (𝒫 𝑂 ∩ Fin))
164, 15sseldi 3742 . . . . . . . . . . . . . 14 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → 𝑎 ∈ 𝒫 𝑂)
1716elpwid 4314 . . . . . . . . . . . . 13 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → 𝑎𝑂)
18 indf 30407 . . . . . . . . . . . . 13 ((𝑂𝑉𝑎𝑂) → ((𝟭‘𝑂)‘𝑎):𝑂⟶{0, 1})
1917, 18syldan 488 . . . . . . . . . . . 12 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → ((𝟭‘𝑂)‘𝑎):𝑂⟶{0, 1})
2019adantr 472 . . . . . . . . . . 11 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → ((𝟭‘𝑂)‘𝑎):𝑂⟶{0, 1})
21 simpr 479 . . . . . . . . . . . 12 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → ((𝟭‘𝑂)‘𝑎) = 𝑔)
2221feq1d 6191 . . . . . . . . . . 11 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → (((𝟭‘𝑂)‘𝑎):𝑂⟶{0, 1} ↔ 𝑔:𝑂⟶{0, 1}))
2320, 22mpbid 222 . . . . . . . . . 10 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → 𝑔:𝑂⟶{0, 1})
24 prex 5058 . . . . . . . . . . . 12 {0, 1} ∈ V
25 elmapg 8038 . . . . . . . . . . . 12 (({0, 1} ∈ V ∧ 𝑂𝑉) → (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ↔ 𝑔:𝑂⟶{0, 1}))
2624, 25mpan 708 . . . . . . . . . . 11 (𝑂𝑉 → (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ↔ 𝑔:𝑂⟶{0, 1}))
2726biimpar 503 . . . . . . . . . 10 ((𝑂𝑉𝑔:𝑂⟶{0, 1}) → 𝑔 ∈ ({0, 1} ↑𝑚 𝑂))
2814, 23, 27syl2anc 696 . . . . . . . . 9 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → 𝑔 ∈ ({0, 1} ↑𝑚 𝑂))
2921cnveqd 5453 . . . . . . . . . . 11 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → ((𝟭‘𝑂)‘𝑎) = 𝑔)
3029imaeq1d 5623 . . . . . . . . . 10 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → (((𝟭‘𝑂)‘𝑎) “ {1}) = (𝑔 “ {1}))
31 indpi1 30412 . . . . . . . . . . . . 13 ((𝑂𝑉𝑎𝑂) → (((𝟭‘𝑂)‘𝑎) “ {1}) = 𝑎)
3217, 31syldan 488 . . . . . . . . . . . 12 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → (((𝟭‘𝑂)‘𝑎) “ {1}) = 𝑎)
33 inss2 3977 . . . . . . . . . . . . 13 (𝒫 𝑂 ∩ Fin) ⊆ Fin
3433, 15sseldi 3742 . . . . . . . . . . . 12 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → 𝑎 ∈ Fin)
3532, 34eqeltrd 2839 . . . . . . . . . . 11 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → (((𝟭‘𝑂)‘𝑎) “ {1}) ∈ Fin)
3635adantr 472 . . . . . . . . . 10 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → (((𝟭‘𝑂)‘𝑎) “ {1}) ∈ Fin)
3730, 36eqeltrrd 2840 . . . . . . . . 9 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → (𝑔 “ {1}) ∈ Fin)
3828, 37jca 555 . . . . . . . 8 (((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) ∧ ((𝟭‘𝑂)‘𝑎) = 𝑔) → (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin))
3938ex 449 . . . . . . 7 ((𝑂𝑉𝑎 ∈ (𝒫 𝑂 ∩ Fin)) → (((𝟭‘𝑂)‘𝑎) = 𝑔 → (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)))
4039rexlimdva 3169 . . . . . 6 (𝑂𝑉 → (∃𝑎 ∈ (𝒫 𝑂 ∩ Fin)((𝟭‘𝑂)‘𝑎) = 𝑔 → (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)))
41 cnvimass 5643 . . . . . . . . . 10 (𝑔 “ {1}) ⊆ dom 𝑔
4226biimpa 502 . . . . . . . . . . . 12 ((𝑂𝑉𝑔 ∈ ({0, 1} ↑𝑚 𝑂)) → 𝑔:𝑂⟶{0, 1})
43 fdm 6212 . . . . . . . . . . . 12 (𝑔:𝑂⟶{0, 1} → dom 𝑔 = 𝑂)
4442, 43syl 17 . . . . . . . . . . 11 ((𝑂𝑉𝑔 ∈ ({0, 1} ↑𝑚 𝑂)) → dom 𝑔 = 𝑂)
4544adantrr 755 . . . . . . . . . 10 ((𝑂𝑉 ∧ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)) → dom 𝑔 = 𝑂)
4641, 45syl5sseq 3794 . . . . . . . . 9 ((𝑂𝑉 ∧ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)) → (𝑔 “ {1}) ⊆ 𝑂)
47 simprr 813 . . . . . . . . 9 ((𝑂𝑉 ∧ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)) → (𝑔 “ {1}) ∈ Fin)
48 elfpw 8435 . . . . . . . . 9 ((𝑔 “ {1}) ∈ (𝒫 𝑂 ∩ Fin) ↔ ((𝑔 “ {1}) ⊆ 𝑂 ∧ (𝑔 “ {1}) ∈ Fin))
4946, 47, 48sylanbrc 701 . . . . . . . 8 ((𝑂𝑉 ∧ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)) → (𝑔 “ {1}) ∈ (𝒫 𝑂 ∩ Fin))
50 indpreima 30417 . . . . . . . . . . 11 ((𝑂𝑉𝑔:𝑂⟶{0, 1}) → 𝑔 = ((𝟭‘𝑂)‘(𝑔 “ {1})))
5150eqcomd 2766 . . . . . . . . . 10 ((𝑂𝑉𝑔:𝑂⟶{0, 1}) → ((𝟭‘𝑂)‘(𝑔 “ {1})) = 𝑔)
5242, 51syldan 488 . . . . . . . . 9 ((𝑂𝑉𝑔 ∈ ({0, 1} ↑𝑚 𝑂)) → ((𝟭‘𝑂)‘(𝑔 “ {1})) = 𝑔)
5352adantrr 755 . . . . . . . 8 ((𝑂𝑉 ∧ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)) → ((𝟭‘𝑂)‘(𝑔 “ {1})) = 𝑔)
54 fveq2 6353 . . . . . . . . . 10 (𝑎 = (𝑔 “ {1}) → ((𝟭‘𝑂)‘𝑎) = ((𝟭‘𝑂)‘(𝑔 “ {1})))
5554eqeq1d 2762 . . . . . . . . 9 (𝑎 = (𝑔 “ {1}) → (((𝟭‘𝑂)‘𝑎) = 𝑔 ↔ ((𝟭‘𝑂)‘(𝑔 “ {1})) = 𝑔))
5655rspcev 3449 . . . . . . . 8 (((𝑔 “ {1}) ∈ (𝒫 𝑂 ∩ Fin) ∧ ((𝟭‘𝑂)‘(𝑔 “ {1})) = 𝑔) → ∃𝑎 ∈ (𝒫 𝑂 ∩ Fin)((𝟭‘𝑂)‘𝑎) = 𝑔)
5749, 53, 56syl2anc 696 . . . . . . 7 ((𝑂𝑉 ∧ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)) → ∃𝑎 ∈ (𝒫 𝑂 ∩ Fin)((𝟭‘𝑂)‘𝑎) = 𝑔)
5857ex 449 . . . . . 6 (𝑂𝑉 → ((𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin) → ∃𝑎 ∈ (𝒫 𝑂 ∩ Fin)((𝟭‘𝑂)‘𝑎) = 𝑔))
5940, 58impbid 202 . . . . 5 (𝑂𝑉 → (∃𝑎 ∈ (𝒫 𝑂 ∩ Fin)((𝟭‘𝑂)‘𝑎) = 𝑔 ↔ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)))
601, 8syl 17 . . . . . 6 (𝑂𝑉 → (𝟭‘𝑂) Fn 𝒫 𝑂)
61 fvelimab 6416 . . . . . 6 (((𝟭‘𝑂) Fn 𝒫 𝑂 ∧ (𝒫 𝑂 ∩ Fin) ⊆ 𝒫 𝑂) → (𝑔 ∈ ((𝟭‘𝑂) “ (𝒫 𝑂 ∩ Fin)) ↔ ∃𝑎 ∈ (𝒫 𝑂 ∩ Fin)((𝟭‘𝑂)‘𝑎) = 𝑔))
6260, 4, 61sylancl 697 . . . . 5 (𝑂𝑉 → (𝑔 ∈ ((𝟭‘𝑂) “ (𝒫 𝑂 ∩ Fin)) ↔ ∃𝑎 ∈ (𝒫 𝑂 ∩ Fin)((𝟭‘𝑂)‘𝑎) = 𝑔))
63 cnveq 5451 . . . . . . . . 9 (𝑓 = 𝑔𝑓 = 𝑔)
6463imaeq1d 5623 . . . . . . . 8 (𝑓 = 𝑔 → (𝑓 “ {1}) = (𝑔 “ {1}))
6564eleq1d 2824 . . . . . . 7 (𝑓 = 𝑔 → ((𝑓 “ {1}) ∈ Fin ↔ (𝑔 “ {1}) ∈ Fin))
6665elrab 3504 . . . . . 6 (𝑔 ∈ {𝑓 ∈ ({0, 1} ↑𝑚 𝑂) ∣ (𝑓 “ {1}) ∈ Fin} ↔ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin))
6766a1i 11 . . . . 5 (𝑂𝑉 → (𝑔 ∈ {𝑓 ∈ ({0, 1} ↑𝑚 𝑂) ∣ (𝑓 “ {1}) ∈ Fin} ↔ (𝑔 ∈ ({0, 1} ↑𝑚 𝑂) ∧ (𝑔 “ {1}) ∈ Fin)))
6859, 62, 673bitr4d 300 . . . 4 (𝑂𝑉 → (𝑔 ∈ ((𝟭‘𝑂) “ (𝒫 𝑂 ∩ Fin)) ↔ 𝑔 ∈ {𝑓 ∈ ({0, 1} ↑𝑚 𝑂) ∣ (𝑓 “ {1}) ∈ Fin}))
6968eqrdv 2758 . . 3 (𝑂𝑉 → ((𝟭‘𝑂) “ (𝒫 𝑂 ∩ Fin)) = {𝑓 ∈ ({0, 1} ↑𝑚 𝑂) ∣ (𝑓 “ {1}) ∈ Fin})
7012, 13, 69f1oeq123d 6295 . 2 (𝑂𝑉 → (((𝟭‘𝑂) ↾ (𝒫 𝑂 ∩ Fin)):(𝒫 𝑂 ∩ Fin)–1-1-onto→((𝟭‘𝑂) “ (𝒫 𝑂 ∩ Fin)) ↔ ((𝟭‘𝑂) ↾ Fin):(𝒫 𝑂 ∩ Fin)–1-1-onto→{𝑓 ∈ ({0, 1} ↑𝑚 𝑂) ∣ (𝑓 “ {1}) ∈ Fin}))
716, 70mpbid 222 1 (𝑂𝑉 → ((𝟭‘𝑂) ↾ Fin):(𝒫 𝑂 ∩ Fin)–1-1-onto→{𝑓 ∈ ({0, 1} ↑𝑚 𝑂) ∣ (𝑓 “ {1}) ∈ Fin})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 383   = wceq 1632  wcel 2139  wrex 3051  {crab 3054  Vcvv 3340  cin 3714  wss 3715  𝒫 cpw 4302  {csn 4321  {cpr 4323  ccnv 5265  dom cdm 5266  cres 5268  cima 5269   Fn wfn 6044  wf 6045  1-1wf1 6046  1-1-ontowf1o 6048  cfv 6049  (class class class)co 6814  𝑚 cmap 8025  Fincfn 8123  0cc0 10148  1c1 10149  𝟭cind 30402
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1871  ax-4 1886  ax-5 1988  ax-6 2054  ax-7 2090  ax-8 2141  ax-9 2148  ax-10 2168  ax-11 2183  ax-12 2196  ax-13 2391  ax-ext 2740  ax-rep 4923  ax-sep 4933  ax-nul 4941  ax-pow 4992  ax-pr 5055  ax-un 7115  ax-1cn 10206  ax-icn 10207  ax-addcl 10208  ax-addrcl 10209  ax-mulcl 10210  ax-mulrcl 10211  ax-i2m1 10216  ax-1ne0 10217  ax-rnegex 10219  ax-rrecex 10220  ax-cnre 10221
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1074  df-tru 1635  df-ex 1854  df-nf 1859  df-sb 2047  df-eu 2611  df-mo 2612  df-clab 2747  df-cleq 2753  df-clel 2756  df-nfc 2891  df-ne 2933  df-ral 3055  df-rex 3056  df-reu 3057  df-rab 3059  df-v 3342  df-sbc 3577  df-csb 3675  df-dif 3718  df-un 3720  df-in 3722  df-ss 3729  df-nul 4059  df-if 4231  df-pw 4304  df-sn 4322  df-pr 4324  df-op 4328  df-uni 4589  df-iun 4674  df-br 4805  df-opab 4865  df-mpt 4882  df-id 5174  df-xp 5272  df-rel 5273  df-cnv 5274  df-co 5275  df-dm 5276  df-rn 5277  df-res 5278  df-ima 5279  df-iota 6012  df-fun 6051  df-fn 6052  df-f 6053  df-f1 6054  df-fo 6055  df-f1o 6056  df-fv 6057  df-ov 6817  df-oprab 6818  df-mpt2 6819  df-map 8027  df-ind 30403
This theorem is referenced by:  eulerpartgbij  30764
  Copyright terms: Public domain W3C validator