MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ssnn0fi Structured version   Visualization version   GIF version

Theorem ssnn0fi 13633
Description: A subset of the nonnegative integers is finite if and only if there is a nonnegative integer so that all integers greater than this integer are not contained in the subset. (Contributed by AV, 3-Oct-2019.)
Assertion
Ref Expression
ssnn0fi (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin ↔ ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
Distinct variable group:   𝑆,𝑠,𝑥

Proof of Theorem ssnn0fi
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 0nn0 12178 . . . . . 6 0 ∈ ℕ0
21a1i 11 . . . . 5 (𝑆 = ∅ → 0 ∈ ℕ0)
3 breq1 5073 . . . . . . . 8 (𝑠 = 0 → (𝑠 < 𝑥 ↔ 0 < 𝑥))
43imbi1d 341 . . . . . . 7 (𝑠 = 0 → ((𝑠 < 𝑥𝑥𝑆) ↔ (0 < 𝑥𝑥𝑆)))
54ralbidv 3120 . . . . . 6 (𝑠 = 0 → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) ↔ ∀𝑥 ∈ ℕ0 (0 < 𝑥𝑥𝑆)))
65adantl 481 . . . . 5 ((𝑆 = ∅ ∧ 𝑠 = 0) → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) ↔ ∀𝑥 ∈ ℕ0 (0 < 𝑥𝑥𝑆)))
7 nnel 3057 . . . . . . . . 9 𝑥𝑆𝑥𝑆)
8 n0i 4264 . . . . . . . . 9 (𝑥𝑆 → ¬ 𝑆 = ∅)
97, 8sylbi 216 . . . . . . . 8 𝑥𝑆 → ¬ 𝑆 = ∅)
109con4i 114 . . . . . . 7 (𝑆 = ∅ → 𝑥𝑆)
1110a1d 25 . . . . . 6 (𝑆 = ∅ → (0 < 𝑥𝑥𝑆))
1211ralrimivw 3108 . . . . 5 (𝑆 = ∅ → ∀𝑥 ∈ ℕ0 (0 < 𝑥𝑥𝑆))
132, 6, 12rspcedvd 3555 . . . 4 (𝑆 = ∅ → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))
14132a1d 26 . . 3 (𝑆 = ∅ → (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))))
15 ltso 10986 . . . . . . 7 < Or ℝ
16 id 22 . . . . . . . . 9 (𝑆 ⊆ ℕ0𝑆 ⊆ ℕ0)
17 nn0ssre 12167 . . . . . . . . 9 0 ⊆ ℝ
1816, 17sstrdi 3929 . . . . . . . 8 (𝑆 ⊆ ℕ0𝑆 ⊆ ℝ)
19183anim3i 1152 . . . . . . 7 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → (𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℝ))
20 fisup2g 9157 . . . . . . 7 (( < Or ℝ ∧ (𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℝ)) → ∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)))
2115, 19, 20sylancr 586 . . . . . 6 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → ∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)))
22 simp3 1136 . . . . . . 7 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → 𝑆 ⊆ ℕ0)
23 breq2 5074 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑥 → (𝑠 < 𝑦𝑠 < 𝑥))
2423notbid 317 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑥 → (¬ 𝑠 < 𝑦 ↔ ¬ 𝑠 < 𝑥))
2524rspcva 3550 . . . . . . . . . . . . . . . . . 18 ((𝑥𝑆 ∧ ∀𝑦𝑆 ¬ 𝑠 < 𝑦) → ¬ 𝑠 < 𝑥)
26252a1d 26 . . . . . . . . . . . . . . . . 17 ((𝑥𝑆 ∧ ∀𝑦𝑆 ¬ 𝑠 < 𝑦) → (𝑥 ∈ ℕ0 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ¬ 𝑠 < 𝑥)))
2726expcom 413 . . . . . . . . . . . . . . . 16 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 → (𝑥𝑆 → (𝑥 ∈ ℕ0 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ¬ 𝑠 < 𝑥))))
2827com24 95 . . . . . . . . . . . . . . 15 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → (𝑥 ∈ ℕ0 → (𝑥𝑆 → ¬ 𝑠 < 𝑥))))
2928imp31 417 . . . . . . . . . . . . . 14 (((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) ∧ 𝑥 ∈ ℕ0) → (𝑥𝑆 → ¬ 𝑠 < 𝑥))
307, 29syl5bi 241 . . . . . . . . . . . . 13 (((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) ∧ 𝑥 ∈ ℕ0) → (¬ 𝑥𝑆 → ¬ 𝑠 < 𝑥))
3130con4d 115 . . . . . . . . . . . 12 (((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) ∧ 𝑥 ∈ ℕ0) → (𝑠 < 𝑥𝑥𝑆))
3231ralrimiva 3107 . . . . . . . . . . 11 ((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))
3332ex 412 . . . . . . . . . 10 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3433adantr 480 . . . . . . . . 9 ((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3534com12 32 . . . . . . . 8 (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3635reximdva 3202 . . . . . . 7 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → (∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → ∃𝑠𝑆𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
37 ssrexv 3984 . . . . . . 7 (𝑆 ⊆ ℕ0 → (∃𝑠𝑆𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3822, 36, 37sylsyld 61 . . . . . 6 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → (∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3921, 38mpd 15 . . . . 5 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))
40393exp 1117 . . . 4 (𝑆 ∈ Fin → (𝑆 ≠ ∅ → (𝑆 ⊆ ℕ0 → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))))
4140com3l 89 . . 3 (𝑆 ≠ ∅ → (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))))
4214, 41pm2.61ine 3027 . 2 (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
43 fzfi 13620 . . . 4 (0...𝑠) ∈ Fin
44 elfz2nn0 13276 . . . . . . . . . 10 (𝑦 ∈ (0...𝑠) ↔ (𝑦 ∈ ℕ0𝑠 ∈ ℕ0𝑦𝑠))
4544notbii 319 . . . . . . . . 9 𝑦 ∈ (0...𝑠) ↔ ¬ (𝑦 ∈ ℕ0𝑠 ∈ ℕ0𝑦𝑠))
46 3ianor 1105 . . . . . . . . 9 (¬ (𝑦 ∈ ℕ0𝑠 ∈ ℕ0𝑦𝑠) ↔ (¬ 𝑦 ∈ ℕ0 ∨ ¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠))
47 3orass 1088 . . . . . . . . 9 ((¬ 𝑦 ∈ ℕ0 ∨ ¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠) ↔ (¬ 𝑦 ∈ ℕ0 ∨ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)))
4845, 46, 473bitri 296 . . . . . . . 8 𝑦 ∈ (0...𝑠) ↔ (¬ 𝑦 ∈ ℕ0 ∨ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)))
49 ssel 3910 . . . . . . . . . . . 12 (𝑆 ⊆ ℕ0 → (𝑦𝑆𝑦 ∈ ℕ0))
5049adantr 480 . . . . . . . . . . 11 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (𝑦𝑆𝑦 ∈ ℕ0))
5150adantr 480 . . . . . . . . . 10 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑦𝑆𝑦 ∈ ℕ0))
5251con3rr3 155 . . . . . . . . 9 𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
53 notnotb 314 . . . . . . . . . . 11 (𝑦 ∈ ℕ0 ↔ ¬ ¬ 𝑦 ∈ ℕ0)
54 pm2.24 124 . . . . . . . . . . . . . . . 16 (𝑠 ∈ ℕ0 → (¬ 𝑠 ∈ ℕ0 → ¬ 𝑦𝑆))
5554adantl 481 . . . . . . . . . . . . . . 15 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (¬ 𝑠 ∈ ℕ0 → ¬ 𝑦𝑆))
5655adantr 480 . . . . . . . . . . . . . 14 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (¬ 𝑠 ∈ ℕ0 → ¬ 𝑦𝑆))
5756com12 32 . . . . . . . . . . . . 13 𝑠 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
5857a1d 25 . . . . . . . . . . . 12 𝑠 ∈ ℕ0 → (𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
59 breq2 5074 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑦 → (𝑠 < 𝑥𝑠 < 𝑦))
60 neleq1 3053 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑦 → (𝑥𝑆𝑦𝑆))
6159, 60imbi12d 344 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑦 → ((𝑠 < 𝑥𝑥𝑆) ↔ (𝑠 < 𝑦𝑦𝑆)))
6261rspcva 3550 . . . . . . . . . . . . . . . . 17 ((𝑦 ∈ ℕ0 ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑠 < 𝑦𝑦𝑆))
63 nn0re 12172 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑠 ∈ ℕ0𝑠 ∈ ℝ)
64 nn0re 12172 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑦 ∈ ℕ0𝑦 ∈ ℝ)
65 ltnle 10985 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑠 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑠 < 𝑦 ↔ ¬ 𝑦𝑠))
6663, 64, 65syl2an 595 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → (𝑠 < 𝑦 ↔ ¬ 𝑦𝑠))
67 df-nel 3049 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑦𝑆 ↔ ¬ 𝑦𝑆)
6867a1i 11 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → (𝑦𝑆 ↔ ¬ 𝑦𝑆))
6966, 68imbi12d 344 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) ↔ (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7069biimpd 228 . . . . . . . . . . . . . . . . . . . . 21 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7170ex 412 . . . . . . . . . . . . . . . . . . . 20 (𝑠 ∈ ℕ0 → (𝑦 ∈ ℕ0 → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7271adantl 481 . . . . . . . . . . . . . . . . . . 19 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (𝑦 ∈ ℕ0 → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7372com12 32 . . . . . . . . . . . . . . . . . 18 (𝑦 ∈ ℕ0 → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7473adantr 480 . . . . . . . . . . . . . . . . 17 ((𝑦 ∈ ℕ0 ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7562, 74mpid 44 . . . . . . . . . . . . . . . 16 ((𝑦 ∈ ℕ0 ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7675ex 412 . . . . . . . . . . . . . . 15 (𝑦 ∈ ℕ0 → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7776com13 88 . . . . . . . . . . . . . 14 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → (𝑦 ∈ ℕ0 → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7877imp 406 . . . . . . . . . . . . 13 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑦 ∈ ℕ0 → (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7978com13 88 . . . . . . . . . . . 12 𝑦𝑠 → (𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
8058, 79jaoi 853 . . . . . . . . . . 11 ((¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠) → (𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
8153, 80syl5bir 242 . . . . . . . . . 10 ((¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠) → (¬ ¬ 𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
8281impcom 407 . . . . . . . . 9 ((¬ ¬ 𝑦 ∈ ℕ0 ∧ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)) → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
8352, 82jaoi3 1057 . . . . . . . 8 ((¬ 𝑦 ∈ ℕ0 ∨ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)) → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
8448, 83sylbi 216 . . . . . . 7 𝑦 ∈ (0...𝑠) → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
8584com12 32 . . . . . 6 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (¬ 𝑦 ∈ (0...𝑠) → ¬ 𝑦𝑆))
8685con4d 115 . . . . 5 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑦𝑆𝑦 ∈ (0...𝑠)))
8786ssrdv 3923 . . . 4 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → 𝑆 ⊆ (0...𝑠))
88 ssfi 8918 . . . 4 (((0...𝑠) ∈ Fin ∧ 𝑆 ⊆ (0...𝑠)) → 𝑆 ∈ Fin)
8943, 87, 88sylancr 586 . . 3 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → 𝑆 ∈ Fin)
9089rexlimdva2 3215 . 2 (𝑆 ⊆ ℕ0 → (∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → 𝑆 ∈ Fin))
9142, 90impbid 211 1 (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin ↔ ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395  wo 843  w3o 1084  w3a 1085   = wceq 1539  wcel 2108  wne 2942  wnel 3048  wral 3063  wrex 3064  wss 3883  c0 4253   class class class wbr 5070   Or wor 5493  (class class class)co 7255  Fincfn 8691  cr 10801  0cc0 10802   < clt 10940  cle 10941  0cn0 12163  ...cfz 13168
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rmo 3071  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-n0 12164  df-z 12250  df-uz 12512  df-fz 13169
This theorem is referenced by:  rabssnn0fi  13634
  Copyright terms: Public domain W3C validator