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

Theorem fin0 6879
Description: A nonempty finite set has at least one element. (Contributed by Jim Kingdon, 10-Sep-2021.)
Assertion
Ref Expression
fin0 (𝐴 ∈ Fin → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴))
Distinct variable group:   𝑥,𝐴

Proof of Theorem fin0
Dummy variables 𝑓 𝑚 𝑛 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 isfi 6755 . . 3 (𝐴 ∈ Fin ↔ ∃𝑛 ∈ ω 𝐴𝑛)
21biimpi 120 . 2 (𝐴 ∈ Fin → ∃𝑛 ∈ ω 𝐴𝑛)
3 simplrr 536 . . . . . . 7 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑛 = ∅) → 𝐴𝑛)
4 simpr 110 . . . . . . 7 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑛 = ∅) → 𝑛 = ∅)
53, 4breqtrd 4026 . . . . . 6 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑛 = ∅) → 𝐴 ≈ ∅)
6 en0 6789 . . . . . 6 (𝐴 ≈ ∅ ↔ 𝐴 = ∅)
75, 6sylib 122 . . . . 5 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑛 = ∅) → 𝐴 = ∅)
8 nner 2351 . . . . 5 (𝐴 = ∅ → ¬ 𝐴 ≠ ∅)
97, 8syl 14 . . . 4 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑛 = ∅) → ¬ 𝐴 ≠ ∅)
10 n0r 3436 . . . . . 6 (∃𝑥 𝑥𝐴𝐴 ≠ ∅)
1110necon2bi 2402 . . . . 5 (𝐴 = ∅ → ¬ ∃𝑥 𝑥𝐴)
127, 11syl 14 . . . 4 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑛 = ∅) → ¬ ∃𝑥 𝑥𝐴)
139, 122falsed 702 . . 3 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑛 = ∅) → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴))
14 simplrr 536 . . . . . . . . . 10 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) → 𝐴𝑛)
1514adantr 276 . . . . . . . . 9 ((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) → 𝐴𝑛)
1615ensymd 6777 . . . . . . . 8 ((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) → 𝑛𝐴)
17 bren 6741 . . . . . . . 8 (𝑛𝐴 ↔ ∃𝑓 𝑓:𝑛1-1-onto𝐴)
1816, 17sylib 122 . . . . . . 7 ((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) → ∃𝑓 𝑓:𝑛1-1-onto𝐴)
19 f1of 5457 . . . . . . . . . . . 12 (𝑓:𝑛1-1-onto𝐴𝑓:𝑛𝐴)
2019adantl 277 . . . . . . . . . . 11 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → 𝑓:𝑛𝐴)
21 sucidg 4413 . . . . . . . . . . . . 13 (𝑚 ∈ ω → 𝑚 ∈ suc 𝑚)
2221ad3antlr 493 . . . . . . . . . . . 12 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → 𝑚 ∈ suc 𝑚)
23 simplr 528 . . . . . . . . . . . 12 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → 𝑛 = suc 𝑚)
2422, 23eleqtrrd 2257 . . . . . . . . . . 11 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → 𝑚𝑛)
2520, 24ffvelcdmd 5648 . . . . . . . . . 10 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → (𝑓𝑚) ∈ 𝐴)
26 elex2 2753 . . . . . . . . . 10 ((𝑓𝑚) ∈ 𝐴 → ∃𝑥 𝑥𝐴)
2725, 26syl 14 . . . . . . . . 9 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → ∃𝑥 𝑥𝐴)
2827, 10syl 14 . . . . . . . 8 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → 𝐴 ≠ ∅)
2928, 272thd 175 . . . . . . 7 (((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) ∧ 𝑓:𝑛1-1-onto𝐴) → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴))
3018, 29exlimddv 1898 . . . . . 6 ((((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) ∧ 𝑛 = suc 𝑚) → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴))
3130ex 115 . . . . 5 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ 𝑚 ∈ ω) → (𝑛 = suc 𝑚 → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴)))
3231rexlimdva 2594 . . . 4 ((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (∃𝑚 ∈ ω 𝑛 = suc 𝑚 → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴)))
3332imp 124 . . 3 (((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) ∧ ∃𝑚 ∈ ω 𝑛 = suc 𝑚) → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴))
34 nn0suc 4600 . . . 4 (𝑛 ∈ ω → (𝑛 = ∅ ∨ ∃𝑚 ∈ ω 𝑛 = suc 𝑚))
3534ad2antrl 490 . . 3 ((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (𝑛 = ∅ ∨ ∃𝑚 ∈ ω 𝑛 = suc 𝑚))
3613, 33, 35mpjaodan 798 . 2 ((𝐴 ∈ Fin ∧ (𝑛 ∈ ω ∧ 𝐴𝑛)) → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴))
372, 36rexlimddv 2599 1 (𝐴 ∈ Fin → (𝐴 ≠ ∅ ↔ ∃𝑥 𝑥𝐴))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wb 105  wo 708   = wceq 1353  wex 1492  wcel 2148  wne 2347  wrex 2456  c0 3422   class class class wbr 4000  suc csuc 4362  ωcom 4586  wf 5208  1-1-ontowf1o 5211  cfv 5212  cen 6732  Fincfn 6734
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 4118  ax-nul 4126  ax-pow 4171  ax-pr 4206  ax-un 4430  ax-iinf 4584
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-sbc 2963  df-dif 3131  df-un 3133  df-in 3135  df-ss 3142  df-nul 3423  df-pw 3576  df-sn 3597  df-pr 3598  df-op 3600  df-uni 3808  df-int 3843  df-br 4001  df-opab 4062  df-id 4290  df-suc 4368  df-iom 4587  df-xp 4629  df-rel 4630  df-cnv 4631  df-co 4632  df-dm 4633  df-rn 4634  df-res 4635  df-ima 4636  df-iota 5174  df-fun 5214  df-fn 5215  df-f 5216  df-f1 5217  df-fo 5218  df-f1o 5219  df-fv 5220  df-er 6529  df-en 6735  df-fin 6737
This theorem is referenced by:  findcard2  6883  findcard2s  6884  diffisn  6887  fimax2gtri  6895  elfi2  6965  elfir  6966  fiuni  6971  fifo  6973
  Copyright terms: Public domain W3C validator