Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  ssnnssfz Structured version   Visualization version   GIF version

Theorem ssnnssfz 31239
Description: For any finite subset of , find a superset in the form of a set of sequential integers. (Contributed by Thierry Arnoux, 13-Sep-2017.)
Assertion
Ref Expression
ssnnssfz (𝐴 ∈ (𝒫 ℕ ∩ Fin) → ∃𝑛 ∈ ℕ 𝐴 ⊆ (1...𝑛))
Distinct variable group:   𝐴,𝑛

Proof of Theorem ssnnssfz
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 1nn 12063 . . 3 1 ∈ ℕ
2 simpr 485 . . . 4 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 = ∅) → 𝐴 = ∅)
3 0ss 4340 . . . 4 ∅ ⊆ (1...1)
42, 3eqsstrdi 3984 . . 3 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 = ∅) → 𝐴 ⊆ (1...1))
5 oveq2 7324 . . . . 5 (𝑛 = 1 → (1...𝑛) = (1...1))
65sseq2d 3962 . . . 4 (𝑛 = 1 → (𝐴 ⊆ (1...𝑛) ↔ 𝐴 ⊆ (1...1)))
76rspcev 3569 . . 3 ((1 ∈ ℕ ∧ 𝐴 ⊆ (1...1)) → ∃𝑛 ∈ ℕ 𝐴 ⊆ (1...𝑛))
81, 4, 7sylancr 587 . 2 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 = ∅) → ∃𝑛 ∈ ℕ 𝐴 ⊆ (1...𝑛))
9 elin 3912 . . . . . . 7 (𝐴 ∈ (𝒫 ℕ ∩ Fin) ↔ (𝐴 ∈ 𝒫 ℕ ∧ 𝐴 ∈ Fin))
109simplbi 498 . . . . . 6 (𝐴 ∈ (𝒫 ℕ ∩ Fin) → 𝐴 ∈ 𝒫 ℕ)
1110adantr 481 . . . . 5 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ∈ 𝒫 ℕ)
1211elpwid 4553 . . . 4 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ⊆ ℕ)
13 nnssre 12056 . . . . . . 7 ℕ ⊆ ℝ
14 ltso 11134 . . . . . . 7 < Or ℝ
15 soss 5540 . . . . . . 7 (ℕ ⊆ ℝ → ( < Or ℝ → < Or ℕ))
1613, 14, 15mp2 9 . . . . . 6 < Or ℕ
1716a1i 11 . . . . 5 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → < Or ℕ)
189simprbi 497 . . . . . 6 (𝐴 ∈ (𝒫 ℕ ∩ Fin) → 𝐴 ∈ Fin)
1918adantr 481 . . . . 5 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ∈ Fin)
20 simpr 485 . . . . 5 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ≠ ∅)
21 fisupcl 9304 . . . . 5 (( < Or ℕ ∧ (𝐴 ∈ Fin ∧ 𝐴 ≠ ∅ ∧ 𝐴 ⊆ ℕ)) → sup(𝐴, ℕ, < ) ∈ 𝐴)
2217, 19, 20, 12, 21syl13anc 1371 . . . 4 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → sup(𝐴, ℕ, < ) ∈ 𝐴)
2312, 22sseldd 3931 . . 3 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → sup(𝐴, ℕ, < ) ∈ ℕ)
2412sselda 3930 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝑥 ∈ ℕ)
25 nnuz 12700 . . . . . . 7 ℕ = (ℤ‘1)
2624, 25eleqtrdi 2847 . . . . . 6 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝑥 ∈ (ℤ‘1))
2724nnzd 12504 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝑥 ∈ ℤ)
2812adantr 481 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝐴 ⊆ ℕ)
2922adantr 481 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → sup(𝐴, ℕ, < ) ∈ 𝐴)
3028, 29sseldd 3931 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → sup(𝐴, ℕ, < ) ∈ ℕ)
3130nnzd 12504 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → sup(𝐴, ℕ, < ) ∈ ℤ)
32 fisup2g 9303 . . . . . . . . . . . 12 (( < Or ℕ ∧ (𝐴 ∈ Fin ∧ 𝐴 ≠ ∅ ∧ 𝐴 ⊆ ℕ)) → ∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
3317, 19, 20, 12, 32syl13anc 1371 . . . . . . . . . . 11 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
34 ssrexv 3997 . . . . . . . . . . 11 (𝐴 ⊆ ℕ → (∃𝑥𝐴 (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)) → ∃𝑥 ∈ ℕ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧))))
3512, 33, 34sylc 65 . . . . . . . . . 10 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑥 ∈ ℕ (∀𝑦𝐴 ¬ 𝑥 < 𝑦 ∧ ∀𝑦 ∈ ℕ (𝑦 < 𝑥 → ∃𝑧𝐴 𝑦 < 𝑧)))
3617, 35supub 9294 . . . . . . . . 9 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → (𝑥𝐴 → ¬ sup(𝐴, ℕ, < ) < 𝑥))
3736imp 407 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → ¬ sup(𝐴, ℕ, < ) < 𝑥)
3824nnred 12067 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝑥 ∈ ℝ)
3930nnred 12067 . . . . . . . . 9 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → sup(𝐴, ℕ, < ) ∈ ℝ)
4038, 39lenltd 11200 . . . . . . . 8 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → (𝑥 ≤ sup(𝐴, ℕ, < ) ↔ ¬ sup(𝐴, ℕ, < ) < 𝑥))
4137, 40mpbird 256 . . . . . . 7 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝑥 ≤ sup(𝐴, ℕ, < ))
42 eluz2 12667 . . . . . . 7 (sup(𝐴, ℕ, < ) ∈ (ℤ𝑥) ↔ (𝑥 ∈ ℤ ∧ sup(𝐴, ℕ, < ) ∈ ℤ ∧ 𝑥 ≤ sup(𝐴, ℕ, < )))
4327, 31, 41, 42syl3anbrc 1342 . . . . . 6 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → sup(𝐴, ℕ, < ) ∈ (ℤ𝑥))
44 eluzfz 13330 . . . . . 6 ((𝑥 ∈ (ℤ‘1) ∧ sup(𝐴, ℕ, < ) ∈ (ℤ𝑥)) → 𝑥 ∈ (1...sup(𝐴, ℕ, < )))
4526, 43, 44syl2anc 584 . . . . 5 (((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) ∧ 𝑥𝐴) → 𝑥 ∈ (1...sup(𝐴, ℕ, < )))
4645ex 413 . . . 4 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → (𝑥𝐴𝑥 ∈ (1...sup(𝐴, ℕ, < ))))
4746ssrdv 3936 . . 3 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → 𝐴 ⊆ (1...sup(𝐴, ℕ, < )))
48 oveq2 7324 . . . . 5 (𝑛 = sup(𝐴, ℕ, < ) → (1...𝑛) = (1...sup(𝐴, ℕ, < )))
4948sseq2d 3962 . . . 4 (𝑛 = sup(𝐴, ℕ, < ) → (𝐴 ⊆ (1...𝑛) ↔ 𝐴 ⊆ (1...sup(𝐴, ℕ, < ))))
5049rspcev 3569 . . 3 ((sup(𝐴, ℕ, < ) ∈ ℕ ∧ 𝐴 ⊆ (1...sup(𝐴, ℕ, < ))) → ∃𝑛 ∈ ℕ 𝐴 ⊆ (1...𝑛))
5123, 47, 50syl2anc 584 . 2 ((𝐴 ∈ (𝒫 ℕ ∩ Fin) ∧ 𝐴 ≠ ∅) → ∃𝑛 ∈ ℕ 𝐴 ⊆ (1...𝑛))
528, 51pm2.61dane 3029 1 (𝐴 ∈ (𝒫 ℕ ∩ Fin) → ∃𝑛 ∈ ℕ 𝐴 ⊆ (1...𝑛))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1540  wcel 2105  wne 2940  wral 3061  wrex 3070  cin 3895  wss 3896  c0 4266  𝒫 cpw 4544   class class class wbr 5086   Or wor 5519  cfv 6465  (class class class)co 7316  Fincfn 8782  supcsup 9275  cr 10949  1c1 10951   < clt 11088  cle 11089  cn 12052  cz 12398  cuz 12661  ...cfz 13318
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2707  ax-sep 5237  ax-nul 5244  ax-pow 5302  ax-pr 5366  ax-un 7629  ax-cnex 11006  ax-resscn 11007  ax-1cn 11008  ax-icn 11009  ax-addcl 11010  ax-addrcl 11011  ax-mulcl 11012  ax-mulrcl 11013  ax-mulcom 11014  ax-addass 11015  ax-mulass 11016  ax-distr 11017  ax-i2m1 11018  ax-1ne0 11019  ax-1rid 11020  ax-rnegex 11021  ax-rrecex 11022  ax-cnre 11023  ax-pre-lttri 11024  ax-pre-lttrn 11025  ax-pre-ltadd 11026  ax-pre-mulgt0 11027
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-rmo 3349  df-reu 3350  df-rab 3404  df-v 3442  df-sbc 3726  df-csb 3842  df-dif 3899  df-un 3901  df-in 3903  df-ss 3913  df-pss 3915  df-nul 4267  df-if 4471  df-pw 4546  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4850  df-iun 4938  df-br 5087  df-opab 5149  df-mpt 5170  df-tr 5204  df-id 5506  df-eprel 5512  df-po 5520  df-so 5521  df-fr 5562  df-we 5564  df-xp 5613  df-rel 5614  df-cnv 5615  df-co 5616  df-dm 5617  df-rn 5618  df-res 5619  df-ima 5620  df-pred 6224  df-ord 6291  df-on 6292  df-lim 6293  df-suc 6294  df-iota 6417  df-fun 6467  df-fn 6468  df-f 6469  df-f1 6470  df-fo 6471  df-f1o 6472  df-fv 6473  df-riota 7273  df-ov 7319  df-oprab 7320  df-mpo 7321  df-om 7759  df-1st 7877  df-2nd 7878  df-frecs 8145  df-wrecs 8176  df-recs 8250  df-rdg 8289  df-er 8547  df-en 8783  df-dom 8784  df-sdom 8785  df-fin 8786  df-sup 9277  df-pnf 11090  df-mnf 11091  df-xr 11092  df-ltxr 11093  df-le 11094  df-sub 11286  df-neg 11287  df-nn 12053  df-n0 12313  df-z 12399  df-uz 12662  df-fz 13319
This theorem is referenced by:  esumfsup  32174  esumpcvgval  32182
  Copyright terms: Public domain W3C validator