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

Theorem ssnn0fi 13437
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 11984 . . . . . 6 0 ∈ ℕ0
21a1i 11 . . . . 5 (𝑆 = ∅ → 0 ∈ ℕ0)
3 breq1 5030 . . . . . . . 8 (𝑠 = 0 → (𝑠 < 𝑥 ↔ 0 < 𝑥))
43imbi1d 345 . . . . . . 7 (𝑠 = 0 → ((𝑠 < 𝑥𝑥𝑆) ↔ (0 < 𝑥𝑥𝑆)))
54ralbidv 3109 . . . . . 6 (𝑠 = 0 → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) ↔ ∀𝑥 ∈ ℕ0 (0 < 𝑥𝑥𝑆)))
65adantl 485 . . . . 5 ((𝑆 = ∅ ∧ 𝑠 = 0) → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) ↔ ∀𝑥 ∈ ℕ0 (0 < 𝑥𝑥𝑆)))
7 nnel 3047 . . . . . . . . 9 𝑥𝑆𝑥𝑆)
8 n0i 4220 . . . . . . . . 9 (𝑥𝑆 → ¬ 𝑆 = ∅)
97, 8sylbi 220 . . . . . . . 8 𝑥𝑆 → ¬ 𝑆 = ∅)
109con4i 114 . . . . . . 7 (𝑆 = ∅ → 𝑥𝑆)
1110a1d 25 . . . . . 6 (𝑆 = ∅ → (0 < 𝑥𝑥𝑆))
1211ralrimivw 3097 . . . . 5 (𝑆 = ∅ → ∀𝑥 ∈ ℕ0 (0 < 𝑥𝑥𝑆))
132, 6, 12rspcedvd 3527 . . . 4 (𝑆 = ∅ → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))
14132a1d 26 . . 3 (𝑆 = ∅ → (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))))
15 ltso 10792 . . . . . . 7 < Or ℝ
16 id 22 . . . . . . . . 9 (𝑆 ⊆ ℕ0𝑆 ⊆ ℕ0)
17 nn0ssre 11973 . . . . . . . . 9 0 ⊆ ℝ
1816, 17sstrdi 3887 . . . . . . . 8 (𝑆 ⊆ ℕ0𝑆 ⊆ ℝ)
19183anim3i 1155 . . . . . . 7 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → (𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℝ))
20 fisup2g 8998 . . . . . . 7 (( < Or ℝ ∧ (𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℝ)) → ∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)))
2115, 19, 20sylancr 590 . . . . . 6 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → ∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)))
22 simp3 1139 . . . . . . 7 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → 𝑆 ⊆ ℕ0)
23 breq2 5031 . . . . . . . . . . . . . . . . . . . 20 (𝑦 = 𝑥 → (𝑠 < 𝑦𝑠 < 𝑥))
2423notbid 321 . . . . . . . . . . . . . . . . . . 19 (𝑦 = 𝑥 → (¬ 𝑠 < 𝑦 ↔ ¬ 𝑠 < 𝑥))
2524rspcva 3522 . . . . . . . . . . . . . . . . . 18 ((𝑥𝑆 ∧ ∀𝑦𝑆 ¬ 𝑠 < 𝑦) → ¬ 𝑠 < 𝑥)
26252a1d 26 . . . . . . . . . . . . . . . . 17 ((𝑥𝑆 ∧ ∀𝑦𝑆 ¬ 𝑠 < 𝑦) → (𝑥 ∈ ℕ0 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ¬ 𝑠 < 𝑥)))
2726expcom 417 . . . . . . . . . . . . . . . 16 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 → (𝑥𝑆 → (𝑥 ∈ ℕ0 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ¬ 𝑠 < 𝑥))))
2827com24 95 . . . . . . . . . . . . . . 15 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → (𝑥 ∈ ℕ0 → (𝑥𝑆 → ¬ 𝑠 < 𝑥))))
2928imp31 421 . . . . . . . . . . . . . 14 (((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) ∧ 𝑥 ∈ ℕ0) → (𝑥𝑆 → ¬ 𝑠 < 𝑥))
307, 29syl5bi 245 . . . . . . . . . . . . 13 (((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) ∧ 𝑥 ∈ ℕ0) → (¬ 𝑥𝑆 → ¬ 𝑠 < 𝑥))
3130con4d 115 . . . . . . . . . . . 12 (((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) ∧ 𝑥 ∈ ℕ0) → (𝑠 < 𝑥𝑥𝑆))
3231ralrimiva 3096 . . . . . . . . . . 11 ((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆)) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))
3332ex 416 . . . . . . . . . 10 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3433adantr 484 . . . . . . . . 9 ((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3534com12 32 . . . . . . . 8 (((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) ∧ 𝑠𝑆) → ((∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3635reximdva 3183 . . . . . . 7 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → (∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → ∃𝑠𝑆𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
37 ssrexv 3942 . . . . . . 7 (𝑆 ⊆ ℕ0 → (∃𝑠𝑆𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3822, 36, 37sylsyld 61 . . . . . 6 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → (∃𝑠𝑆 (∀𝑦𝑆 ¬ 𝑠 < 𝑦 ∧ ∀𝑦 ∈ ℝ (𝑦 < 𝑠 → ∃𝑧𝑆 𝑦 < 𝑧)) → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
3921, 38mpd 15 . . . . 5 ((𝑆 ∈ Fin ∧ 𝑆 ≠ ∅ ∧ 𝑆 ⊆ ℕ0) → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))
40393exp 1120 . . . 4 (𝑆 ∈ Fin → (𝑆 ≠ ∅ → (𝑆 ⊆ ℕ0 → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))))
4140com3l 89 . . 3 (𝑆 ≠ ∅ → (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆))))
4214, 41pm2.61ine 3017 . 2 (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin → ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
43 fzfi 13424 . . . 4 (0...𝑠) ∈ Fin
44 elfz2nn0 13082 . . . . . . . . . 10 (𝑦 ∈ (0...𝑠) ↔ (𝑦 ∈ ℕ0𝑠 ∈ ℕ0𝑦𝑠))
4544notbii 323 . . . . . . . . 9 𝑦 ∈ (0...𝑠) ↔ ¬ (𝑦 ∈ ℕ0𝑠 ∈ ℕ0𝑦𝑠))
46 3ianor 1108 . . . . . . . . 9 (¬ (𝑦 ∈ ℕ0𝑠 ∈ ℕ0𝑦𝑠) ↔ (¬ 𝑦 ∈ ℕ0 ∨ ¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠))
47 3orass 1091 . . . . . . . . 9 ((¬ 𝑦 ∈ ℕ0 ∨ ¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠) ↔ (¬ 𝑦 ∈ ℕ0 ∨ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)))
4845, 46, 473bitri 300 . . . . . . . 8 𝑦 ∈ (0...𝑠) ↔ (¬ 𝑦 ∈ ℕ0 ∨ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)))
49 ssel 3868 . . . . . . . . . . . 12 (𝑆 ⊆ ℕ0 → (𝑦𝑆𝑦 ∈ ℕ0))
5049adantr 484 . . . . . . . . . . 11 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (𝑦𝑆𝑦 ∈ ℕ0))
5150adantr 484 . . . . . . . . . 10 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑦𝑆𝑦 ∈ ℕ0))
5251con3rr3 158 . . . . . . . . 9 𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
53 notnotb 318 . . . . . . . . . . 11 (𝑦 ∈ ℕ0 ↔ ¬ ¬ 𝑦 ∈ ℕ0)
54 pm2.24 124 . . . . . . . . . . . . . . . 16 (𝑠 ∈ ℕ0 → (¬ 𝑠 ∈ ℕ0 → ¬ 𝑦𝑆))
5554adantl 485 . . . . . . . . . . . . . . 15 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (¬ 𝑠 ∈ ℕ0 → ¬ 𝑦𝑆))
5655adantr 484 . . . . . . . . . . . . . 14 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (¬ 𝑠 ∈ ℕ0 → ¬ 𝑦𝑆))
5756com12 32 . . . . . . . . . . . . 13 𝑠 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
5857a1d 25 . . . . . . . . . . . 12 𝑠 ∈ ℕ0 → (𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
59 breq2 5031 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑦 → (𝑠 < 𝑥𝑠 < 𝑦))
60 neleq1 3043 . . . . . . . . . . . . . . . . . . 19 (𝑥 = 𝑦 → (𝑥𝑆𝑦𝑆))
6159, 60imbi12d 348 . . . . . . . . . . . . . . . . . 18 (𝑥 = 𝑦 → ((𝑠 < 𝑥𝑥𝑆) ↔ (𝑠 < 𝑦𝑦𝑆)))
6261rspcva 3522 . . . . . . . . . . . . . . . . 17 ((𝑦 ∈ ℕ0 ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑠 < 𝑦𝑦𝑆))
63 nn0re 11978 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑠 ∈ ℕ0𝑠 ∈ ℝ)
64 nn0re 11978 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑦 ∈ ℕ0𝑦 ∈ ℝ)
65 ltnle 10791 . . . . . . . . . . . . . . . . . . . . . . . 24 ((𝑠 ∈ ℝ ∧ 𝑦 ∈ ℝ) → (𝑠 < 𝑦 ↔ ¬ 𝑦𝑠))
6663, 64, 65syl2an 599 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → (𝑠 < 𝑦 ↔ ¬ 𝑦𝑠))
67 df-nel 3039 . . . . . . . . . . . . . . . . . . . . . . . 24 (𝑦𝑆 ↔ ¬ 𝑦𝑆)
6867a1i 11 . . . . . . . . . . . . . . . . . . . . . . 23 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → (𝑦𝑆 ↔ ¬ 𝑦𝑆))
6966, 68imbi12d 348 . . . . . . . . . . . . . . . . . . . . . 22 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) ↔ (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7069biimpd 232 . . . . . . . . . . . . . . . . . . . . 21 ((𝑠 ∈ ℕ0𝑦 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7170ex 416 . . . . . . . . . . . . . . . . . . . 20 (𝑠 ∈ ℕ0 → (𝑦 ∈ ℕ0 → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7271adantl 485 . . . . . . . . . . . . . . . . . . 19 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (𝑦 ∈ ℕ0 → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7372com12 32 . . . . . . . . . . . . . . . . . 18 (𝑦 ∈ ℕ0 → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7473adantr 484 . . . . . . . . . . . . . . . . 17 ((𝑦 ∈ ℕ0 ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → ((𝑠 < 𝑦𝑦𝑆) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7562, 74mpid 44 . . . . . . . . . . . . . . . 16 ((𝑦 ∈ ℕ0 ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7675ex 416 . . . . . . . . . . . . . . 15 (𝑦 ∈ ℕ0 → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7776com13 88 . . . . . . . . . . . . . 14 ((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) → (∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → (𝑦 ∈ ℕ0 → (¬ 𝑦𝑠 → ¬ 𝑦𝑆))))
7877imp 410 . . . . . . . . . . . . 13 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑦 ∈ ℕ0 → (¬ 𝑦𝑠 → ¬ 𝑦𝑆)))
7978com13 88 . . . . . . . . . . . 12 𝑦𝑠 → (𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
8058, 79jaoi 856 . . . . . . . . . . 11 ((¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠) → (𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
8153, 80syl5bir 246 . . . . . . . . . 10 ((¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠) → (¬ ¬ 𝑦 ∈ ℕ0 → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆)))
8281impcom 411 . . . . . . . . 9 ((¬ ¬ 𝑦 ∈ ℕ0 ∧ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)) → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
8352, 82jaoi3 1060 . . . . . . . 8 ((¬ 𝑦 ∈ ℕ0 ∨ (¬ 𝑠 ∈ ℕ0 ∨ ¬ 𝑦𝑠)) → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
8448, 83sylbi 220 . . . . . . 7 𝑦 ∈ (0...𝑠) → (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → ¬ 𝑦𝑆))
8584com12 32 . . . . . 6 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (¬ 𝑦 ∈ (0...𝑠) → ¬ 𝑦𝑆))
8685con4d 115 . . . . 5 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → (𝑦𝑆𝑦 ∈ (0...𝑠)))
8786ssrdv 3881 . . . 4 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → 𝑆 ⊆ (0...𝑠))
88 ssfi 8765 . . . 4 (((0...𝑠) ∈ Fin ∧ 𝑆 ⊆ (0...𝑠)) → 𝑆 ∈ Fin)
8943, 87, 88sylancr 590 . . 3 (((𝑆 ⊆ ℕ0𝑠 ∈ ℕ0) ∧ ∀𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)) → 𝑆 ∈ Fin)
9089rexlimdva2 3196 . 2 (𝑆 ⊆ ℕ0 → (∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆) → 𝑆 ∈ Fin))
9142, 90impbid 215 1 (𝑆 ⊆ ℕ0 → (𝑆 ∈ Fin ↔ ∃𝑠 ∈ ℕ0𝑥 ∈ ℕ0 (𝑠 < 𝑥𝑥𝑆)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  wo 846  w3o 1087  w3a 1088   = wceq 1542  wcel 2113  wne 2934  wnel 3038  wral 3053  wrex 3054  wss 3841  c0 4209   class class class wbr 5027   Or wor 5437  (class class class)co 7164  Fincfn 8548  cr 10607  0cc0 10608   < clt 10746  cle 10747  0cn0 11969  ...cfz 12974
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-ext 2710  ax-sep 5164  ax-nul 5171  ax-pow 5229  ax-pr 5293  ax-un 7473  ax-cnex 10664  ax-resscn 10665  ax-1cn 10666  ax-icn 10667  ax-addcl 10668  ax-addrcl 10669  ax-mulcl 10670  ax-mulrcl 10671  ax-mulcom 10672  ax-addass 10673  ax-mulass 10674  ax-distr 10675  ax-i2m1 10676  ax-1ne0 10677  ax-1rid 10678  ax-rnegex 10679  ax-rrecex 10680  ax-cnre 10681  ax-pre-lttri 10682  ax-pre-lttrn 10683  ax-pre-ltadd 10684  ax-pre-mulgt0 10685
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-nel 3039  df-ral 3058  df-rex 3059  df-reu 3060  df-rmo 3061  df-rab 3062  df-v 3399  df-sbc 3680  df-csb 3789  df-dif 3844  df-un 3846  df-in 3848  df-ss 3858  df-pss 3860  df-nul 4210  df-if 4412  df-pw 4487  df-sn 4514  df-pr 4516  df-tp 4518  df-op 4520  df-uni 4794  df-iun 4880  df-br 5028  df-opab 5090  df-mpt 5108  df-tr 5134  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6123  df-ord 6169  df-on 6170  df-lim 6171  df-suc 6172  df-iota 6291  df-fun 6335  df-fn 6336  df-f 6337  df-f1 6338  df-fo 6339  df-f1o 6340  df-fv 6341  df-riota 7121  df-ov 7167  df-oprab 7168  df-mpo 7169  df-om 7594  df-1st 7707  df-2nd 7708  df-wrecs 7969  df-recs 8030  df-rdg 8068  df-1o 8124  df-er 8313  df-en 8549  df-dom 8550  df-sdom 8551  df-fin 8552  df-pnf 10748  df-mnf 10749  df-xr 10750  df-ltxr 10751  df-le 10752  df-sub 10943  df-neg 10944  df-nn 11710  df-n0 11970  df-z 12056  df-uz 12318  df-fz 12975
This theorem is referenced by:  rabssnn0fi  13438
  Copyright terms: Public domain W3C validator