ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  unsnfi GIF version

Theorem unsnfi 6917
Description: Adding a singleton to a finite set yields a finite set. (Contributed by Jim Kingdon, 3-Feb-2022.)
Assertion
Ref Expression
unsnfi ((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) → (𝐴 ∪ {𝐵}) ∈ Fin)

Proof of Theorem unsnfi
Dummy variables 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isfi 6760 . . . 4 (𝐴 ∈ Fin ↔ ∃𝑛 ∈ ω 𝐴𝑛)
21biimpi 120 . . 3 (𝐴 ∈ Fin → ∃𝑛 ∈ ω 𝐴𝑛)
323ad2ant1 1018 . 2 ((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) → ∃𝑛 ∈ ω 𝐴𝑛)
4 peano2 4594 . . . . 5 (𝑛 ∈ ω → suc 𝑛 ∈ ω)
54ad2antrl 490 . . . 4 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → suc 𝑛 ∈ ω)
6 simprr 531 . . . . . 6 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → 𝐴𝑛)
7 simpl2 1001 . . . . . . 7 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → 𝐵𝑉)
8 simprl 529 . . . . . . 7 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → 𝑛 ∈ ω)
9 en2sn 6812 . . . . . . 7 ((𝐵𝑉𝑛 ∈ ω) → {𝐵} ≈ {𝑛})
107, 8, 9syl2anc 411 . . . . . 6 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → {𝐵} ≈ {𝑛})
11 disjsn 3654 . . . . . . . . 9 ((𝐴 ∩ {𝐵}) = ∅ ↔ ¬ 𝐵𝐴)
1211biimpri 133 . . . . . . . 8 𝐵𝐴 → (𝐴 ∩ {𝐵}) = ∅)
13123ad2ant3 1020 . . . . . . 7 ((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) → (𝐴 ∩ {𝐵}) = ∅)
1413adantr 276 . . . . . 6 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (𝐴 ∩ {𝐵}) = ∅)
15 nnord 4611 . . . . . . . . 9 (𝑛 ∈ ω → Ord 𝑛)
16 ordirr 4541 . . . . . . . . 9 (Ord 𝑛 → ¬ 𝑛𝑛)
1715, 16syl 14 . . . . . . . 8 (𝑛 ∈ ω → ¬ 𝑛𝑛)
18 disjsn 3654 . . . . . . . 8 ((𝑛 ∩ {𝑛}) = ∅ ↔ ¬ 𝑛𝑛)
1917, 18sylibr 134 . . . . . . 7 (𝑛 ∈ ω → (𝑛 ∩ {𝑛}) = ∅)
2019ad2antrl 490 . . . . . 6 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (𝑛 ∩ {𝑛}) = ∅)
21 unen 6815 . . . . . 6 (((𝐴𝑛 ∧ {𝐵} ≈ {𝑛}) ∧ ((𝐴 ∩ {𝐵}) = ∅ ∧ (𝑛 ∩ {𝑛}) = ∅)) → (𝐴 ∪ {𝐵}) ≈ (𝑛 ∪ {𝑛}))
226, 10, 14, 20, 21syl22anc 1239 . . . . 5 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (𝐴 ∪ {𝐵}) ≈ (𝑛 ∪ {𝑛}))
23 df-suc 4371 . . . . 5 suc 𝑛 = (𝑛 ∪ {𝑛})
2422, 23breqtrrdi 4045 . . . 4 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (𝐴 ∪ {𝐵}) ≈ suc 𝑛)
25 breq2 4007 . . . . 5 (𝑚 = suc 𝑛 → ((𝐴 ∪ {𝐵}) ≈ 𝑚 ↔ (𝐴 ∪ {𝐵}) ≈ suc 𝑛))
2625rspcev 2841 . . . 4 ((suc 𝑛 ∈ ω ∧ (𝐴 ∪ {𝐵}) ≈ suc 𝑛) → ∃𝑚 ∈ ω (𝐴 ∪ {𝐵}) ≈ 𝑚)
275, 24, 26syl2anc 411 . . 3 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → ∃𝑚 ∈ ω (𝐴 ∪ {𝐵}) ≈ 𝑚)
28 isfi 6760 . . 3 ((𝐴 ∪ {𝐵}) ∈ Fin ↔ ∃𝑚 ∈ ω (𝐴 ∪ {𝐵}) ≈ 𝑚)
2927, 28sylibr 134 . 2 (((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (𝐴 ∪ {𝐵}) ∈ Fin)
303, 29rexlimddv 2599 1 ((𝐴 ∈ Fin ∧ 𝐵𝑉 ∧ ¬ 𝐵𝐴) → (𝐴 ∪ {𝐵}) ∈ Fin)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  w3a 978   = wceq 1353  wcel 2148  wrex 2456  cun 3127  cin 3128  c0 3422  {csn 3592   class class class wbr 4003  Ord word 4362  suc csuc 4365  ωcom 4589  cen 6737  Fincfn 6739
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 614  ax-in2 615  ax-io 709  ax-5 1447  ax-7 1448  ax-gen 1449  ax-ie1 1493  ax-ie2 1494  ax-8 1504  ax-10 1505  ax-11 1506  ax-i12 1507  ax-bndl 1509  ax-4 1510  ax-17 1526  ax-i9 1530  ax-ial 1534  ax-i5r 1535  ax-13 2150  ax-14 2151  ax-ext 2159  ax-sep 4121  ax-nul 4129  ax-pow 4174  ax-pr 4209  ax-un 4433  ax-setind 4536  ax-iinf 4587
This theorem depends on definitions:  df-bi 117  df-3an 980  df-tru 1356  df-fal 1359  df-nf 1461  df-sb 1763  df-eu 2029  df-mo 2030  df-clab 2164  df-cleq 2170  df-clel 2173  df-nfc 2308  df-ne 2348  df-ral 2460  df-rex 2461  df-v 2739  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3577  df-sn 3598  df-pr 3599  df-op 3601  df-uni 3810  df-int 3845  df-br 4004  df-opab 4065  df-tr 4102  df-id 4293  df-iord 4366  df-on 4368  df-suc 4371  df-iom 4590  df-xp 4632  df-rel 4633  df-cnv 4634  df-co 4635  df-dm 4636  df-rn 4637  df-res 4638  df-ima 4639  df-fun 5218  df-fn 5219  df-f 5220  df-f1 5221  df-fo 5222  df-f1o 5223  df-1o 6416  df-er 6534  df-en 6740  df-fin 6742
This theorem is referenced by:  unfidisj  6920  fisseneq  6930  ssfirab  6932  fnfi  6935  fidcenumlemr  6953  fsumsplitsn  11417  fsumabs  11472  fsumiun  11484  fprodunsn  11611  fprod2dlemstep  11629  fsumcncntop  13992
  Copyright terms: Public domain W3C validator