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

Theorem fz0fzelfz0 9844
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 9832 . . . 4 (𝑁 ∈ (0...𝑅) ↔ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅))
2 elfz2 9737 . . . . . 6 (𝑀 ∈ (𝑁...𝑅) ↔ ((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)))
3 simplr 502 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → 𝑀 ∈ ℤ)
4 0red 7731 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 0 ∈ ℝ)
5 nn0re 8937 . . . . . . . . . . . . . . . . . . . . 21 (𝑁 ∈ ℕ0𝑁 ∈ ℝ)
65adantr 272 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 𝑁 ∈ ℝ)
7 zre 9009 . . . . . . . . . . . . . . . . . . . . 21 (𝑀 ∈ ℤ → 𝑀 ∈ ℝ)
87adantl 273 . . . . . . . . . . . . . . . . . . . 20 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 𝑀 ∈ ℝ)
94, 6, 83jca 1144 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → (0 ∈ ℝ ∧ 𝑁 ∈ ℝ ∧ 𝑀 ∈ ℝ))
109adantr 272 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → (0 ∈ ℝ ∧ 𝑁 ∈ ℝ ∧ 𝑀 ∈ ℝ))
11 nn0ge0 8953 . . . . . . . . . . . . . . . . . . . 20 (𝑁 ∈ ℕ0 → 0 ≤ 𝑁)
1211adantr 272 . . . . . . . . . . . . . . . . . . 19 ((𝑁 ∈ ℕ0𝑀 ∈ ℤ) → 0 ≤ 𝑁)
1312anim1i 336 . . . . . . . . . . . . . . . . . 18 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → (0 ≤ 𝑁𝑁𝑀))
14 letr 7811 . . . . . . . . . . . . . . . . . 18 ((0 ∈ ℝ ∧ 𝑁 ∈ ℝ ∧ 𝑀 ∈ ℝ) → ((0 ≤ 𝑁𝑁𝑀) → 0 ≤ 𝑀))
1510, 13, 14sylc 62 . . . . . . . . . . . . . . . . 17 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → 0 ≤ 𝑀)
16 elnn0z 9018 . . . . . . . . . . . . . . . . 17 (𝑀 ∈ ℕ0 ↔ (𝑀 ∈ ℤ ∧ 0 ≤ 𝑀))
173, 15, 16sylanbrc 411 . . . . . . . . . . . . . . . 16 (((𝑁 ∈ ℕ0𝑀 ∈ ℤ) ∧ 𝑁𝑀) → 𝑀 ∈ ℕ0)
1817exp31 359 . . . . . . . . . . . . . . 15 (𝑁 ∈ ℕ0 → (𝑀 ∈ ℤ → (𝑁𝑀𝑀 ∈ ℕ0)))
1918com23 78 . . . . . . . . . . . . . 14 (𝑁 ∈ ℕ0 → (𝑁𝑀 → (𝑀 ∈ ℤ → 𝑀 ∈ ℕ0)))
20193ad2ant1 985 . . . . . . . . . . . . 13 ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑁𝑀 → (𝑀 ∈ ℤ → 𝑀 ∈ ℕ0)))
2120com13 80 . . . . . . . . . . . 12 (𝑀 ∈ ℤ → (𝑁𝑀 → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0)))
2221adantrd 275 . . . . . . . . . . 11 (𝑀 ∈ ℤ → ((𝑁𝑀𝑀𝑅) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0)))
23223ad2ant3 987 . . . . . . . . . 10 ((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) → ((𝑁𝑀𝑀𝑅) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0)))
2423imp 123 . . . . . . . . 9 (((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → 𝑀 ∈ ℕ0))
2524imp 123 . . . . . . . 8 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → 𝑀 ∈ ℕ0)
26 simpr2 971 . . . . . . . 8 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → 𝑅 ∈ ℕ0)
27 simplrr 508 . . . . . . . 8 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → 𝑀𝑅)
2825, 26, 273jca 1144 . . . . . . 7 ((((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) ∧ (𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅)) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅))
2928ex 114 . . . . . 6 (((𝑁 ∈ ℤ ∧ 𝑅 ∈ ℤ ∧ 𝑀 ∈ ℤ) ∧ (𝑁𝑀𝑀𝑅)) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
302, 29sylbi 120 . . . . 5 (𝑀 ∈ (𝑁...𝑅) → ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
3130com12 30 . . . 4 ((𝑁 ∈ ℕ0𝑅 ∈ ℕ0𝑁𝑅) → (𝑀 ∈ (𝑁...𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
321, 31sylbi 120 . . 3 (𝑁 ∈ (0...𝑅) → (𝑀 ∈ (𝑁...𝑅) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅)))
3332imp 123 . 2 ((𝑁 ∈ (0...𝑅) ∧ 𝑀 ∈ (𝑁...𝑅)) → (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅))
34 elfz2nn0 9832 . 2 (𝑀 ∈ (0...𝑅) ↔ (𝑀 ∈ ℕ0𝑅 ∈ ℕ0𝑀𝑅))
3533, 34sylibr 133 1 ((𝑁 ∈ (0...𝑅) ∧ 𝑀 ∈ (𝑁...𝑅)) → 𝑀 ∈ (0...𝑅))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  w3a 945  wcel 1463   class class class wbr 3897  (class class class)co 5740  cr 7583  0cc0 7584  cle 7765  0cn0 8928  cz 9005  ...cfz 9730
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 586  ax-in2 587  ax-io 681  ax-5 1406  ax-7 1407  ax-gen 1408  ax-ie1 1452  ax-ie2 1453  ax-8 1465  ax-10 1466  ax-11 1467  ax-i12 1468  ax-bndl 1469  ax-4 1470  ax-13 1474  ax-14 1475  ax-17 1489  ax-i9 1493  ax-ial 1497  ax-i5r 1498  ax-ext 2097  ax-sep 4014  ax-pow 4066  ax-pr 4099  ax-un 4323  ax-setind 4420  ax-cnex 7675  ax-resscn 7676  ax-1cn 7677  ax-1re 7678  ax-icn 7679  ax-addcl 7680  ax-addrcl 7681  ax-mulcl 7682  ax-addcom 7684  ax-addass 7686  ax-distr 7688  ax-i2m1 7689  ax-0lt1 7690  ax-0id 7692  ax-rnegex 7693  ax-cnre 7695  ax-pre-ltirr 7696  ax-pre-ltwlin 7697  ax-pre-lttrn 7698  ax-pre-ltadd 7700
This theorem depends on definitions:  df-bi 116  df-3or 946  df-3an 947  df-tru 1317  df-fal 1320  df-nf 1420  df-sb 1719  df-eu 1978  df-mo 1979  df-clab 2102  df-cleq 2108  df-clel 2111  df-nfc 2245  df-ne 2284  df-nel 2379  df-ral 2396  df-rex 2397  df-reu 2398  df-rab 2400  df-v 2660  df-sbc 2881  df-dif 3041  df-un 3043  df-in 3045  df-ss 3052  df-pw 3480  df-sn 3501  df-pr 3502  df-op 3504  df-uni 3705  df-int 3740  df-br 3898  df-opab 3958  df-mpt 3959  df-id 4183  df-xp 4513  df-rel 4514  df-cnv 4515  df-co 4516  df-dm 4517  df-rn 4518  df-res 4519  df-ima 4520  df-iota 5056  df-fun 5093  df-fn 5094  df-f 5095  df-fv 5099  df-riota 5696  df-ov 5743  df-oprab 5744  df-mpo 5745  df-pnf 7766  df-mnf 7767  df-xr 7768  df-ltxr 7769  df-le 7770  df-sub 7899  df-neg 7900  df-inn 8678  df-n0 8929  df-z 9006  df-uz 9276  df-fz 9731
This theorem is referenced by:  fz0fzdiffz0  9847
  Copyright terms: Public domain W3C validator