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

Theorem ffsrn 30639
Description: The range of a finitely supported function is finite. (Contributed by Thierry Arnoux, 27-Aug-2017.)
Hypotheses
Ref Expression
ffsrn.z (𝜑𝑍𝑊)
ffsrn.0 (𝜑𝐹𝑉)
ffsrn.1 (𝜑 → Fun 𝐹)
ffsrn.2 (𝜑 → (𝐹 supp 𝑍) ∈ Fin)
Assertion
Ref Expression
ffsrn (𝜑 → ran 𝐹 ∈ Fin)

Proof of Theorem ffsrn
StepHypRef Expression
1 imaundi 5982 . . . . . . 7 (𝐹 “ ((V ∖ {𝑍}) ∪ {𝑍})) = ((𝐹 “ (V ∖ {𝑍})) ∪ (𝐹 “ {𝑍}))
21reseq2i 5822 . . . . . 6 (𝐹 ↾ (𝐹 “ ((V ∖ {𝑍}) ∪ {𝑍}))) = (𝐹 ↾ ((𝐹 “ (V ∖ {𝑍})) ∪ (𝐹 “ {𝑍})))
3 undif1 4365 . . . . . . . . 9 ((V ∖ {𝑍}) ∪ {𝑍}) = (V ∪ {𝑍})
4 ssv 3901 . . . . . . . . . 10 {𝑍} ⊆ V
5 ssequn2 4073 . . . . . . . . . 10 ({𝑍} ⊆ V ↔ (V ∪ {𝑍}) = V)
64, 5mpbi 233 . . . . . . . . 9 (V ∪ {𝑍}) = V
73, 6eqtri 2761 . . . . . . . 8 ((V ∖ {𝑍}) ∪ {𝑍}) = V
87imaeq2i 5901 . . . . . . 7 (𝐹 “ ((V ∖ {𝑍}) ∪ {𝑍})) = (𝐹 “ V)
98reseq2i 5822 . . . . . 6 (𝐹 ↾ (𝐹 “ ((V ∖ {𝑍}) ∪ {𝑍}))) = (𝐹 ↾ (𝐹 “ V))
10 resundi 5839 . . . . . 6 (𝐹 ↾ ((𝐹 “ (V ∖ {𝑍})) ∪ (𝐹 “ {𝑍}))) = ((𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ (𝐹 ↾ (𝐹 “ {𝑍})))
112, 9, 103eqtr3i 2769 . . . . 5 (𝐹 ↾ (𝐹 “ V)) = ((𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ (𝐹 ↾ (𝐹 “ {𝑍})))
12 ffsrn.1 . . . . . 6 (𝜑 → Fun 𝐹)
13 dfdm4 5738 . . . . . . 7 dom 𝐹 = ran 𝐹
14 dfrn4 6034 . . . . . . 7 ran 𝐹 = (𝐹 “ V)
1513, 14eqtri 2761 . . . . . 6 dom 𝐹 = (𝐹 “ V)
16 df-fn 6342 . . . . . . 7 (𝐹 Fn (𝐹 “ V) ↔ (Fun 𝐹 ∧ dom 𝐹 = (𝐹 “ V)))
17 fnresdm 6455 . . . . . . 7 (𝐹 Fn (𝐹 “ V) → (𝐹 ↾ (𝐹 “ V)) = 𝐹)
1816, 17sylbir 238 . . . . . 6 ((Fun 𝐹 ∧ dom 𝐹 = (𝐹 “ V)) → (𝐹 ↾ (𝐹 “ V)) = 𝐹)
1912, 15, 18sylancl 589 . . . . 5 (𝜑 → (𝐹 ↾ (𝐹 “ V)) = 𝐹)
2011, 19syl5reqr 2788 . . . 4 (𝜑𝐹 = ((𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ (𝐹 ↾ (𝐹 “ {𝑍}))))
2120rneqd 5781 . . 3 (𝜑 → ran 𝐹 = ran ((𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ (𝐹 ↾ (𝐹 “ {𝑍}))))
22 rnun 5978 . . 3 ran ((𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ (𝐹 ↾ (𝐹 “ {𝑍}))) = (ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ ran (𝐹 ↾ (𝐹 “ {𝑍})))
2321, 22eqtrdi 2789 . 2 (𝜑 → ran 𝐹 = (ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ ran (𝐹 ↾ (𝐹 “ {𝑍}))))
24 ffsrn.0 . . . . . 6 (𝜑𝐹𝑉)
25 ffsrn.z . . . . . 6 (𝜑𝑍𝑊)
26 suppimacnv 7869 . . . . . 6 ((𝐹𝑉𝑍𝑊) → (𝐹 supp 𝑍) = (𝐹 “ (V ∖ {𝑍})))
2724, 25, 26syl2anc 587 . . . . 5 (𝜑 → (𝐹 supp 𝑍) = (𝐹 “ (V ∖ {𝑍})))
28 ffsrn.2 . . . . 5 (𝜑 → (𝐹 supp 𝑍) ∈ Fin)
2927, 28eqeltrrd 2834 . . . 4 (𝜑 → (𝐹 “ (V ∖ {𝑍})) ∈ Fin)
30 cnvexg 7655 . . . . . 6 (𝐹𝑉𝐹 ∈ V)
31 imaexg 7646 . . . . . 6 (𝐹 ∈ V → (𝐹 “ (V ∖ {𝑍})) ∈ V)
3224, 30, 313syl 18 . . . . 5 (𝜑 → (𝐹 “ (V ∖ {𝑍})) ∈ V)
33 cnvimass 5923 . . . . . . 7 (𝐹 “ (V ∖ {𝑍})) ⊆ dom 𝐹
34 fores 6602 . . . . . . 7 ((Fun 𝐹 ∧ (𝐹 “ (V ∖ {𝑍})) ⊆ dom 𝐹) → (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))):(𝐹 “ (V ∖ {𝑍}))–onto→(𝐹 “ (𝐹 “ (V ∖ {𝑍}))))
3512, 33, 34sylancl 589 . . . . . 6 (𝜑 → (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))):(𝐹 “ (V ∖ {𝑍}))–onto→(𝐹 “ (𝐹 “ (V ∖ {𝑍}))))
36 fofn 6594 . . . . . 6 ((𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))):(𝐹 “ (V ∖ {𝑍}))–onto→(𝐹 “ (𝐹 “ (V ∖ {𝑍}))) → (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) Fn (𝐹 “ (V ∖ {𝑍})))
3735, 36syl 17 . . . . 5 (𝜑 → (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) Fn (𝐹 “ (V ∖ {𝑍})))
38 fnrndomg 10036 . . . . 5 ((𝐹 “ (V ∖ {𝑍})) ∈ V → ((𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) Fn (𝐹 “ (V ∖ {𝑍})) → ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ≼ (𝐹 “ (V ∖ {𝑍}))))
3932, 37, 38sylc 65 . . . 4 (𝜑 → ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ≼ (𝐹 “ (V ∖ {𝑍})))
40 domfi 8817 . . . 4 (((𝐹 “ (V ∖ {𝑍})) ∈ Fin ∧ ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ≼ (𝐹 “ (V ∖ {𝑍}))) → ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∈ Fin)
4129, 39, 40syl2anc 587 . . 3 (𝜑 → ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∈ Fin)
42 snfi 8642 . . . 4 {𝑍} ∈ Fin
43 df-ima 5538 . . . . . 6 (𝐹 “ (𝐹 “ {𝑍})) = ran (𝐹 ↾ (𝐹 “ {𝑍}))
44 funimacnv 6420 . . . . . . 7 (Fun 𝐹 → (𝐹 “ (𝐹 “ {𝑍})) = ({𝑍} ∩ ran 𝐹))
4512, 44syl 17 . . . . . 6 (𝜑 → (𝐹 “ (𝐹 “ {𝑍})) = ({𝑍} ∩ ran 𝐹))
4643, 45eqtr3id 2787 . . . . 5 (𝜑 → ran (𝐹 ↾ (𝐹 “ {𝑍})) = ({𝑍} ∩ ran 𝐹))
47 inss1 4119 . . . . 5 ({𝑍} ∩ ran 𝐹) ⊆ {𝑍}
4846, 47eqsstrdi 3931 . . . 4 (𝜑 → ran (𝐹 ↾ (𝐹 “ {𝑍})) ⊆ {𝑍})
49 ssfi 8772 . . . 4 (({𝑍} ∈ Fin ∧ ran (𝐹 ↾ (𝐹 “ {𝑍})) ⊆ {𝑍}) → ran (𝐹 ↾ (𝐹 “ {𝑍})) ∈ Fin)
5042, 48, 49sylancr 590 . . 3 (𝜑 → ran (𝐹 ↾ (𝐹 “ {𝑍})) ∈ Fin)
51 unfi 8771 . . 3 ((ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∈ Fin ∧ ran (𝐹 ↾ (𝐹 “ {𝑍})) ∈ Fin) → (ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ ran (𝐹 ↾ (𝐹 “ {𝑍}))) ∈ Fin)
5241, 50, 51syl2anc 587 . 2 (𝜑 → (ran (𝐹 ↾ (𝐹 “ (V ∖ {𝑍}))) ∪ ran (𝐹 ↾ (𝐹 “ {𝑍}))) ∈ Fin)
5323, 52eqeltrd 2833 1 (𝜑 → ran 𝐹 ∈ Fin)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1542  wcel 2114  Vcvv 3398  cdif 3840  cun 3841  cin 3842  wss 3843  {csn 4516   class class class wbr 5030  ccnv 5524  dom cdm 5525  ran crn 5526  cres 5527  cima 5528  Fun wfun 6333   Fn wfn 6334  ontowfo 6337  (class class class)co 7170   supp csupp 7856  cdom 8553  Fincfn 8555
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2020  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2162  ax-12 2179  ax-ext 2710  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5232  ax-pr 5296  ax-un 7479  ax-ac2 9963
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2075  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-reu 3060  df-rmo 3061  df-rab 3062  df-v 3400  df-sbc 3681  df-csb 3791  df-dif 3846  df-un 3848  df-in 3850  df-ss 3860  df-pss 3862  df-nul 4212  df-if 4415  df-pw 4490  df-sn 4517  df-pr 4519  df-tp 4521  df-op 4523  df-uni 4797  df-int 4837  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5429  df-eprel 5434  df-po 5442  df-so 5443  df-fr 5483  df-se 5484  df-we 5485  df-xp 5531  df-rel 5532  df-cnv 5533  df-co 5534  df-dm 5535  df-rn 5536  df-res 5537  df-ima 5538  df-pred 6129  df-ord 6175  df-on 6176  df-lim 6177  df-suc 6178  df-iota 6297  df-fun 6341  df-fn 6342  df-f 6343  df-f1 6344  df-fo 6345  df-f1o 6346  df-fv 6347  df-isom 6348  df-riota 7127  df-ov 7173  df-oprab 7174  df-mpo 7175  df-om 7600  df-1st 7714  df-2nd 7715  df-supp 7857  df-wrecs 7976  df-recs 8037  df-1o 8131  df-er 8320  df-map 8439  df-en 8556  df-dom 8557  df-fin 8559  df-card 9441  df-acn 9444  df-ac 9616
This theorem is referenced by:  fpwrelmapffslem  30642
  Copyright terms: Public domain W3C validator