MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ruclem8 Structured version   Visualization version   GIF version

Theorem ruclem8 15592
Description: Lemma for ruc 15598. The intervals of the 𝐺 sequence are all nonempty. (Contributed by Mario Carneiro, 28-May-2014.)
Hypotheses
Ref Expression
ruc.1 (𝜑𝐹:ℕ⟶ℝ)
ruc.2 (𝜑𝐷 = (𝑥 ∈ (ℝ × ℝ), 𝑦 ∈ ℝ ↦ (((1st𝑥) + (2nd𝑥)) / 2) / 𝑚if(𝑚 < 𝑦, ⟨(1st𝑥), 𝑚⟩, ⟨((𝑚 + (2nd𝑥)) / 2), (2nd𝑥)⟩)))
ruc.4 𝐶 = ({⟨0, ⟨0, 1⟩⟩} ∪ 𝐹)
ruc.5 𝐺 = seq0(𝐷, 𝐶)
Assertion
Ref Expression
ruclem8 ((𝜑𝑁 ∈ ℕ0) → (1st ‘(𝐺𝑁)) < (2nd ‘(𝐺𝑁)))
Distinct variable groups:   𝑥,𝑚,𝑦,𝐹   𝑚,𝐺,𝑥,𝑦   𝑚,𝑁,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑚)   𝐶(𝑥,𝑦,𝑚)   𝐷(𝑥,𝑦,𝑚)

Proof of Theorem ruclem8
Dummy variables 𝑛 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 2fveq3 6677 . . . . 5 (𝑘 = 0 → (1st ‘(𝐺𝑘)) = (1st ‘(𝐺‘0)))
2 2fveq3 6677 . . . . 5 (𝑘 = 0 → (2nd ‘(𝐺𝑘)) = (2nd ‘(𝐺‘0)))
31, 2breq12d 5081 . . . 4 (𝑘 = 0 → ((1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘)) ↔ (1st ‘(𝐺‘0)) < (2nd ‘(𝐺‘0))))
43imbi2d 343 . . 3 (𝑘 = 0 → ((𝜑 → (1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘))) ↔ (𝜑 → (1st ‘(𝐺‘0)) < (2nd ‘(𝐺‘0)))))
5 2fveq3 6677 . . . . 5 (𝑘 = 𝑛 → (1st ‘(𝐺𝑘)) = (1st ‘(𝐺𝑛)))
6 2fveq3 6677 . . . . 5 (𝑘 = 𝑛 → (2nd ‘(𝐺𝑘)) = (2nd ‘(𝐺𝑛)))
75, 6breq12d 5081 . . . 4 (𝑘 = 𝑛 → ((1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘)) ↔ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛))))
87imbi2d 343 . . 3 (𝑘 = 𝑛 → ((𝜑 → (1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘))) ↔ (𝜑 → (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))))
9 2fveq3 6677 . . . . 5 (𝑘 = (𝑛 + 1) → (1st ‘(𝐺𝑘)) = (1st ‘(𝐺‘(𝑛 + 1))))
10 2fveq3 6677 . . . . 5 (𝑘 = (𝑛 + 1) → (2nd ‘(𝐺𝑘)) = (2nd ‘(𝐺‘(𝑛 + 1))))
119, 10breq12d 5081 . . . 4 (𝑘 = (𝑛 + 1) → ((1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘)) ↔ (1st ‘(𝐺‘(𝑛 + 1))) < (2nd ‘(𝐺‘(𝑛 + 1)))))
1211imbi2d 343 . . 3 (𝑘 = (𝑛 + 1) → ((𝜑 → (1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘))) ↔ (𝜑 → (1st ‘(𝐺‘(𝑛 + 1))) < (2nd ‘(𝐺‘(𝑛 + 1))))))
13 2fveq3 6677 . . . . 5 (𝑘 = 𝑁 → (1st ‘(𝐺𝑘)) = (1st ‘(𝐺𝑁)))
14 2fveq3 6677 . . . . 5 (𝑘 = 𝑁 → (2nd ‘(𝐺𝑘)) = (2nd ‘(𝐺𝑁)))
1513, 14breq12d 5081 . . . 4 (𝑘 = 𝑁 → ((1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘)) ↔ (1st ‘(𝐺𝑁)) < (2nd ‘(𝐺𝑁))))
1615imbi2d 343 . . 3 (𝑘 = 𝑁 → ((𝜑 → (1st ‘(𝐺𝑘)) < (2nd ‘(𝐺𝑘))) ↔ (𝜑 → (1st ‘(𝐺𝑁)) < (2nd ‘(𝐺𝑁)))))
17 0lt1 11164 . . . . 5 0 < 1
1817a1i 11 . . . 4 (𝜑 → 0 < 1)
19 ruc.1 . . . . . . 7 (𝜑𝐹:ℕ⟶ℝ)
20 ruc.2 . . . . . . 7 (𝜑𝐷 = (𝑥 ∈ (ℝ × ℝ), 𝑦 ∈ ℝ ↦ (((1st𝑥) + (2nd𝑥)) / 2) / 𝑚if(𝑚 < 𝑦, ⟨(1st𝑥), 𝑚⟩, ⟨((𝑚 + (2nd𝑥)) / 2), (2nd𝑥)⟩)))
21 ruc.4 . . . . . . 7 𝐶 = ({⟨0, ⟨0, 1⟩⟩} ∪ 𝐹)
22 ruc.5 . . . . . . 7 𝐺 = seq0(𝐷, 𝐶)
2319, 20, 21, 22ruclem4 15589 . . . . . 6 (𝜑 → (𝐺‘0) = ⟨0, 1⟩)
2423fveq2d 6676 . . . . 5 (𝜑 → (1st ‘(𝐺‘0)) = (1st ‘⟨0, 1⟩))
25 c0ex 10637 . . . . . 6 0 ∈ V
26 1ex 10639 . . . . . 6 1 ∈ V
2725, 26op1st 7699 . . . . 5 (1st ‘⟨0, 1⟩) = 0
2824, 27syl6eq 2874 . . . 4 (𝜑 → (1st ‘(𝐺‘0)) = 0)
2923fveq2d 6676 . . . . 5 (𝜑 → (2nd ‘(𝐺‘0)) = (2nd ‘⟨0, 1⟩))
3025, 26op2nd 7700 . . . . 5 (2nd ‘⟨0, 1⟩) = 1
3129, 30syl6eq 2874 . . . 4 (𝜑 → (2nd ‘(𝐺‘0)) = 1)
3218, 28, 313brtr4d 5100 . . 3 (𝜑 → (1st ‘(𝐺‘0)) < (2nd ‘(𝐺‘0)))
3319adantr 483 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → 𝐹:ℕ⟶ℝ)
3420adantr 483 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → 𝐷 = (𝑥 ∈ (ℝ × ℝ), 𝑦 ∈ ℝ ↦ (((1st𝑥) + (2nd𝑥)) / 2) / 𝑚if(𝑚 < 𝑦, ⟨(1st𝑥), 𝑚⟩, ⟨((𝑚 + (2nd𝑥)) / 2), (2nd𝑥)⟩)))
3519, 20, 21, 22ruclem6 15590 . . . . . . . . . . . 12 (𝜑𝐺:ℕ0⟶(ℝ × ℝ))
3635ffvelrnda 6853 . . . . . . . . . . 11 ((𝜑𝑛 ∈ ℕ0) → (𝐺𝑛) ∈ (ℝ × ℝ))
3736adantrr 715 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (𝐺𝑛) ∈ (ℝ × ℝ))
38 xp1st 7723 . . . . . . . . . 10 ((𝐺𝑛) ∈ (ℝ × ℝ) → (1st ‘(𝐺𝑛)) ∈ ℝ)
3937, 38syl 17 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (1st ‘(𝐺𝑛)) ∈ ℝ)
40 xp2nd 7724 . . . . . . . . . 10 ((𝐺𝑛) ∈ (ℝ × ℝ) → (2nd ‘(𝐺𝑛)) ∈ ℝ)
4137, 40syl 17 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (2nd ‘(𝐺𝑛)) ∈ ℝ)
42 nn0p1nn 11939 . . . . . . . . . . 11 (𝑛 ∈ ℕ0 → (𝑛 + 1) ∈ ℕ)
43 ffvelrn 6851 . . . . . . . . . . 11 ((𝐹:ℕ⟶ℝ ∧ (𝑛 + 1) ∈ ℕ) → (𝐹‘(𝑛 + 1)) ∈ ℝ)
4419, 42, 43syl2an 597 . . . . . . . . . 10 ((𝜑𝑛 ∈ ℕ0) → (𝐹‘(𝑛 + 1)) ∈ ℝ)
4544adantrr 715 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (𝐹‘(𝑛 + 1)) ∈ ℝ)
46 eqid 2823 . . . . . . . . 9 (1st ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))) = (1st ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1))))
47 eqid 2823 . . . . . . . . 9 (2nd ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))) = (2nd ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1))))
48 simprr 771 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))
4933, 34, 39, 41, 45, 46, 47, 48ruclem2 15587 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → ((1st ‘(𝐺𝑛)) ≤ (1st ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))) ∧ (1st ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))) < (2nd ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))) ∧ (2nd ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))) ≤ (2nd ‘(𝐺𝑛))))
5049simp2d 1139 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (1st ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))) < (2nd ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))))
5119, 20, 21, 22ruclem7 15591 . . . . . . . . . 10 ((𝜑𝑛 ∈ ℕ0) → (𝐺‘(𝑛 + 1)) = ((𝐺𝑛)𝐷(𝐹‘(𝑛 + 1))))
5251adantrr 715 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (𝐺‘(𝑛 + 1)) = ((𝐺𝑛)𝐷(𝐹‘(𝑛 + 1))))
53 1st2nd2 7730 . . . . . . . . . . 11 ((𝐺𝑛) ∈ (ℝ × ℝ) → (𝐺𝑛) = ⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩)
5437, 53syl 17 . . . . . . . . . 10 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (𝐺𝑛) = ⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩)
5554oveq1d 7173 . . . . . . . . 9 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → ((𝐺𝑛)𝐷(𝐹‘(𝑛 + 1))) = (⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1))))
5652, 55eqtrd 2858 . . . . . . . 8 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (𝐺‘(𝑛 + 1)) = (⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1))))
5756fveq2d 6676 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (1st ‘(𝐺‘(𝑛 + 1))) = (1st ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))))
5856fveq2d 6676 . . . . . . 7 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (2nd ‘(𝐺‘(𝑛 + 1))) = (2nd ‘(⟨(1st ‘(𝐺𝑛)), (2nd ‘(𝐺𝑛))⟩𝐷(𝐹‘(𝑛 + 1)))))
5950, 57, 583brtr4d 5100 . . . . . 6 ((𝜑 ∧ (𝑛 ∈ ℕ0 ∧ (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)))) → (1st ‘(𝐺‘(𝑛 + 1))) < (2nd ‘(𝐺‘(𝑛 + 1))))
6059expr 459 . . . . 5 ((𝜑𝑛 ∈ ℕ0) → ((1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)) → (1st ‘(𝐺‘(𝑛 + 1))) < (2nd ‘(𝐺‘(𝑛 + 1)))))
6160expcom 416 . . . 4 (𝑛 ∈ ℕ0 → (𝜑 → ((1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛)) → (1st ‘(𝐺‘(𝑛 + 1))) < (2nd ‘(𝐺‘(𝑛 + 1))))))
6261a2d 29 . . 3 (𝑛 ∈ ℕ0 → ((𝜑 → (1st ‘(𝐺𝑛)) < (2nd ‘(𝐺𝑛))) → (𝜑 → (1st ‘(𝐺‘(𝑛 + 1))) < (2nd ‘(𝐺‘(𝑛 + 1))))))
634, 8, 12, 16, 32, 62nn0ind 12080 . 2 (𝑁 ∈ ℕ0 → (𝜑 → (1st ‘(𝐺𝑁)) < (2nd ‘(𝐺𝑁))))
6463impcom 410 1 ((𝜑𝑁 ∈ ℕ0) → (1st ‘(𝐺𝑁)) < (2nd ‘(𝐺𝑁)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  csb 3885  cun 3936  ifcif 4469  {csn 4569  cop 4575   class class class wbr 5068   × cxp 5555  wf 6353  cfv 6357  (class class class)co 7158  cmpo 7160  1st c1st 7689  2nd c2nd 7690  cr 10538  0cc0 10539  1c1 10540   + caddc 10542   < clt 10677  cle 10678   / cdiv 11299  cn 11640  2c2 11695  0cn0 11900  seqcseq 13372
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-cnex 10595  ax-resscn 10596  ax-1cn 10597  ax-icn 10598  ax-addcl 10599  ax-addrcl 10600  ax-mulcl 10601  ax-mulrcl 10602  ax-mulcom 10603  ax-addass 10604  ax-mulass 10605  ax-distr 10606  ax-i2m1 10607  ax-1ne0 10608  ax-1rid 10609  ax-rnegex 10610  ax-rrecex 10611  ax-cnre 10612  ax-pre-lttri 10613  ax-pre-lttrn 10614  ax-pre-ltadd 10615  ax-pre-mulgt0 10616
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-fal 1550  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-reu 3147  df-rmo 3148  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-pss 3956  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-tp 4574  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-tr 5175  df-id 5462  df-eprel 5467  df-po 5476  df-so 5477  df-fr 5516  df-we 5518  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-pred 6150  df-ord 6196  df-on 6197  df-lim 6198  df-suc 6199  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-riota 7116  df-ov 7161  df-oprab 7162  df-mpo 7163  df-om 7583  df-1st 7691  df-2nd 7692  df-wrecs 7949  df-recs 8010  df-rdg 8048  df-er 8291  df-en 8512  df-dom 8513  df-sdom 8514  df-pnf 10679  df-mnf 10680  df-xr 10681  df-ltxr 10682  df-le 10683  df-sub 10874  df-neg 10875  df-div 11300  df-nn 11641  df-2 11703  df-n0 11901  df-z 11985  df-uz 12247  df-fz 12896  df-seq 13373
This theorem is referenced by:  ruclem9  15593  ruclem10  15594  ruclem12  15596
  Copyright terms: Public domain W3C validator