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

Theorem resqrexlemdecn 10777
Description: Lemma for resqrex 10791. The sequence is decreasing. (Contributed by Jim Kingdon, 31-Jul-2021.)
Hypotheses
Ref Expression
resqrexlemex.seq 𝐹 = seq1((𝑦 ∈ ℝ+, 𝑧 ∈ ℝ+ ↦ ((𝑦 + (𝐴 / 𝑦)) / 2)), (ℕ × {(1 + 𝐴)}))
resqrexlemex.a (𝜑𝐴 ∈ ℝ)
resqrexlemex.agt0 (𝜑 → 0 ≤ 𝐴)
resqrexlemdecn.n (𝜑𝑁 ∈ ℕ)
resqrexlemdecn.m (𝜑𝑀 ∈ ℕ)
resqrexlemdecn.nm (𝜑𝑁 < 𝑀)
Assertion
Ref Expression
resqrexlemdecn (𝜑 → (𝐹𝑀) < (𝐹𝑁))
Distinct variable groups:   𝑦,𝐴,𝑧   𝜑,𝑦,𝑧
Allowed substitution hints:   𝐹(𝑦,𝑧)   𝑀(𝑦,𝑧)   𝑁(𝑦,𝑧)

Proof of Theorem resqrexlemdecn
Dummy variables 𝑘 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 resqrexlemdecn.n . . . . 5 (𝜑𝑁 ∈ ℕ)
21nnzd 9165 . . . 4 (𝜑𝑁 ∈ ℤ)
32peano2zd 9169 . . 3 (𝜑 → (𝑁 + 1) ∈ ℤ)
4 resqrexlemdecn.m . . . 4 (𝜑𝑀 ∈ ℕ)
54nnzd 9165 . . 3 (𝜑𝑀 ∈ ℤ)
6 resqrexlemdecn.nm . . . 4 (𝜑𝑁 < 𝑀)
7 nnltp1le 9107 . . . . 5 ((𝑁 ∈ ℕ ∧ 𝑀 ∈ ℕ) → (𝑁 < 𝑀 ↔ (𝑁 + 1) ≤ 𝑀))
81, 4, 7syl2anc 408 . . . 4 (𝜑 → (𝑁 < 𝑀 ↔ (𝑁 + 1) ≤ 𝑀))
96, 8mpbid 146 . . 3 (𝜑 → (𝑁 + 1) ≤ 𝑀)
10 fveq2 5414 . . . . . 6 (𝑤 = (𝑁 + 1) → (𝐹𝑤) = (𝐹‘(𝑁 + 1)))
1110breq1d 3934 . . . . 5 (𝑤 = (𝑁 + 1) → ((𝐹𝑤) < (𝐹𝑁) ↔ (𝐹‘(𝑁 + 1)) < (𝐹𝑁)))
1211imbi2d 229 . . . 4 (𝑤 = (𝑁 + 1) → ((𝜑 → (𝐹𝑤) < (𝐹𝑁)) ↔ (𝜑 → (𝐹‘(𝑁 + 1)) < (𝐹𝑁))))
13 fveq2 5414 . . . . . 6 (𝑤 = 𝑘 → (𝐹𝑤) = (𝐹𝑘))
1413breq1d 3934 . . . . 5 (𝑤 = 𝑘 → ((𝐹𝑤) < (𝐹𝑁) ↔ (𝐹𝑘) < (𝐹𝑁)))
1514imbi2d 229 . . . 4 (𝑤 = 𝑘 → ((𝜑 → (𝐹𝑤) < (𝐹𝑁)) ↔ (𝜑 → (𝐹𝑘) < (𝐹𝑁))))
16 fveq2 5414 . . . . . 6 (𝑤 = (𝑘 + 1) → (𝐹𝑤) = (𝐹‘(𝑘 + 1)))
1716breq1d 3934 . . . . 5 (𝑤 = (𝑘 + 1) → ((𝐹𝑤) < (𝐹𝑁) ↔ (𝐹‘(𝑘 + 1)) < (𝐹𝑁)))
1817imbi2d 229 . . . 4 (𝑤 = (𝑘 + 1) → ((𝜑 → (𝐹𝑤) < (𝐹𝑁)) ↔ (𝜑 → (𝐹‘(𝑘 + 1)) < (𝐹𝑁))))
19 fveq2 5414 . . . . . 6 (𝑤 = 𝑀 → (𝐹𝑤) = (𝐹𝑀))
2019breq1d 3934 . . . . 5 (𝑤 = 𝑀 → ((𝐹𝑤) < (𝐹𝑁) ↔ (𝐹𝑀) < (𝐹𝑁)))
2120imbi2d 229 . . . 4 (𝑤 = 𝑀 → ((𝜑 → (𝐹𝑤) < (𝐹𝑁)) ↔ (𝜑 → (𝐹𝑀) < (𝐹𝑁))))
22 resqrexlemex.seq . . . . . . 7 𝐹 = seq1((𝑦 ∈ ℝ+, 𝑧 ∈ ℝ+ ↦ ((𝑦 + (𝐴 / 𝑦)) / 2)), (ℕ × {(1 + 𝐴)}))
23 resqrexlemex.a . . . . . . 7 (𝜑𝐴 ∈ ℝ)
24 resqrexlemex.agt0 . . . . . . 7 (𝜑 → 0 ≤ 𝐴)
2522, 23, 24resqrexlemdec 10776 . . . . . 6 ((𝜑𝑁 ∈ ℕ) → (𝐹‘(𝑁 + 1)) < (𝐹𝑁))
261, 25mpdan 417 . . . . 5 (𝜑 → (𝐹‘(𝑁 + 1)) < (𝐹𝑁))
2726a1i 9 . . . 4 ((𝑁 + 1) ∈ ℤ → (𝜑 → (𝐹‘(𝑁 + 1)) < (𝐹𝑁)))
2822, 23, 24resqrexlemf 10772 . . . . . . . . . . 11 (𝜑𝐹:ℕ⟶ℝ+)
2928ad2antrr 479 . . . . . . . . . 10 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 𝐹:ℕ⟶ℝ+)
30 simplr2 1024 . . . . . . . . . . . 12 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 𝑘 ∈ ℤ)
31 1red 7774 . . . . . . . . . . . . 13 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 1 ∈ ℝ)
323ad2antrr 479 . . . . . . . . . . . . . 14 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝑁 + 1) ∈ ℤ)
3332zred 9166 . . . . . . . . . . . . 13 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝑁 + 1) ∈ ℝ)
3430zred 9166 . . . . . . . . . . . . 13 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 𝑘 ∈ ℝ)
351nnred 8726 . . . . . . . . . . . . . . . 16 (𝜑𝑁 ∈ ℝ)
361nngt0d 8757 . . . . . . . . . . . . . . . 16 (𝜑 → 0 < 𝑁)
37 0re 7759 . . . . . . . . . . . . . . . . 17 0 ∈ ℝ
38 ltle 7844 . . . . . . . . . . . . . . . . 17 ((0 ∈ ℝ ∧ 𝑁 ∈ ℝ) → (0 < 𝑁 → 0 ≤ 𝑁))
3937, 38mpan 420 . . . . . . . . . . . . . . . 16 (𝑁 ∈ ℝ → (0 < 𝑁 → 0 ≤ 𝑁))
4035, 36, 39sylc 62 . . . . . . . . . . . . . . 15 (𝜑 → 0 ≤ 𝑁)
41 1red 7774 . . . . . . . . . . . . . . . 16 (𝜑 → 1 ∈ ℝ)
4241, 35addge02d 8289 . . . . . . . . . . . . . . 15 (𝜑 → (0 ≤ 𝑁 ↔ 1 ≤ (𝑁 + 1)))
4340, 42mpbid 146 . . . . . . . . . . . . . 14 (𝜑 → 1 ≤ (𝑁 + 1))
4443ad2antrr 479 . . . . . . . . . . . . 13 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 1 ≤ (𝑁 + 1))
45 simplr3 1025 . . . . . . . . . . . . 13 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝑁 + 1) ≤ 𝑘)
4631, 33, 34, 44, 45letrd 7879 . . . . . . . . . . . 12 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 1 ≤ 𝑘)
47 elnnz1 9070 . . . . . . . . . . . 12 (𝑘 ∈ ℕ ↔ (𝑘 ∈ ℤ ∧ 1 ≤ 𝑘))
4830, 46, 47sylanbrc 413 . . . . . . . . . . 11 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 𝑘 ∈ ℕ)
4948peano2nnd 8728 . . . . . . . . . 10 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝑘 + 1) ∈ ℕ)
5029, 49ffvelrnd 5549 . . . . . . . . 9 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹‘(𝑘 + 1)) ∈ ℝ+)
5150rpred 9476 . . . . . . . 8 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹‘(𝑘 + 1)) ∈ ℝ)
5229, 48ffvelrnd 5549 . . . . . . . . 9 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹𝑘) ∈ ℝ+)
5352rpred 9476 . . . . . . . 8 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹𝑘) ∈ ℝ)
541ad2antrr 479 . . . . . . . . . 10 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 𝑁 ∈ ℕ)
5529, 54ffvelrnd 5549 . . . . . . . . 9 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹𝑁) ∈ ℝ+)
5655rpred 9476 . . . . . . . 8 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹𝑁) ∈ ℝ)
57 simpll 518 . . . . . . . . 9 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → 𝜑)
5822, 23, 24resqrexlemdec 10776 . . . . . . . . 9 ((𝜑𝑘 ∈ ℕ) → (𝐹‘(𝑘 + 1)) < (𝐹𝑘))
5957, 48, 58syl2anc 408 . . . . . . . 8 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹‘(𝑘 + 1)) < (𝐹𝑘))
60 simpr 109 . . . . . . . 8 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹𝑘) < (𝐹𝑁))
6151, 53, 56, 59, 60lttrd 7881 . . . . . . 7 (((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) ∧ (𝐹𝑘) < (𝐹𝑁)) → (𝐹‘(𝑘 + 1)) < (𝐹𝑁))
6261ex 114 . . . . . 6 ((𝜑 ∧ ((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘)) → ((𝐹𝑘) < (𝐹𝑁) → (𝐹‘(𝑘 + 1)) < (𝐹𝑁)))
6362expcom 115 . . . . 5 (((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘) → (𝜑 → ((𝐹𝑘) < (𝐹𝑁) → (𝐹‘(𝑘 + 1)) < (𝐹𝑁))))
6463a2d 26 . . . 4 (((𝑁 + 1) ∈ ℤ ∧ 𝑘 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑘) → ((𝜑 → (𝐹𝑘) < (𝐹𝑁)) → (𝜑 → (𝐹‘(𝑘 + 1)) < (𝐹𝑁))))
6512, 15, 18, 21, 27, 64uzind 9155 . . 3 (((𝑁 + 1) ∈ ℤ ∧ 𝑀 ∈ ℤ ∧ (𝑁 + 1) ≤ 𝑀) → (𝜑 → (𝐹𝑀) < (𝐹𝑁)))
663, 5, 9, 65syl3anc 1216 . 2 (𝜑 → (𝜑 → (𝐹𝑀) < (𝐹𝑁)))
6766pm2.43i 49 1 (𝜑 → (𝐹𝑀) < (𝐹𝑁))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  w3a 962   = wceq 1331  wcel 1480  {csn 3522   class class class wbr 3924   × cxp 4532  wf 5114  cfv 5118  (class class class)co 5767  cmpo 5769  cr 7612  0cc0 7613  1c1 7614   + caddc 7616   < clt 7793  cle 7794   / cdiv 8425  cn 8713  2c2 8764  cz 9047  +crp 9434  seqcseq 10211
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-13 1491  ax-14 1492  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119  ax-coll 4038  ax-sep 4041  ax-nul 4049  ax-pow 4093  ax-pr 4126  ax-un 4350  ax-setind 4447  ax-iinf 4497  ax-cnex 7704  ax-resscn 7705  ax-1cn 7706  ax-1re 7707  ax-icn 7708  ax-addcl 7709  ax-addrcl 7710  ax-mulcl 7711  ax-mulrcl 7712  ax-addcom 7713  ax-mulcom 7714  ax-addass 7715  ax-mulass 7716  ax-distr 7717  ax-i2m1 7718  ax-0lt1 7719  ax-1rid 7720  ax-0id 7721  ax-rnegex 7722  ax-precex 7723  ax-cnre 7724  ax-pre-ltirr 7725  ax-pre-ltwlin 7726  ax-pre-lttrn 7727  ax-pre-apti 7728  ax-pre-ltadd 7729  ax-pre-mulgt0 7730  ax-pre-mulext 7731
This theorem depends on definitions:  df-bi 116  df-dc 820  df-3or 963  df-3an 964  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-eu 2000  df-mo 2001  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ne 2307  df-nel 2402  df-ral 2419  df-rex 2420  df-reu 2421  df-rmo 2422  df-rab 2423  df-v 2683  df-sbc 2905  df-csb 2999  df-dif 3068  df-un 3070  df-in 3072  df-ss 3079  df-nul 3359  df-if 3470  df-pw 3507  df-sn 3528  df-pr 3529  df-op 3531  df-uni 3732  df-int 3767  df-iun 3810  df-br 3925  df-opab 3985  df-mpt 3986  df-tr 4022  df-id 4210  df-po 4213  df-iso 4214  df-iord 4283  df-on 4285  df-ilim 4286  df-suc 4288  df-iom 4500  df-xp 4540  df-rel 4541  df-cnv 4542  df-co 4543  df-dm 4544  df-rn 4545  df-res 4546  df-ima 4547  df-iota 5083  df-fun 5120  df-fn 5121  df-f 5122  df-f1 5123  df-fo 5124  df-f1o 5125  df-fv 5126  df-riota 5723  df-ov 5770  df-oprab 5771  df-mpo 5772  df-1st 6031  df-2nd 6032  df-recs 6195  df-frec 6281  df-pnf 7795  df-mnf 7796  df-xr 7797  df-ltxr 7798  df-le 7799  df-sub 7928  df-neg 7929  df-reap 8330  df-ap 8337  df-div 8426  df-inn 8714  df-2 8772  df-3 8773  df-4 8774  df-n0 8971  df-z 9048  df-uz 9320  df-rp 9435  df-seqfrec 10212  df-exp 10286
This theorem is referenced by:  resqrexlemnm  10783  resqrexlemcvg  10784  resqrexlemoverl  10786  resqrexlemglsq  10787
  Copyright terms: Public domain W3C validator