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

Theorem caucvgrelemcau 11748
Description: Lemma for caucvgre 11749. Converting the Cauchy condition. (Contributed by Jim Kingdon, 20-Jul-2021.)
Hypotheses
Ref Expression
caucvgre.f (𝜑𝐹:ℕ⟶ℝ)
caucvgre.cau (𝜑 → ∀𝑛 ∈ ℕ ∀𝑘 ∈ (ℤ𝑛)((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
Assertion
Ref Expression
caucvgrelemcau (𝜑 → ∀𝑛 ∈ ℕ ∀𝑘 ∈ ℕ (𝑛 < 𝑘 → ((𝐹𝑛) < ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)))))
Distinct variable groups:   𝑘,𝐹,𝑛   𝜑,𝑘,𝑛   𝑘,𝑟,𝑛
Allowed substitution hints:   𝜑(𝑟)   𝐹(𝑟)

Proof of Theorem caucvgrelemcau
StepHypRef Expression
1 simplr 533 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → 𝑛 ∈ ℕ)
21nnred 9318 . . . . . 6 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → 𝑛 ∈ ℝ)
3 simpr 110 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → 𝑘 ∈ ℕ)
43nnred 9318 . . . . . 6 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → 𝑘 ∈ ℝ)
5 ltle 8413 . . . . . 6 ((𝑛 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑛 < 𝑘𝑛𝑘))
62, 4, 5syl2anc 415 . . . . 5 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝑛 < 𝑘𝑛𝑘))
7 eluznn 10002 . . . . . . . . . . . 12 ((𝑛 ∈ ℕ ∧ 𝑘 ∈ (ℤ𝑛)) → 𝑘 ∈ ℕ)
87ex 115 . . . . . . . . . . 11 (𝑛 ∈ ℕ → (𝑘 ∈ (ℤ𝑛) → 𝑘 ∈ ℕ))
9 nnz 9665 . . . . . . . . . . . . 13 (𝑛 ∈ ℕ → 𝑛 ∈ ℤ)
10 eluz1 9927 . . . . . . . . . . . . 13 (𝑛 ∈ ℤ → (𝑘 ∈ (ℤ𝑛) ↔ (𝑘 ∈ ℤ ∧ 𝑛𝑘)))
119, 10syl 14 . . . . . . . . . . . 12 (𝑛 ∈ ℕ → (𝑘 ∈ (ℤ𝑛) ↔ (𝑘 ∈ ℤ ∧ 𝑛𝑘)))
12 simpr 110 . . . . . . . . . . . 12 ((𝑘 ∈ ℤ ∧ 𝑛𝑘) → 𝑛𝑘)
1311, 12biimtrdi 163 . . . . . . . . . . 11 (𝑛 ∈ ℕ → (𝑘 ∈ (ℤ𝑛) → 𝑛𝑘))
148, 13jcad 307 . . . . . . . . . 10 (𝑛 ∈ ℕ → (𝑘 ∈ (ℤ𝑛) → (𝑘 ∈ ℕ ∧ 𝑛𝑘)))
15 nnz 9665 . . . . . . . . . . . 12 (𝑘 ∈ ℕ → 𝑘 ∈ ℤ)
1615anim1i 340 . . . . . . . . . . 11 ((𝑘 ∈ ℕ ∧ 𝑛𝑘) → (𝑘 ∈ ℤ ∧ 𝑛𝑘))
1716, 11imbitrrid 156 . . . . . . . . . 10 (𝑛 ∈ ℕ → ((𝑘 ∈ ℕ ∧ 𝑛𝑘) → 𝑘 ∈ (ℤ𝑛)))
1814, 17impbid 129 . . . . . . . . 9 (𝑛 ∈ ℕ → (𝑘 ∈ (ℤ𝑛) ↔ (𝑘 ∈ ℕ ∧ 𝑛𝑘)))
1918adantl 277 . . . . . . . 8 ((𝜑𝑛 ∈ ℕ) → (𝑘 ∈ (ℤ𝑛) ↔ (𝑘 ∈ ℕ ∧ 𝑛𝑘)))
2019biimpar 297 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ (𝑘 ∈ ℕ ∧ 𝑛𝑘)) → 𝑘 ∈ (ℤ𝑛))
21 caucvgre.cau . . . . . . . . 9 (𝜑 → ∀𝑛 ∈ ℕ ∀𝑘 ∈ (ℤ𝑛)((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
2221r19.21bi 2638 . . . . . . . 8 ((𝜑𝑛 ∈ ℕ) → ∀𝑘 ∈ (ℤ𝑛)((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
2322r19.21bi 2638 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ (ℤ𝑛)) → ((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
2420, 23syldan 282 . . . . . 6 (((𝜑𝑛 ∈ ℕ) ∧ (𝑘 ∈ ℕ ∧ 𝑛𝑘)) → ((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
2524expr 375 . . . . 5 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝑛𝑘 → ((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛)))))
266, 25syld 45 . . . 4 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝑛 < 𝑘 → ((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛)))))
27 ltxrlt 8391 . . . . 5 ((𝑛 ∈ ℝ ∧ 𝑘 ∈ ℝ) → (𝑛 < 𝑘𝑛 < 𝑘))
282, 4, 27syl2anc 415 . . . 4 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝑛 < 𝑘𝑛 < 𝑘))
29 caucvgre.f . . . . . . . . 9 (𝜑𝐹:ℕ⟶ℝ)
3029ad2antrr 492 . . . . . . . 8 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → 𝐹:ℕ⟶ℝ)
3130, 1ffvelcdmd 5844 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝐹𝑛) ∈ ℝ)
3230, 3ffvelcdmd 5844 . . . . . . . 8 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝐹𝑘) ∈ ℝ)
331nnrecred 9352 . . . . . . . 8 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (1 / 𝑛) ∈ ℝ)
3432, 33readdcld 8355 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑘) + (1 / 𝑛)) ∈ ℝ)
35 ltxrlt 8391 . . . . . . 7 (((𝐹𝑛) ∈ ℝ ∧ ((𝐹𝑘) + (1 / 𝑛)) ∈ ℝ) → ((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ↔ (𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛))))
3631, 34, 35syl2anc 415 . . . . . 6 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ↔ (𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛))))
37 nnap0 9334 . . . . . . . . . 10 (𝑛 ∈ ℕ → 𝑛 # 0)
381, 37syl 14 . . . . . . . . 9 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → 𝑛 # 0)
39 caucvgrelemrec 11747 . . . . . . . . 9 ((𝑛 ∈ ℝ ∧ 𝑛 # 0) → (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1) = (1 / 𝑛))
402, 38, 39syl2anc 415 . . . . . . . 8 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1) = (1 / 𝑛))
4140oveq2d 6101 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) = ((𝐹𝑘) + (1 / 𝑛)))
4241breq2d 4142 . . . . . 6 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑛) < ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) ↔ (𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛))))
4336, 42bitr4d 191 . . . . 5 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ↔ (𝐹𝑛) < ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1))))
4431, 33readdcld 8355 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑛) + (1 / 𝑛)) ∈ ℝ)
45 ltxrlt 8391 . . . . . . 7 (((𝐹𝑘) ∈ ℝ ∧ ((𝐹𝑛) + (1 / 𝑛)) ∈ ℝ) → ((𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛)) ↔ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
4632, 44, 45syl2anc 415 . . . . . 6 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛)) ↔ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
4740oveq2d 6101 . . . . . . 7 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) = ((𝐹𝑛) + (1 / 𝑛)))
4847breq2d 4142 . . . . . 6 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑘) < ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) ↔ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))))
4946, 48bitr4d 191 . . . . 5 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → ((𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛)) ↔ (𝐹𝑘) < ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1))))
5043, 49anbi12d 477 . . . 4 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (((𝐹𝑛) < ((𝐹𝑘) + (1 / 𝑛)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (1 / 𝑛))) ↔ ((𝐹𝑛) < ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)))))
5126, 28, 503imtr3d 202 . . 3 (((𝜑𝑛 ∈ ℕ) ∧ 𝑘 ∈ ℕ) → (𝑛 < 𝑘 → ((𝐹𝑛) < ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)))))
5251ralrimiva 2623 . 2 ((𝜑𝑛 ∈ ℕ) → ∀𝑘 ∈ ℕ (𝑛 < 𝑘 → ((𝐹𝑛) < ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)))))
5352ralrimiva 2623 1 (𝜑 → ∀𝑛 ∈ ℕ ∀𝑘 ∈ ℕ (𝑛 < 𝑘 → ((𝐹𝑛) < ((𝐹𝑘) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)) ∧ (𝐹𝑘) < ((𝐹𝑛) + (𝑟 ∈ ℝ (𝑛 · 𝑟) = 1)))))
Colors of variables:    wff set class
This proof depends on syntax axioms:  wi 4  wa 104  wb 105   = wceq 1402  wcel 2209  wral 2528   class class class wbr 4130  wf 5373  cfv 5377  crio 6037  (class class class)co 6085  cr 8178  0cc0 8179  1c1 8180   + caddc 8182   < cltrr 8183   · cmul 8184   < clt 8360  cle 8361   # cap 8910   / cdiv 9003  cn 9305  cz 9646  cuz 9923
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in1 623  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-14 2212  ax-ext 2220  ax-sep 4249  ax-pow 4311  ax-pr 4346  ax-un 4578  ax-setind 4684  ax-cnex 8270  ax-resscn 8271  ax-1cn 8272  ax-1re 8273  ax-icn 8274  ax-addcl 8275  ax-addrcl 8276  ax-mulcl 8277  ax-mulrcl 8278  ax-addcom 8279  ax-mulcom 8280  ax-addass 8281  ax-mulass 8282  ax-distr 8283  ax-i2m1 8284  ax-0lt1 8285  ax-1rid 8286  ax-0id 8287  ax-rnegex 8288  ax-precex 8289  ax-cnre 8290  ax-pre-ltirr 8291  ax-pre-ltwlin 8292  ax-pre-lttrn 8293  ax-pre-apti 8294  ax-pre-ltadd 8295  ax-pre-mulgt0 8296  ax-pre-mulext 8297
This proof depends on definitions:  df-bi 117  df-3or 1010  df-3an 1011  df-tru 1405  df-fal 1408  df-nf 1514  df-sb 1816  df-eu 2089  df-mo 2090  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ne 2421  df-nel 2516  df-ral 2533  df-rex 2534  df-reu 2535  df-rmo 2536  df-rab 2537  df-v 2823  df-sbc 3052  df-dif 3222  df-un 3224  df-in 3226  df-ss 3233  df-pw 3690  df-sn 3715  df-pr 3716  df-op 3718  df-uni 3936  df-int 3971  df-br 4131  df-opab 4193  df-mpt 4194  df-id 4438  df-po 4441  df-iso 4442  df-xp 4780  df-rel 4781  df-cnv 4782  df-co 4783  df-dm 4784  df-rn 4785  df-res 4786  df-ima 4787  df-iota 5337  df-fun 5379  df-fn 5380  df-f 5381  df-fv 5385  df-riota 6038  df-ov 6088  df-oprab 6089  df-mpo 6090  df-pnf 8362  df-mnf 8363  df-xr 8364  df-ltxr 8365  df-le 8366  df-sub 8499  df-neg 8500  df-reap 8904  df-ap 8911  df-div 9004  df-inn 9306  df-z 9647  df-uz 9924
This theorem is used by:  caucvgre  11749
  Copyright terms: Public domain W3C validator