Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ssnn0ssfz Structured version   Visualization version   GIF version

Theorem ssnn0ssfz 49792
Description: For any finite subset of ℕ0, find a superset in the form of a set of sequential integers, analogous to ssnnssfz 33475. (Contributed by AV, 30-Sep-2019.)
Assertion
Ref Expression
ssnn0ssfz (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
Distinct variable group:   𝐴,𝑛

Proof of Theorem ssnn0ssfz
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 0nn0 12661 . . 3 0 ∈ ℕ0
2 simpr 490 . . . 4 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 = ∅) → 𝐴 = ∅)
3 0ss 4353 . . . 4 ∅ ⊆ (0...0)
42, 3eqsstrdi 3957 . . 3 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 = ∅) → 𝐴 ⊆ (0...0))
5 oveq2 7459 . . . . 5 (𝑛 = 0 → (0...𝑛) = (0...0))
65sseq2d 3945 . . . 4 (𝑛 = 0 → (𝐴 ⊆ (0...𝑛) ↔ 𝐴 ⊆ (0...0)))
76rspcev 3580 . . 3 ((0 ∈ ℕ0 ∧ 𝐴 ⊆ (0...0)) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
81, 4, 7sylancr 599 . 2 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 = ∅) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
9 elin 4096 . . . . . . 7 (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ↔ (𝐴 ∈ 𝒫 ℕ0 ∧ 𝐴 ∈ Fin))
109simplbi 502 . . . . . 6 (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) → 𝐴 ∈ 𝒫 ℕ0)
1110adantr 486 . . . . 5 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ∈ 𝒫 ℕ0)
1211elpwid 4569 . . . 4 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ⊆ ℕ0)
13 nn0ssre 12650 . . . . . . 7 ℕ0 ⊆ ℝ
14 ltso 11429 . . . . . . 7 < Or ℝ
15 soss 5586 . . . . . . 7 (ℕ0 ⊆ ℝ → ( < Or ℝ → < Or ℕ0))
1613, 14, 15mp2 9 . . . . . 6 < Or ℕ0
1716a1i 11 . . . . 5 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → < Or ℕ0)
189simprbi 503 . . . . . 6 (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) → 𝐴 ∈ Fin)
1918adantr 486 . . . . 5 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ∈ Fin)
20 simpr 490 . . . . 5 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ≠ ∅)
21 fisupcl 9499 . . . . 5 (( < Or ℕ0 ∧ (𝐴 ∈ Fin ∧ 𝐴 ≠ ∅ ∧ 𝐴 ⊆ ℕ0)) → sup(𝐴, ℕ0, < ) ∈ 𝐴)
2217, 19, 20, 12, 21syl13anc 1400 . . . 4 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → sup(𝐴, ℕ0, < ) ∈ 𝐴)
2312, 22sseldd 3914 . . 3 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → sup(𝐴, ℕ0, < ) ∈ ℕ0)
2412sselda 3913 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ℕ0)
25 nn0uz 13043 . . . . . . 7 ℕ0 = (ℤ≥‘0)
2624, 25eleqtrdi 2874 . . . . . 6 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ (ℤ≥‘0))
2724nn0zd 12758 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ℤ)
2812adantr 486 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝐴 ⊆ ℕ0)
2922adantr 486 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ 𝐴)
3028, 29sseldd 3914 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ ℕ0)
3130nn0zd 12758 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ ℤ)
32 fisup2g 9498 . . . . . . . . . . . 12 (( < Or ℕ0 ∧ (𝐴 ∈ Fin ∧ 𝐴 ≠ ∅ ∧ 𝐴 ⊆ ℕ0)) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
3317, 19, 20, 12, 32syl13anc 1400 . . . . . . . . . . 11 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
34 ssrexv 3983 . . . . . . . . . . 11 (𝐴 ⊆ ℕ0 → (∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)) → ∃𝑥 ∈ ℕ0 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧))))
3512, 33, 34sylc 66 . . . . . . . . . 10 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ ℕ0 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
3617, 35supub 9488 . . . . . . . . 9 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → (𝑥 ∈ 𝐴 → ¬ sup(𝐴, ℕ0, < ) < 𝑥))
3736imp 412 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → ¬ sup(𝐴, ℕ0, < ) < 𝑥)
3824nn0red 12708 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ℝ)
3930nn0red 12708 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ ℝ)
4038, 39lenltd 11495 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → (𝑥 ≤ sup(𝐴, ℕ0, < ) ↔ ¬ sup(𝐴, ℕ0, < ) < 𝑥))
4137, 40mpbird 260 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ≤ sup(𝐴, ℕ0, < ))
42 eluz2 13011 . . . . . . 7 (sup(𝐴, ℕ0, < ) ∈ (ℤ≥‘𝑥) ↔ (𝑥 ∈ ℤ ∧ sup(𝐴, ℕ0, < ) ∈ ℤ ∧ 𝑥 ≤ sup(𝐴, ℕ0, < )))
4327, 31, 41, 42syl3anbrc 1362 . . . . . 6 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ (ℤ≥‘𝑥))
44 eluzfz 13691 . . . . . 6 ((𝑥 ∈ (ℤ≥‘0) ∧ sup(𝐴, ℕ0, < ) ∈ (ℤ≥‘𝑥)) → 𝑥 ∈ (0...sup(𝐴, ℕ0, < )))
4526, 43, 44syl2anc 596 . . . . 5 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ (0...sup(𝐴, ℕ0, < )))
4645ex 418 . . . 4 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → (𝑥 ∈ 𝐴 → 𝑥 ∈ (0...sup(𝐴, ℕ0, < ))))
4746ssrdv 3919 . . 3 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ⊆ (0...sup(𝐴, ℕ0, < )))
48 oveq2 7459 . . . . 5 (𝑛 = sup(𝐴, ℕ0, < ) → (0...𝑛) = (0...sup(𝐴, ℕ0, < )))
4948sseq2d 3945 . . . 4 (𝑛 = sup(𝐴, ℕ0, < ) → (𝐴 ⊆ (0...𝑛) ↔ 𝐴 ⊆ (0...sup(𝐴, ℕ0, < ))))
5049rspcev 3580 . . 3 ((sup(𝐴, ℕ0, < ) ∈ ℕ0 ∧ 𝐴 ⊆ (0...sup(𝐴, ℕ0, < ))) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
5123, 47, 50syl2anc 596 . 2 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
528, 51pm2.61dane 3046 1 (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ∃wrex 3090   ⊆ wss 3900   ∩ cin 4092  ∅c0 4281  𝒫 cpw 4560   class class class wbr 5108   Or wor 5565  ‘cfv 6566  (class class class)co 7451  Fincfn 9011  supcsup 9469  ℝcr 11238  0cc0 11239   < clt 11382   ≤ cle 11383  ℕ0cn0 12646  ℤcz 12733  ℤ≥cuz 13005  ...cfz 13679
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-nul 5266  ax-pow 5334  ax-pr 5398  ax-un 7783  ax-cnex 11295  ax-resscn 11296  ax-1cn 11297  ax-icn 11298  ax-addcl 11299  ax-addrcl 11300  ax-mulcl 11301  ax-mulrcl 11302  ax-mulcom 11303  ax-addass 11304  ax-mulass 11305  ax-distr 11306  ax-i2m1 11307  ax-1ne0 11308  ax-1rid 11309  ax-rnegex 11310  ax-rrecex 11311  ax-cnre 11312  ax-pre-lttri 11313  ax-pre-lttrn 11314  ax-pre-ltadd 11315  ax-pre-mulgt0 11316
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4841  df-uni 4873  df-iun 4958  df-br 5109  df-opab 5174  df-mpt 5193  df-tr 5219  df-id 5553  df-eprel 5558  df-po 5566  df-so 5567  df-fr 5611  df-we 5613  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-rn 5669  df-res 5670  df-ima 5671  df-pred 6330  df-ord 6391  df-on 6392  df-lim 6393  df-suc 6394  df-iota 6520  df-fun 6568  df-fn 6569  df-f 6570  df-f1 6571  df-fo 6572  df-f1o 6573  df-fv 6574  df-riota 7408  df-ov 7454  df-oprab 7455  df-mpo 7456  df-om 7912  df-1st 8035  df-2nd 8036  df-frecs 8337  df-wrecs 8368  df-recs 8417  df-rdg 8456  df-er 8755  df-en 9012  df-dom 9013  df-sdom 9014  df-fin 9015  df-sup 9471  df-pnf 11384  df-mnf 11385  df-xr 11386  df-ltxr 11387  df-le 11388  df-sub 11582  df-neg 11583  df-nn 12376  df-n0 12647  df-z 12734  df-uz 13006  df-fz 13680
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator