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 49929
Description: For any finite subset of ℕ0, find a superset in the form of a set of sequential integers, analogous to ssnnssfz 33595. (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 12677 . . 3 0 ∈ ℕ0
2 simpr 490 . . . 4 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 = ∅) → 𝐴 = ∅)
3 0ss 4360 . . . 4 ∅ ⊆ (0...0)
42, 3eqsstrdi 3964 . . 3 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 = ∅) → 𝐴 ⊆ (0...0))
5 oveq2 7475 . . . . 5 (𝑛 = 0 → (0...𝑛) = (0...0))
65sseq2d 3952 . . . 4 (𝑛 = 0 → (𝐴 ⊆ (0...𝑛) ↔ 𝐴 ⊆ (0...0)))
76rspcev 3587 . . 3 ((0 ∈ ℕ0 ∧ 𝐴 ⊆ (0...0)) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
81, 4, 7sylancr 599 . 2 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 = ∅) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
9 elin 4103 . . . . . . 7 (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ↔ (𝐴 ∈ 𝒫 ℕ0 ∧ 𝐴 ∈ Fin))
109simplbi 502 . . . . . 6 (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) → 𝐴 ∈ 𝒫 ℕ0)
1110adantr 486 . . . . 5 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ∈ 𝒫 ℕ0)
1211elpwid 4576 . . . 4 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ⊆ ℕ0)
13 nn0ssre 12666 . . . . . . 7 ℕ0 ⊆ ℝ
14 ltso 11445 . . . . . . 7 < Or ℝ
15 soss 5594 . . . . . . 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 9515 . . . . 5 (( < Or ℕ0 ∧ (𝐴 ∈ Fin ∧ 𝐴 ≠ ∅ ∧ 𝐴 ⊆ ℕ0)) → sup(𝐴, ℕ0, < ) ∈ 𝐴)
2217, 19, 20, 12, 21syl13anc 1402 . . . 4 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → sup(𝐴, ℕ0, < ) ∈ 𝐴)
2312, 22sseldd 3921 . . 3 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → sup(𝐴, ℕ0, < ) ∈ ℕ0)
2412sselda 3920 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ℕ0)
25 nn0uz 13059 . . . . . . 7 ℕ0 = (ℤ≥‘0)
2624, 25eleqtrdi 2885 . . . . . 6 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ (ℤ≥‘0))
2724nn0zd 12774 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ℤ)
2812adantr 486 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝐴 ⊆ ℕ0)
2922adantr 486 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ 𝐴)
3028, 29sseldd 3921 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ ℕ0)
3130nn0zd 12774 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ ℤ)
32 fisup2g 9514 . . . . . . . . . . . 12 (( < Or ℕ0 ∧ (𝐴 ∈ Fin ∧ 𝐴 ≠ ∅ ∧ 𝐴 ⊆ ℕ0)) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
3317, 19, 20, 12, 32syl13anc 1402 . . . . . . . . . . 11 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
34 ssrexv 3990 . . . . . . . . . . 11 (𝐴 ⊆ ℕ0 → (∃𝑥 ∈ 𝐴 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)) → ∃𝑥 ∈ ℕ0 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧))))
3512, 33, 34sylc 66 . . . . . . . . . 10 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ ℕ0 (∀𝑦 ∈ 𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ0 (𝑦 < 𝑥 → ∃𝑧 ∈ 𝐴 𝑦 < 𝑧)))
3617, 35supub 9504 . . . . . . . . 9 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → (𝑥 ∈ 𝐴 → ¬ sup(𝐴, ℕ0, < ) < 𝑥))
3736imp 412 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → ¬ sup(𝐴, ℕ0, < ) < 𝑥)
3824nn0red 12724 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ∈ ℝ)
3930nn0red 12724 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ ℝ)
4038, 39lenltd 11511 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → (𝑥 ≤ sup(𝐴, ℕ0, < ) ↔ ¬ sup(𝐴, ℕ0, < ) < 𝑥))
4137, 40mpbird 260 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → 𝑥 ≤ sup(𝐴, ℕ0, < ))
42 eluz2 13027 . . . . . . 7 (sup(𝐴, ℕ0, < ) ∈ (ℤ≥‘𝑥) ↔ (𝑥 ∈ ℤ ∧ sup(𝐴, ℕ0, < ) ∈ ℤ ∧ 𝑥 ≤ sup(𝐴, ℕ0, < )))
4327, 31, 41, 42syl3anbrc 1364 . . . . . 6 (((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥 ∈ 𝐴) → sup(𝐴, ℕ0, < ) ∈ (ℤ≥‘𝑥))
44 eluzfz 13707 . . . . . 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 3926 . . 3 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ⊆ (0...sup(𝐴, ℕ0, < )))
48 oveq2 7475 . . . . 5 (𝑛 = sup(𝐴, ℕ0, < ) → (0...𝑛) = (0...sup(𝐴, ℕ0, < )))
4948sseq2d 3952 . . . 4 (𝑛 = sup(𝐴, ℕ0, < ) → (𝐴 ⊆ (0...𝑛) ↔ 𝐴 ⊆ (0...sup(𝐴, ℕ0, < ))))
5049rspcev 3587 . . 3 ((sup(𝐴, ℕ0, < ) ∈ ℕ0 ∧ 𝐴 ⊆ (0...sup(𝐴, ℕ0, < ))) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
5123, 47, 50syl2anc 596 . 2 ((𝐴 ∈ (𝒫 ℕ0 ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
528, 51pm2.61dane 3057 1 (𝐴 ∈ (𝒫 ℕ0 ∩ Fin) → ∃𝑛 ∈ ℕ0 𝐴 ⊆ (0...𝑛))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  ∀wral 3091  ∃wrex 3101   ⊆ wss 3907   ∩ cin 4099  ∅c0 4288  𝒫 cpw 4567   class class class wbr 5116   Or wor 5573  ‘cfv 6578  (class class class)co 7467  Fincfn 9027  supcsup 9485  ℝcr 11254  0cc0 11255   < clt 11398   ≤ cle 11399  ℕ0cn0 12662  ℤcz 12749  ℤ≥cuz 13021  ...cfz 13695
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7799  ax-cnex 11311  ax-resscn 11312  ax-1cn 11313  ax-icn 11314  ax-addcl 11315  ax-addrcl 11316  ax-mulcl 11317  ax-mulrcl 11318  ax-mulcom 11319  ax-addass 11320  ax-mulass 11321  ax-distr 11322  ax-i2m1 11323  ax-1ne0 11324  ax-1rid 11325  ax-rnegex 11326  ax-rrecex 11327  ax-cnre 11328  ax-pre-lttri 11329  ax-pre-lttrn 11330  ax-pre-ltadd 11331  ax-pre-mulgt0 11332
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-rmo 3376  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6342  df-ord 6403  df-on 6404  df-lim 6405  df-suc 6406  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-riota 7423  df-ov 7470  df-oprab 7471  df-mpo 7472  df-om 7928  df-1st 8051  df-2nd 8052  df-frecs 8353  df-wrecs 8384  df-recs 8433  df-rdg 8472  df-er 8771  df-en 9028  df-dom 9029  df-sdom 9030  df-fin 9031  df-sup 9487  df-pnf 11400  df-mnf 11401  df-xr 11402  df-ltxr 11403  df-le 11404  df-sub 11598  df-neg 11599  df-nn 12392  df-n0 12663  df-z 12750  df-uz 13022  df-fz 13696
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator