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

Theorem monoord 9869
Description: Ordering relation for a monotonic sequence, increasing case. (Contributed by NM, 13-Mar-2005.) (Revised by Mario Carneiro, 9-Feb-2014.)
Hypotheses
Ref Expression
monoord.1 (𝜑𝑁 ∈ (ℤ𝑀))
monoord.2 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐹𝑘) ∈ ℝ)
monoord.3 ((𝜑𝑘 ∈ (𝑀...(𝑁 − 1))) → (𝐹𝑘) ≤ (𝐹‘(𝑘 + 1)))
Assertion
Ref Expression
monoord (𝜑 → (𝐹𝑀) ≤ (𝐹𝑁))
Distinct variable groups:   𝑘,𝐹   𝑘,𝑀   𝑘,𝑁   𝜑,𝑘

Proof of Theorem monoord
Dummy variables 𝑛 𝑥 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 monoord.1 . . 3 (𝜑𝑁 ∈ (ℤ𝑀))
2 eluzfz2 9415 . . 3 (𝑁 ∈ (ℤ𝑀) → 𝑁 ∈ (𝑀...𝑁))
31, 2syl 14 . 2 (𝜑𝑁 ∈ (𝑀...𝑁))
4 eleq1 2150 . . . . . 6 (𝑥 = 𝑀 → (𝑥 ∈ (𝑀...𝑁) ↔ 𝑀 ∈ (𝑀...𝑁)))
5 fveq2 5289 . . . . . . 7 (𝑥 = 𝑀 → (𝐹𝑥) = (𝐹𝑀))
65breq2d 3849 . . . . . 6 (𝑥 = 𝑀 → ((𝐹𝑀) ≤ (𝐹𝑥) ↔ (𝐹𝑀) ≤ (𝐹𝑀)))
74, 6imbi12d 232 . . . . 5 (𝑥 = 𝑀 → ((𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥)) ↔ (𝑀 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑀))))
87imbi2d 228 . . . 4 (𝑥 = 𝑀 → ((𝜑 → (𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥))) ↔ (𝜑 → (𝑀 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑀)))))
9 eleq1 2150 . . . . . 6 (𝑥 = 𝑛 → (𝑥 ∈ (𝑀...𝑁) ↔ 𝑛 ∈ (𝑀...𝑁)))
10 fveq2 5289 . . . . . . 7 (𝑥 = 𝑛 → (𝐹𝑥) = (𝐹𝑛))
1110breq2d 3849 . . . . . 6 (𝑥 = 𝑛 → ((𝐹𝑀) ≤ (𝐹𝑥) ↔ (𝐹𝑀) ≤ (𝐹𝑛)))
129, 11imbi12d 232 . . . . 5 (𝑥 = 𝑛 → ((𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥)) ↔ (𝑛 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛))))
1312imbi2d 228 . . . 4 (𝑥 = 𝑛 → ((𝜑 → (𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥))) ↔ (𝜑 → (𝑛 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛)))))
14 eleq1 2150 . . . . . 6 (𝑥 = (𝑛 + 1) → (𝑥 ∈ (𝑀...𝑁) ↔ (𝑛 + 1) ∈ (𝑀...𝑁)))
15 fveq2 5289 . . . . . . 7 (𝑥 = (𝑛 + 1) → (𝐹𝑥) = (𝐹‘(𝑛 + 1)))
1615breq2d 3849 . . . . . 6 (𝑥 = (𝑛 + 1) → ((𝐹𝑀) ≤ (𝐹𝑥) ↔ (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1))))
1714, 16imbi12d 232 . . . . 5 (𝑥 = (𝑛 + 1) → ((𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥)) ↔ ((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1)))))
1817imbi2d 228 . . . 4 (𝑥 = (𝑛 + 1) → ((𝜑 → (𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥))) ↔ (𝜑 → ((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1))))))
19 eleq1 2150 . . . . . 6 (𝑥 = 𝑁 → (𝑥 ∈ (𝑀...𝑁) ↔ 𝑁 ∈ (𝑀...𝑁)))
20 fveq2 5289 . . . . . . 7 (𝑥 = 𝑁 → (𝐹𝑥) = (𝐹𝑁))
2120breq2d 3849 . . . . . 6 (𝑥 = 𝑁 → ((𝐹𝑀) ≤ (𝐹𝑥) ↔ (𝐹𝑀) ≤ (𝐹𝑁)))
2219, 21imbi12d 232 . . . . 5 (𝑥 = 𝑁 → ((𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥)) ↔ (𝑁 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑁))))
2322imbi2d 228 . . . 4 (𝑥 = 𝑁 → ((𝜑 → (𝑥 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑥))) ↔ (𝜑 → (𝑁 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑁)))))
24 fveq2 5289 . . . . . . . . 9 (𝑘 = 𝑀 → (𝐹𝑘) = (𝐹𝑀))
2524eleq1d 2156 . . . . . . . 8 (𝑘 = 𝑀 → ((𝐹𝑘) ∈ ℝ ↔ (𝐹𝑀) ∈ ℝ))
26 monoord.2 . . . . . . . . 9 ((𝜑𝑘 ∈ (𝑀...𝑁)) → (𝐹𝑘) ∈ ℝ)
2726ralrimiva 2446 . . . . . . . 8 (𝜑 → ∀𝑘 ∈ (𝑀...𝑁)(𝐹𝑘) ∈ ℝ)
28 eluzfz1 9414 . . . . . . . . 9 (𝑁 ∈ (ℤ𝑀) → 𝑀 ∈ (𝑀...𝑁))
291, 28syl 14 . . . . . . . 8 (𝜑𝑀 ∈ (𝑀...𝑁))
3025, 27, 29rspcdva 2727 . . . . . . 7 (𝜑 → (𝐹𝑀) ∈ ℝ)
3130leidd 7968 . . . . . 6 (𝜑 → (𝐹𝑀) ≤ (𝐹𝑀))
3231a1d 22 . . . . 5 (𝜑 → (𝑀 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑀)))
3332a1i 9 . . . 4 (𝑀 ∈ ℤ → (𝜑 → (𝑀 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑀))))
34 simprl 498 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → 𝑛 ∈ (ℤ𝑀))
35 simprr 499 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → (𝑛 + 1) ∈ (𝑀...𝑁))
36 peano2fzr 9420 . . . . . . . . . 10 ((𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁)) → 𝑛 ∈ (𝑀...𝑁))
3734, 35, 36syl2anc 403 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → 𝑛 ∈ (𝑀...𝑁))
3837expr 367 . . . . . . . 8 ((𝜑𝑛 ∈ (ℤ𝑀)) → ((𝑛 + 1) ∈ (𝑀...𝑁) → 𝑛 ∈ (𝑀...𝑁)))
3938imim1d 74 . . . . . . 7 ((𝜑𝑛 ∈ (ℤ𝑀)) → ((𝑛 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛)) → ((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛))))
40 fveq2 5289 . . . . . . . . . . . 12 (𝑘 = 𝑛 → (𝐹𝑘) = (𝐹𝑛))
41 oveq1 5641 . . . . . . . . . . . . 13 (𝑘 = 𝑛 → (𝑘 + 1) = (𝑛 + 1))
4241fveq2d 5293 . . . . . . . . . . . 12 (𝑘 = 𝑛 → (𝐹‘(𝑘 + 1)) = (𝐹‘(𝑛 + 1)))
4340, 42breq12d 3850 . . . . . . . . . . 11 (𝑘 = 𝑛 → ((𝐹𝑘) ≤ (𝐹‘(𝑘 + 1)) ↔ (𝐹𝑛) ≤ (𝐹‘(𝑛 + 1))))
44 monoord.3 . . . . . . . . . . . . 13 ((𝜑𝑘 ∈ (𝑀...(𝑁 − 1))) → (𝐹𝑘) ≤ (𝐹‘(𝑘 + 1)))
4544ralrimiva 2446 . . . . . . . . . . . 12 (𝜑 → ∀𝑘 ∈ (𝑀...(𝑁 − 1))(𝐹𝑘) ≤ (𝐹‘(𝑘 + 1)))
4645adantr 270 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → ∀𝑘 ∈ (𝑀...(𝑁 − 1))(𝐹𝑘) ≤ (𝐹‘(𝑘 + 1)))
47 eluzelz 8997 . . . . . . . . . . . . . 14 (𝑛 ∈ (ℤ𝑀) → 𝑛 ∈ ℤ)
4834, 47syl 14 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → 𝑛 ∈ ℤ)
49 elfzuz3 9406 . . . . . . . . . . . . . 14 ((𝑛 + 1) ∈ (𝑀...𝑁) → 𝑁 ∈ (ℤ‘(𝑛 + 1)))
5035, 49syl 14 . . . . . . . . . . . . 13 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → 𝑁 ∈ (ℤ‘(𝑛 + 1)))
51 eluzp1m1 9011 . . . . . . . . . . . . 13 ((𝑛 ∈ ℤ ∧ 𝑁 ∈ (ℤ‘(𝑛 + 1))) → (𝑁 − 1) ∈ (ℤ𝑛))
5248, 50, 51syl2anc 403 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → (𝑁 − 1) ∈ (ℤ𝑛))
53 elfzuzb 9403 . . . . . . . . . . . 12 (𝑛 ∈ (𝑀...(𝑁 − 1)) ↔ (𝑛 ∈ (ℤ𝑀) ∧ (𝑁 − 1) ∈ (ℤ𝑛)))
5434, 52, 53sylanbrc 408 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → 𝑛 ∈ (𝑀...(𝑁 − 1)))
5543, 46, 54rspcdva 2727 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → (𝐹𝑛) ≤ (𝐹‘(𝑛 + 1)))
5630adantr 270 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → (𝐹𝑀) ∈ ℝ)
5740eleq1d 2156 . . . . . . . . . . . 12 (𝑘 = 𝑛 → ((𝐹𝑘) ∈ ℝ ↔ (𝐹𝑛) ∈ ℝ))
5827adantr 270 . . . . . . . . . . . 12 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → ∀𝑘 ∈ (𝑀...𝑁)(𝐹𝑘) ∈ ℝ)
5957, 58, 37rspcdva 2727 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → (𝐹𝑛) ∈ ℝ)
60 fveq2 5289 . . . . . . . . . . . . 13 (𝑘 = (𝑛 + 1) → (𝐹𝑘) = (𝐹‘(𝑛 + 1)))
6160eleq1d 2156 . . . . . . . . . . . 12 (𝑘 = (𝑛 + 1) → ((𝐹𝑘) ∈ ℝ ↔ (𝐹‘(𝑛 + 1)) ∈ ℝ))
6261, 58, 35rspcdva 2727 . . . . . . . . . . 11 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → (𝐹‘(𝑛 + 1)) ∈ ℝ)
63 letr 7547 . . . . . . . . . . 11 (((𝐹𝑀) ∈ ℝ ∧ (𝐹𝑛) ∈ ℝ ∧ (𝐹‘(𝑛 + 1)) ∈ ℝ) → (((𝐹𝑀) ≤ (𝐹𝑛) ∧ (𝐹𝑛) ≤ (𝐹‘(𝑛 + 1))) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1))))
6456, 59, 62, 63syl3anc 1174 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → (((𝐹𝑀) ≤ (𝐹𝑛) ∧ (𝐹𝑛) ≤ (𝐹‘(𝑛 + 1))) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1))))
6555, 64mpan2d 419 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ (ℤ𝑀) ∧ (𝑛 + 1) ∈ (𝑀...𝑁))) → ((𝐹𝑀) ≤ (𝐹𝑛) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1))))
6665expr 367 . . . . . . . 8 ((𝜑𝑛 ∈ (ℤ𝑀)) → ((𝑛 + 1) ∈ (𝑀...𝑁) → ((𝐹𝑀) ≤ (𝐹𝑛) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1)))))
6766a2d 26 . . . . . . 7 ((𝜑𝑛 ∈ (ℤ𝑀)) → (((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛)) → ((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1)))))
6839, 67syld 44 . . . . . 6 ((𝜑𝑛 ∈ (ℤ𝑀)) → ((𝑛 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛)) → ((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1)))))
6968expcom 114 . . . . 5 (𝑛 ∈ (ℤ𝑀) → (𝜑 → ((𝑛 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛)) → ((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1))))))
7069a2d 26 . . . 4 (𝑛 ∈ (ℤ𝑀) → ((𝜑 → (𝑛 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑛))) → (𝜑 → ((𝑛 + 1) ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹‘(𝑛 + 1))))))
718, 13, 18, 23, 33, 70uzind4 9045 . . 3 (𝑁 ∈ (ℤ𝑀) → (𝜑 → (𝑁 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑁))))
721, 71mpcom 36 . 2 (𝜑 → (𝑁 ∈ (𝑀...𝑁) → (𝐹𝑀) ≤ (𝐹𝑁)))
733, 72mpd 13 1 (𝜑 → (𝐹𝑀) ≤ (𝐹𝑁))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 102   = wceq 1289  wcel 1438  wral 2359   class class class wbr 3837  cfv 5002  (class class class)co 5634  cr 7328  1c1 7330   + caddc 7332  cle 7502  cmin 7632  cz 8720  cuz 8988  ...cfz 9393
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 579  ax-in2 580  ax-io 665  ax-5 1381  ax-7 1382  ax-gen 1383  ax-ie1 1427  ax-ie2 1428  ax-8 1440  ax-10 1441  ax-11 1442  ax-i12 1443  ax-bndl 1444  ax-4 1445  ax-13 1449  ax-14 1450  ax-17 1464  ax-i9 1468  ax-ial 1472  ax-i5r 1473  ax-ext 2070  ax-sep 3949  ax-pow 4001  ax-pr 4027  ax-un 4251  ax-setind 4343  ax-cnex 7415  ax-resscn 7416  ax-1cn 7417  ax-1re 7418  ax-icn 7419  ax-addcl 7420  ax-addrcl 7421  ax-mulcl 7422  ax-addcom 7424  ax-addass 7426  ax-distr 7428  ax-i2m1 7429  ax-0lt1 7430  ax-0id 7432  ax-rnegex 7433  ax-cnre 7435  ax-pre-ltirr 7436  ax-pre-ltwlin 7437  ax-pre-lttrn 7438  ax-pre-ltadd 7440
This theorem depends on definitions:  df-bi 115  df-3or 925  df-3an 926  df-tru 1292  df-fal 1295  df-nf 1395  df-sb 1693  df-eu 1951  df-mo 1952  df-clab 2075  df-cleq 2081  df-clel 2084  df-nfc 2217  df-ne 2256  df-nel 2351  df-ral 2364  df-rex 2365  df-reu 2366  df-rab 2368  df-v 2621  df-sbc 2839  df-dif 2999  df-un 3001  df-in 3003  df-ss 3010  df-pw 3427  df-sn 3447  df-pr 3448  df-op 3450  df-uni 3649  df-int 3684  df-br 3838  df-opab 3892  df-mpt 3893  df-id 4111  df-xp 4434  df-rel 4435  df-cnv 4436  df-co 4437  df-dm 4438  df-rn 4439  df-res 4440  df-ima 4441  df-iota 4967  df-fun 5004  df-fn 5005  df-f 5006  df-fv 5010  df-riota 5590  df-ov 5637  df-oprab 5638  df-mpt2 5639  df-pnf 7503  df-mnf 7504  df-xr 7505  df-ltxr 7506  df-le 7507  df-sub 7634  df-neg 7635  df-inn 8395  df-n0 8644  df-z 8721  df-uz 8989  df-fz 9394
This theorem is referenced by:  monoord2  9870  isermono  9871  climub  10697
  Copyright terms: Public domain W3C validator