ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fz0fzelfz0 GIF version

Theorem fz0fzelfz0 9215
Description: If a member of a finite set of sequential integers with a lower bound being a member of a finite set of sequential nonnegative integers with the same upper bound, this member is also a member of the finite set of sequential nonnegative integers. (Contributed by Alexander van der Vekens, 21-Apr-2018.)
Assertion
Ref Expression
fz0fzelfz0 ((𝑁 ∈ (0...𝑅) ∧ 𝑀 ∈ (𝑁...𝑅)) → 𝑀 ∈ (0...𝑅))

Proof of Theorem fz0fzelfz0
StepHypRef Expression
1 elfz2nn0 9205 . . . 4 (𝑁 ∈ (0...𝑅) ↔ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅))
2 elfz2 9112 . . . . . 6 (𝑀 ∈ (𝑁...𝑅) ↔ ((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)))
3 simplr 497 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → 𝑀 ∈ ℤ)
4 0red 7182 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 0 ∈ ℝ)
5 nn0re 8364 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
65adantr 270 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 𝑁 ∈ ℝ)
7 zre 8436 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℤ → 𝑀 ∈ ℝ)
87adantl 271 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 𝑀 ∈ ℝ)
94, 6, 83jca 1119 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → (0 ∈ ℝ ∧ 𝑁 ∈ ℝ ∧ 𝑀 ∈ ℝ))
109adantr 270 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → (0 ∈ ℝ ∧ 𝑁 ∈ ℝ ∧ 𝑀 ∈ ℝ))
11 nn0ge0 8380 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ0 → 0 ≤ 𝑁)
1211adantr 270 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 0 ≤ 𝑁)
1312anim1i 333 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → (0 ≤ 𝑁𝑁𝑀))
14 letr 7261 . . . . . . . . . . . . . . . . . 18 ((0 ∈ ℝ ∧ 𝑁 ∈ ℝ ∧ 𝑀 ∈ ℝ) → ((0 ≤ 𝑁𝑁𝑀) → 0 ≤ 𝑀))
1510, 13, 14sylc 61 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → 0 ≤ 𝑀)
16 elnn0z 8445 . . . . . . . . . . . . . . . . 17 (𝑀 ∈ ℕ0 ↔ (𝑀 ∈ ℤ ∧ 0 ≤ 𝑀))
173, 15, 16sylanbrc 408 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → 𝑀 ∈ ℕ0)
1817exp31 356 . . . . . . . . . . . . . . 15 (𝑁 ∈ ℕ0 → (𝑀 ∈ ℤ → (𝑁𝑀𝑀 ∈ ℕ0)))
1918com23 77 . . . . . . . . . . . . . 14 (𝑁 ∈ ℕ0 → (𝑁𝑀 → (𝑀 ∈ ℤ → 𝑀 ∈ ℕ0)))
20193ad2ant1 960 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑁𝑀 → (𝑀 ∈ ℤ → 𝑀 ∈ ℕ0)))
2120com13 79 . . . . . . . . . . . 12 (𝑀 ∈ ℤ → (𝑁𝑀 → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0)))
2221adantrd 273 . . . . . . . . . . 11 (𝑀 ∈ ℤ → ((𝑁𝑀𝑀𝑅) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0)))
23223ad2ant3 962 . . . . . . . . . 10 ((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((𝑁𝑀𝑀𝑅) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0)))
2423imp 122 . . . . . . . . 9 (((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0))
2524imp 122 . . . . . . . 8 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → 𝑀 ∈ ℕ0)
26 simpr2 946 . . . . . . . 8 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → 𝑅 ∈ ℕ0)
27 simplrr 503 . . . . . . . 8 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → 𝑀𝑅)
2825, 26, 273jca 1119 . . . . . . 7 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅))
2928ex 113 . . . . . 6 (((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
302, 29sylbi 119 . . . . 5 (𝑀 ∈ (𝑁...𝑅) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
3130com12 30 . . . 4 ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑀 ∈ (𝑁...𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
321, 31sylbi 119 . . 3 (𝑁 ∈ (0...𝑅) → (𝑀 ∈ (𝑁...𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
3332imp 122 . 2 ((𝑁 ∈ (0...𝑅) ∧ 𝑀 ∈ (𝑁...𝑅)) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅))
34 elfz2nn0 9205 . 2 (𝑀 ∈ (0...𝑅) ↔ (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅))
3533, 34sylibr 132 1 ((𝑁 ∈ (0...𝑅) ∧ 𝑀 ∈ (𝑁...𝑅)) → 𝑀 ∈ (0...𝑅))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102  w3a 920  wcel 1434   class class class wbr 3793  (class class class)co 5543  cr 7042  0cc0 7043  cle 7216  0cn0 8355  cz 8432  ...cfz 9105
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 577  ax-in2 578  ax-io 663  ax-5 1377  ax-7 1378  ax-gen 1379  ax-ie1 1423  ax-ie2 1424  ax-8 1436  ax-10 1437  ax-11 1438  ax-i12 1439  ax-bndl 1440  ax-4 1441  ax-13 1445  ax-14 1446  ax-17 1460  ax-i9 1464  ax-ial 1468  ax-i5r 1469  ax-ext 2064  ax-sep 3904  ax-pow 3956  ax-pr 3972  ax-un 4196  ax-setind 4288  ax-cnex 7129  ax-resscn 7130  ax-1cn 7131  ax-1re 7132  ax-icn 7133  ax-addcl 7134  ax-addrcl 7135  ax-mulcl 7136  ax-addcom 7138  ax-addass 7140  ax-distr 7142  ax-i2m1 7143  ax-0lt1 7144  ax-0id 7146  ax-rnegex 7147  ax-cnre 7149  ax-pre-ltirr 7150  ax-pre-ltwlin 7151  ax-pre-lttrn 7152  ax-pre-ltadd 7154
This theorem depends on definitions:  df-bi 115  df-3or 921  df-3an 922  df-tru 1288  df-fal 1291  df-nf 1391  df-sb 1687  df-eu 1945  df-mo 1946  df-clab 2069  df-cleq 2075  df-clel 2078  df-nfc 2209  df-ne 2247  df-nel 2341  df-ral 2354  df-rex 2355  df-reu 2356  df-rab 2358  df-v 2604  df-sbc 2817  df-dif 2976  df-un 2978  df-in 2980  df-ss 2987  df-pw 3392  df-sn 3412  df-pr 3413  df-op 3415  df-uni 3610  df-int 3645  df-br 3794  df-opab 3848  df-mpt 3849  df-id 4056  df-xp 4377  df-rel 4378  df-cnv 4379  df-co 4380  df-dm 4381  df-rn 4382  df-res 4383  df-ima 4384  df-iota 4897  df-fun 4934  df-fn 4935  df-f 4936  df-fv 4940  df-riota 5499  df-ov 5546  df-oprab 5547  df-mpt2 5548  df-pnf 7217  df-mnf 7218  df-xr 7219  df-ltxr 7220  df-le 7221  df-sub 7348  df-neg 7349  df-inn 8107  df-n0 8356  df-z 8433  df-uz 8701  df-fz 9106
This theorem is referenced by:  fz0fzdiffz0  9218
  Copyright terms: Public domain W3C validator