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

Theorem fidomdm 8803
Description: Any finite set dominates its domain. (Contributed by Mario Carneiro, 22-Sep-2013.) (Revised by Mario Carneiro, 16-Nov-2014.)
Assertion
Ref Expression
fidomdm (𝐹 ∈ Fin → dom 𝐹𝐹)

Proof of Theorem fidomdm
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 dmresv 6059 . 2 dom (𝐹 ↾ V) = dom 𝐹
2 finresfin 8746 . . . 4 (𝐹 ∈ Fin → (𝐹 ↾ V) ∈ Fin)
3 fvex 6685 . . . . . . 7 (1st𝑥) ∈ V
4 eqid 2823 . . . . . . 7 (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)) = (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥))
53, 4fnmpti 6493 . . . . . 6 (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)) Fn (𝐹 ↾ V)
6 dffn4 6598 . . . . . 6 ((𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)) Fn (𝐹 ↾ V) ↔ (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→ran (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)))
75, 6mpbi 232 . . . . 5 (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→ran (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥))
8 relres 5884 . . . . . 6 Rel (𝐹 ↾ V)
9 reldm 7745 . . . . . 6 (Rel (𝐹 ↾ V) → dom (𝐹 ↾ V) = ran (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)))
10 foeq3 6590 . . . . . 6 (dom (𝐹 ↾ V) = ran (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)) → ((𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→dom (𝐹 ↾ V) ↔ (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→ran (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥))))
118, 9, 10mp2b 10 . . . . 5 ((𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→dom (𝐹 ↾ V) ↔ (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→ran (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)))
127, 11mpbir 233 . . . 4 (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→dom (𝐹 ↾ V)
13 fodomfi 8799 . . . 4 (((𝐹 ↾ V) ∈ Fin ∧ (𝑥 ∈ (𝐹 ↾ V) ↦ (1st𝑥)):(𝐹 ↾ V)–onto→dom (𝐹 ↾ V)) → dom (𝐹 ↾ V) ≼ (𝐹 ↾ V))
142, 12, 13sylancl 588 . . 3 (𝐹 ∈ Fin → dom (𝐹 ↾ V) ≼ (𝐹 ↾ V))
15 resss 5880 . . . 4 (𝐹 ↾ V) ⊆ 𝐹
16 ssdomg 8557 . . . 4 (𝐹 ∈ Fin → ((𝐹 ↾ V) ⊆ 𝐹 → (𝐹 ↾ V) ≼ 𝐹))
1715, 16mpi 20 . . 3 (𝐹 ∈ Fin → (𝐹 ↾ V) ≼ 𝐹)
18 domtr 8564 . . 3 ((dom (𝐹 ↾ V) ≼ (𝐹 ↾ V) ∧ (𝐹 ↾ V) ≼ 𝐹) → dom (𝐹 ↾ V) ≼ 𝐹)
1914, 17, 18syl2anc 586 . 2 (𝐹 ∈ Fin → dom (𝐹 ↾ V) ≼ 𝐹)
201, 19eqbrtrrid 5104 1 (𝐹 ∈ Fin → dom 𝐹𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208   = wceq 1537  wcel 2114  Vcvv 3496  wss 3938   class class class wbr 5068  cmpt 5148  dom cdm 5557  ran crn 5558  cres 5559  Rel wrel 5562   Fn wfn 6352  ontowfo 6355  cfv 6357  1st c1st 7689  cdom 8509  Fincfn 8511
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-ral 3145  df-rex 3146  df-reu 3147  df-rab 3149  df-v 3498  df-sbc 3775  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-om 7583  df-1st 7691  df-2nd 7692  df-1o 8104  df-er 8291  df-en 8512  df-dom 8513  df-fin 8515
This theorem is referenced by:  dmfi  8804  hashfun  13801
  Copyright terms: Public domain W3C validator