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

Theorem fnfi 8964
Description: A version of fnex 7093 for finite sets that does not require Replacement or Power Sets. (Contributed by Mario Carneiro, 16-Nov-2014.) (Revised by Mario Carneiro, 24-Jun-2015.)
Assertion
Ref Expression
fnfi ((𝐹 Fn 𝐴𝐴 ∈ Fin) → 𝐹 ∈ Fin)

Proof of Theorem fnfi
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fnresdm 6551 . . 3 (𝐹 Fn 𝐴 → (𝐹𝐴) = 𝐹)
21adantr 481 . 2 ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝐴) = 𝐹)
3 reseq2 5886 . . . . . 6 (𝑥 = ∅ → (𝐹𝑥) = (𝐹 ↾ ∅))
43eleq1d 2823 . . . . 5 (𝑥 = ∅ → ((𝐹𝑥) ∈ Fin ↔ (𝐹 ↾ ∅) ∈ Fin))
54imbi2d 341 . . . 4 (𝑥 = ∅ → (((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝑥) ∈ Fin) ↔ ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹 ↾ ∅) ∈ Fin)))
6 reseq2 5886 . . . . . 6 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
76eleq1d 2823 . . . . 5 (𝑥 = 𝑦 → ((𝐹𝑥) ∈ Fin ↔ (𝐹𝑦) ∈ Fin))
87imbi2d 341 . . . 4 (𝑥 = 𝑦 → (((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝑥) ∈ Fin) ↔ ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝑦) ∈ Fin)))
9 reseq2 5886 . . . . . 6 (𝑥 = (𝑦 ∪ {𝑧}) → (𝐹𝑥) = (𝐹 ↾ (𝑦 ∪ {𝑧})))
109eleq1d 2823 . . . . 5 (𝑥 = (𝑦 ∪ {𝑧}) → ((𝐹𝑥) ∈ Fin ↔ (𝐹 ↾ (𝑦 ∪ {𝑧})) ∈ Fin))
1110imbi2d 341 . . . 4 (𝑥 = (𝑦 ∪ {𝑧}) → (((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝑥) ∈ Fin) ↔ ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹 ↾ (𝑦 ∪ {𝑧})) ∈ Fin)))
12 reseq2 5886 . . . . . 6 (𝑥 = 𝐴 → (𝐹𝑥) = (𝐹𝐴))
1312eleq1d 2823 . . . . 5 (𝑥 = 𝐴 → ((𝐹𝑥) ∈ Fin ↔ (𝐹𝐴) ∈ Fin))
1413imbi2d 341 . . . 4 (𝑥 = 𝐴 → (((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝑥) ∈ Fin) ↔ ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝐴) ∈ Fin)))
15 res0 5895 . . . . . 6 (𝐹 ↾ ∅) = ∅
16 0fin 8954 . . . . . 6 ∅ ∈ Fin
1715, 16eqeltri 2835 . . . . 5 (𝐹 ↾ ∅) ∈ Fin
1817a1i 11 . . . 4 ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹 ↾ ∅) ∈ Fin)
19 resundi 5905 . . . . . . . 8 (𝐹 ↾ (𝑦 ∪ {𝑧})) = ((𝐹𝑦) ∪ (𝐹 ↾ {𝑧}))
20 snfi 8834 . . . . . . . . . 10 {⟨𝑧, (𝐹𝑧)⟩} ∈ Fin
21 fnfun 6533 . . . . . . . . . . . 12 (𝐹 Fn 𝐴 → Fun 𝐹)
22 funressn 7031 . . . . . . . . . . . 12 (Fun 𝐹 → (𝐹 ↾ {𝑧}) ⊆ {⟨𝑧, (𝐹𝑧)⟩})
2321, 22syl 17 . . . . . . . . . . 11 (𝐹 Fn 𝐴 → (𝐹 ↾ {𝑧}) ⊆ {⟨𝑧, (𝐹𝑧)⟩})
2423adantr 481 . . . . . . . . . 10 ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹 ↾ {𝑧}) ⊆ {⟨𝑧, (𝐹𝑧)⟩})
25 ssfi 8956 . . . . . . . . . 10 (({⟨𝑧, (𝐹𝑧)⟩} ∈ Fin ∧ (𝐹 ↾ {𝑧}) ⊆ {⟨𝑧, (𝐹𝑧)⟩}) → (𝐹 ↾ {𝑧}) ∈ Fin)
2620, 24, 25sylancr 587 . . . . . . . . 9 ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹 ↾ {𝑧}) ∈ Fin)
27 unfi 8955 . . . . . . . . 9 (((𝐹𝑦) ∈ Fin ∧ (𝐹 ↾ {𝑧}) ∈ Fin) → ((𝐹𝑦) ∪ (𝐹 ↾ {𝑧})) ∈ Fin)
2826, 27sylan2 593 . . . . . . . 8 (((𝐹𝑦) ∈ Fin ∧ (𝐹 Fn 𝐴𝐴 ∈ Fin)) → ((𝐹𝑦) ∪ (𝐹 ↾ {𝑧})) ∈ Fin)
2919, 28eqeltrid 2843 . . . . . . 7 (((𝐹𝑦) ∈ Fin ∧ (𝐹 Fn 𝐴𝐴 ∈ Fin)) → (𝐹 ↾ (𝑦 ∪ {𝑧})) ∈ Fin)
3029expcom 414 . . . . . 6 ((𝐹 Fn 𝐴𝐴 ∈ Fin) → ((𝐹𝑦) ∈ Fin → (𝐹 ↾ (𝑦 ∪ {𝑧})) ∈ Fin))
3130a2i 14 . . . . 5 (((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝑦) ∈ Fin) → ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹 ↾ (𝑦 ∪ {𝑧})) ∈ Fin))
3231a1i 11 . . . 4 (𝑦 ∈ Fin → (((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝑦) ∈ Fin) → ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹 ↾ (𝑦 ∪ {𝑧})) ∈ Fin)))
335, 8, 11, 14, 18, 32findcard2 8947 . . 3 (𝐴 ∈ Fin → ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝐴) ∈ Fin))
3433anabsi7 668 . 2 ((𝐹 Fn 𝐴𝐴 ∈ Fin) → (𝐹𝐴) ∈ Fin)
352, 34eqeltrrd 2840 1 ((𝐹 Fn 𝐴𝐴 ∈ Fin) → 𝐹 ∈ Fin)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  cun 3885  wss 3887  c0 4256  {csn 4561  cop 4567  cres 5591  Fun wfun 6427   Fn wfn 6428  cfv 6433  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-sep 5223  ax-nul 5230  ax-pr 5352  ax-un 7588
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-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  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-br 5075  df-opab 5137  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  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-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-om 7713  df-1o 8297  df-en 8734  df-fin 8737
This theorem is referenced by:  f1oenfi  8965  f1oenfirn  8966  f1domfi  8967  f1domfi2  8968  sbthfilem  8984  fundmfibi  9098  resfnfinfin  9099  unirnffid  9111  mptfi  9118  seqf1olem2  13763  seqf1o  13764  wrdfin  14235  isstruct2  16850  xpsfrnel  17273  cmpcref  31800  carsggect  32285  ptrecube  35777  ftc1anclem3  35852  sstotbnd2  35932  prdstotbnd  35952  ffi  42709  stoweidlem59  43600  fourierdlem42  43690  fourierdlem54  43701
  Copyright terms: Public domain W3C validator