HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem ruclem35 4919
Description: Lemma for ruc 4924. The supremum we have constructed lies between all values of the G and H functions. Compare ruclem29 4913, which states the opposite for the input function F.
Hypotheses
Ref Expression
ruclem.0 |- F:NN-->RR
ruclem.1 |- C = ({<.1, <.((F` 1) + 1), ((F` 1) + 2)>.>.} u. (F |` (NN \ {1})))
ruclem.2 |- D = {<.<.x, y>., z>. | ((x e. (RR X. RR) /\ y e. RR) /\ z = if(((1st`
x) < y /\ y < (2nd` x)), <.(((2 x. y) + (2nd` x)) / 3), ((y + (2 x. (2nd` x))) / 3)>., <.(((2 x. (1st` x)) + (2nd`
x)) / 3), (((1st`
x) + (2 x. (2nd` x))) / 3)>.))}
ruclem.3 |- G = (1st o. (DseqC))
ruclem.4 |- H = (2nd o. (DseqC))
ruclem.5 |- S = sup(ran G, RR, < )
ruclem.a |- A e. NN
Assertion
Ref Expression
ruclem35 |- ((G` A) < S /\ S < (H` A))
Distinct variable group(s):   x,y,z   z,F

Proof of Theorem ruclem35
StepHypRef Expression
1 ruclem.0 . . . 4 |- F:NN-->RR
2 ruclem.1 . . . 4 |- C = ({<.1, <.((F` 1) + 1), ((F` 1) + 2)>.>.} u. (F |` (NN \ {1})))
3 ruclem.2 . . . 4 |- D = {<.<.x, y>., z>. | ((x e. (RR X. RR) /\ y e. RR) /\ z = if(((1st`
x) < y /\ y < (2nd` x)), <.(((2 x. y) + (2nd` x)) / 3), ((y + (2 x. (2nd` x))) / 3)>., <.(((2 x. (1st` x)) + (2nd`
x)) / 3), (((1st`
x) + (2 x. (2nd` x))) / 3)>.))}
4 ruclem.3 . . . 4 |- G = (1st o. (DseqC))
5 ruclem.4 . . . 4 |- H = (2nd o. (DseqC))
6 ruclem.a . . . 4 |- A e. NN
71, 2, 3, 4, 5, 6ruclem26 4910 . . 3 |- (G` A) < (G` (A + 1))
81, 2, 3, 4, 5ruclem17 4901 . . . . . . 7 |- G:NN-->RR
9 ffn 2752 . . . . . . 7 |- (G:NN-->RR -> G Fn NN)
108, 9ax-mp 6 . . . . . 6 |- G Fn NN
11 peano2nn 4433 . . . . . . 7 |- (A e. NN -> (A + 1) e. NN)
126, 11ax-mp 6 . . . . . 6 |- (A + 1) e. NN
13 fnfvrn 2889 . . . . . 6 |- ((G Fn NN /\ (A + 1) e. NN) -> (G` (A + 1)) e. ran G)
1410, 12, 13mp2an 520 . . . . 5 |- (G` (A + 1)) e. ran G
151, 2, 3, 4, 5ruclem33 4917 . . . . . 6 |- (ran G (_ RR /\ -. ran G = (/) /\ E.w e. RR A.v e. ran Gv <_ w)
1615suprubi 4517 . . . . 5 |- ((G` (A + 1)) e. ran G -> (G` (A + 1)) <_ sup(ran G, RR, < ))
1714, 16ax-mp 6 . . . 4 |- (G` (A + 1)) <_ sup(ran G, RR, < )
18 ruclem.5 . . . 4 |- S = sup(ran G, RR, < )
1917, 18breqtrr 2082 . . 3 |- (G` (A + 1)) <_ S
201, 2, 3, 4, 5, 6ruclem22 4906 . . . 4 |- (G` A) e. RR
211, 2, 3, 4, 5, 12ruclem22 4906 . . . 4 |- (G` (A + 1)) e. RR
221, 2, 3, 4, 5, 18ruclem34 4918 . . . 4 |- S e. RR
2320, 21, 22ltletr 4309 . . 3 |- (((G` A) < (G` (A + 1)) /\ (G` (A + 1)) <_ S) -> (G` A) < S)
247, 19, 23mp2an 520 . 2 |- (G` A) < S
251, 2, 3, 4, 5, 12ruclem23 4907 . . . . . 6 |- (H` (A + 1)) e. RR
26 fvelrn 2883 . . . . . . . . 9 |- (G Fn NN -> (u e. ran G <-> E.w e. NN (G` w) = u))
2710, 26ax-mp 6 . . . . . . . 8 |- (u e. ran G <-> E.w e. NN (G` w) = u)
28 breq2 2066 . . . . . . . . . . . 12 |- ((G` w) = u -> ((H` (A + 1)) < (G` w) <-> (H` (A + 1)) < u))
2928negbid 463 . . . . . . . . . . 11 |- ((G` w) = u -> (-. (H` (A + 1)) < (G` w) <-> -. (H` (A + 1)) < u))
30 ltnsymt 4294 . . . . . . . . . . . 12 |- (((G` w) e. RR /\ (H` (A + 1)) e. RR) -> ((G` w) < (H` (A + 1)) -> -. (H` (A + 1)) < (G` w)))
31 fveq2 2832 . . . . . . . . . . . . . . 15 |- (w = if(w e. NN, w, 1) -> (G` w) = (G` if(w e. NN, w, 1)))
3231eleq1d 1155 . . . . . . . . . . . . . 14 |- (w = if(w e. NN, w, 1) -> ((G` w) e. RR <-> (G` if(w e. NN, w, 1)) e. RR))
33 1nn 4432 . . . . . . . . . . . . . . . 16 |- 1 e. NN
3433elimel 1793 . . . . . . . . . . . . . . 15 |- if(w e. NN, w, 1) e. NN
351, 2, 3, 4, 5, 34ruclem22 4906 . . . . . . . . . . . . . 14 |- (G` if(w e. NN, w, 1)) e. RR
3632, 35dedth 1784 . . . . . . . . . . . . 13 |- (w e. NN -> (G` w) e. RR)
3736, 25jctir 241 . . . . . . . . . . . 12 |- (w e. NN -> ((G` w) e. RR /\ (H` (A + 1)) e. RR))
3831breq1d 2071 . . . . . . . . . . . . 13 |- (w = if(w e. NN, w, 1) -> ((G` w) < (H` (A + 1)) <-> (G` if(w e. NN, w, 1)) < (H` (A + 1))))
391, 2, 3, 4, 5, 34, 12ruclem32 4916 . . . . . . . . . . . . 13 |- (G` if(w e. NN, w, 1)) < (H` (A + 1))
4038, 39dedth 1784 . . . . . . . . . . . 12 |- (w e. NN -> (G` w) < (H` (A + 1)))
4130, 37, 40sylc 62 . . . . . . . . . . 11 |- (w e. NN -> -. (H` (A + 1)) < (G` w))
4229, 41syl5bi 183 . . . . . . . . . 10 |- ((G` w) = u -> (w e. NN -> -. (H` (A + 1)) < u))
4342com12 13 . . . . . . . . 9 |- (w e. NN -> ((G` w) = u -> -. (H` (A + 1)) < u))
4443r19.23aiv 1284 . . . . . . . 8 |- (E.w e. NN (G` w) = u -> -. (H` (A + 1)) < u)
4527, 44sylbi 174 . . . . . . 7 |- (u e. ran G -> -. (H` (A + 1)) < u)
4645rgen 1247 . . . . . 6 |- A.u e. ran G -. (H` (A + 1)) < u
4715suprnubi 4519 . . . . . 6 |- (((H` (A + 1)) e. RR /\ A.u e. ran G -. (H` (A + 1)) < u) -> -. (H` (A + 1)) < sup(ran G, RR, < ))
4825, 46, 47mp2an 520 . . . . 5 |- -. (H` (A + 1)) < sup(ran G, RR, < )
4918breq2i 2069 . . . . . 6 |- ((H` (A + 1)) < S <-> (H` (A + 1)) < sup(ran G, RR, < ))
5049negbii 162 . . . . 5 |- (-. (H` (A + 1)) < S <-> -. (H` (A + 1)) < sup(ran G, RR, < ))
5148, 50mpbir 165 . . . 4 |- -. (H` (A + 1)) < S
5222, 25lelt 4301 . . . 4 |- (S <_ (H` (A + 1)) <-> -. (H` (A + 1)) < S)
5351, 52mpbir 165 . . 3 |- S <_ (H` (A + 1))
541, 2, 3, 4, 5, 6ruclem27 4911 . . 3 |- (H` (A + 1)) < (H` A)
551, 2, 3, 4, 5, 6ruclem23 4907 . . . 4 |- (H` A) e. RR
5622, 25, 55lelttr 4308 . . 3 |- ((S <_ (H` (A + 1)) /\ (H` (A + 1)) < (H` A)) -> S < (H` A))
5753, 54, 56mp2an 520 . 2 |- S < (H` A)
5824, 57pm3.2i 234 1 |- ((G` A) < S /\ S < (H` A))
Colors of variables: wff set class
Syntax hints:  -. wn 1   <-> wb 127   /\ wa 196   = wceq 1091   e. wcel 1092  A.wral 1201  E.wrex 1202   \ cdif 1484   u. cun 1485  ifcif 1776  {csn 1808  <.cop 1810   class class class wbr 2054  supcsup 2060   X. cxp 2408  ran crn 2411   |` cres 2412   o. ccom 2414   Fn wfn 2417  -->wf 2418  ` cfv 2422  (class class class)co 3001  {copab2 3002  1stc1st 3085  2ndc2nd 3086  RRcr 4027  1c1 4029   + caddc 4031   x. cmulc 4032   < clt 4033   / cdiv 4091   <_ cle 4092  NNcn 4093  2c2 4454  3c3 4455  seqcseq 4660
This theorem is referenced by:  ruclem36 4920
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-un 1076  ax-pow 1077  ax-reg 1078  ax-inf 1079
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-3or 582  df-3an 583  df-ex 679  df-sb 853  df-eu 1009  df-mo 1010  df-clab 1093  df-cleq 1097  df-clel 1099  df-ne 1192  df-ral 1205  df-rex 1206  df-reu 1207  df-rab 1208  df-v 1349  df-sbc 1441  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-pss 1494  df-nul 1708  df-if 1777  df-pw 1799  df-sn 1811  df-pr 1812  df-tp 1814  df-op 1815  df-uni 1920  df-int 1966  df-iun 1996  df-tr 2042  df-br 2063  df-opab 2098  df-eprel 2122  df-id 2125  df-po 2128  df-so 2138  df-sup 2154  df-fr 2169  df-we 2186  df-ord 2202  df-on 2203  df-lim 2204  df-suc 2205  df-om 2373  df-xp 2424  df-rel 2425  df-cnv 2426  df-co 2427  df-dm 2428  df-rn 2429  df-res 2430  df-ima 2431  df-fun 2432  df-fn 2433  df-f 2434  df-f1 2435  df-fo 2436  df-f1o 2437  df-fv 2438  df-rdg 2970  df-opr 3003  df-oprab 3004  df-1st 3087  df-2nd 3088  df-1o 3104  df-oadd 3106  df-omul 3107  df-er 3200  df-ec 3202  df-qs 3205  df-ni 3794  df-pli 3795  df-mi 3796  df-lti 3797  df-plpq 3829  df-mpq 3830  df-enq 3831  df-nq 3832  df-plq 3833  df-mq 3834  df-rq 3835  df-ltq 3836  df-1q 3837  df-np 3880  df-1p 3881  df-plp 3882  df-mp 3883  df-ltp 3884  df-plpr 3958  df-mpr 3959  df-enr 3960  df-nr 3961  df-plr 3962  df-mr 3963  df-ltr 3964  df-0r 3965  df-1r 3966  df-m1r 3967  df-c 4034  df-0 4035  df-1 4036  df-r 4038  df-plus 4039  df-mul 4040  df-lt 4041  df-sub 4133  df-neg 4135  df-div 4216  df-le 4277  df-n 4423  df-2 4462  df-3 4463  df-n0 4535  df-z 4564  df-seq 4661
metamath.org