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

Theorem ruclem10 16407
Description: Lemma for ruc 16411. Every first component of the 𝐺 sequence is less than every second component. That is, the sequences form a chain a1 < a2 <... < b2 < b1, where ai are the first components and bi are the second components. (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(𝐷, 𝐶)
ruclem10.6 (𝜑 → 𝑀 ∈ ℕ0)
ruclem10.7 (𝜑 → 𝑁 ∈ ℕ0)
Assertion
Ref Expression
ruclem10 (𝜑 → (1st ‘(𝐺‘𝑀)) < (2nd ‘(𝐺‘𝑁)))
Distinct variable groups:   𝑥,𝑚,𝑦,𝐹   𝑚,𝐺,𝑥,𝑦   𝑚,𝑀,𝑥,𝑦   𝑚,𝑁,𝑥,𝑦
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑚)   𝐶(𝑥, 𝑦, 𝑚)   𝐷(𝑥, 𝑦, 𝑚)

Proof of Theorem ruclem10
StepHypRef Expression
1 ruc.1 . . . . 5 (𝜑 → 𝐹:ℕ⟶ℝ)
2 ruc.2 . . . . 5 (𝜑 → 𝐷 = (𝑥 ∈ (ℝ × ℝ), 𝑦 ∈ ℝ ↦ ⦋(((1st ‘𝑥) + (2nd ‘𝑥)) / 2) / 𝑚⦌if(𝑚 < 𝑦, ⟨(1st ‘𝑥), 𝑚⟩, ⟨((𝑚 + (2nd ‘𝑥)) / 2), (2nd ‘𝑥)⟩)))
3 ruc.4 . . . . 5 𝐶 = ({⟨0, ⟨0, 1⟩⟩} ∪ 𝐹)
4 ruc.5 . . . . 5 𝐺 = seq0(𝐷, 𝐶)
51, 2, 3, 4ruclem6 16403 . . . 4 (𝜑 → 𝐺:ℕ0⟶(ℝ × ℝ))
6 ruclem10.6 . . . 4 (𝜑 → 𝑀 ∈ ℕ0)
75, 6ffvelcdmd 7085 . . 3 (𝜑 → (𝐺‘𝑀) ∈ (ℝ × ℝ))
8 xp1st 8033 . . 3 ((𝐺‘𝑀) ∈ (ℝ × ℝ) → (1st ‘(𝐺‘𝑀)) ∈ ℝ)
97, 8syl 18 . 2 (𝜑 → (1st ‘(𝐺‘𝑀)) ∈ ℝ)
10 ruclem10.7 . . . . 5 (𝜑 → 𝑁 ∈ ℕ0)
1110, 6ifcld 4529 . . . 4 (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℕ0)
125, 11ffvelcdmd 7085 . . 3 (𝜑 → (𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) ∈ (ℝ × ℝ))
13 xp1st 8033 . . 3 ((𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) ∈ (ℝ × ℝ) → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ)
1412, 13syl 18 . 2 (𝜑 → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ)
155, 10ffvelcdmd 7085 . . 3 (𝜑 → (𝐺‘𝑁) ∈ (ℝ × ℝ))
16 xp2nd 8034 . . 3 ((𝐺‘𝑁) ∈ (ℝ × ℝ) → (2nd ‘(𝐺‘𝑁)) ∈ ℝ)
1715, 16syl 18 . 2 (𝜑 → (2nd ‘(𝐺‘𝑁)) ∈ ℝ)
186nn0red 12668 . . . . . 6 (𝜑 → 𝑀 ∈ ℝ)
1910nn0red 12668 . . . . . 6 (𝜑 → 𝑁 ∈ ℝ)
20 max1 13315 . . . . . 6 ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))
2118, 19, 20syl2anc 596 . . . . 5 (𝜑 → 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))
226nn0zd 12718 . . . . . 6 (𝜑 → 𝑀 ∈ ℤ)
2311nn0zd 12718 . . . . . 6 (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ)
24 eluz 12979 . . . . . 6 ((𝑀 ∈ ℤ ∧ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑀) ↔ 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))
2522, 23, 24syl2anc 596 . . . . 5 (𝜑 → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑀) ↔ 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))
2621, 25mpbird 260 . . . 4 (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑀))
271, 2, 3, 4, 6, 26ruclem9 16406 . . 3 (𝜑 → ((1st ‘(𝐺‘𝑀)) ≤ (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∧ (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ≤ (2nd ‘(𝐺‘𝑀))))
2827simpld 500 . 2 (𝜑 → (1st ‘(𝐺‘𝑀)) ≤ (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))))
29 xp2nd 8034 . . . 4 ((𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) ∈ (ℝ × ℝ) → (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ)
3012, 29syl 18 . . 3 (𝜑 → (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ)
311, 2, 3, 4ruclem8 16405 . . . 4 ((𝜑 ∧ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℕ0) → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) < (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))))
3211, 31mpdan 700 . . 3 (𝜑 → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) < (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))))
33 max2 13317 . . . . . . 7 ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))
3418, 19, 33syl2anc 596 . . . . . 6 (𝜑 → 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))
3510nn0zd 12718 . . . . . . 7 (𝜑 → 𝑁 ∈ ℤ)
36 eluz 12979 . . . . . . 7 ((𝑁 ∈ ℤ ∧ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑁) ↔ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))
3735, 23, 36syl2anc 596 . . . . . 6 (𝜑 → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑁) ↔ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))
3834, 37mpbird 260 . . . . 5 (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑁))
391, 2, 3, 4, 10, 38ruclem9 16406 . . . 4 (𝜑 → ((1st ‘(𝐺‘𝑁)) ≤ (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∧ (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ≤ (2nd ‘(𝐺‘𝑁))))
4039simprd 501 . . 3 (𝜑 → (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ≤ (2nd ‘(𝐺‘𝑁)))
4114, 30, 17, 32, 40ltletrd 11470 . 2 (𝜑 → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) < (2nd ‘(𝐺‘𝑁)))
429, 14, 17, 28, 41lelttrd 11468 1 (𝜑 → (1st ‘(𝐺‘𝑀)) < (2nd ‘(𝐺‘𝑁)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1570   ∈ wcel 2145  ⦋csb 3847   ∪ cun 3897  ifcif 4482  {csn 4584  ⟨cop 4590   class class class wbr 5103   × cxp 5649  ⟶wf 6534  ‘cfv 6538  (class class class)co 7420   ∈ cmpo 7422  1st c1st 7999  2nd c2nd 8000  ℝcr 11199  0cc0 11200  1c1 11201   + caddc 11203   < clt 11343   ≤ cle 11344   / cdiv 11973  ℕcn 12335  2c2 12397  ℕ0cn0 12606  ℤcz 12693  ℤ≥cuz 12965  seqcseq 14144
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7751  ax-cnex 11256  ax-resscn 11257  ax-1cn 11258  ax-icn 11259  ax-addcl 11260  ax-addrcl 11261  ax-mulcl 11262  ax-mulrcl 11263  ax-mulcom 11264  ax-addass 11265  ax-mulass 11266  ax-distr 11267  ax-i2m1 11268  ax-1ne0 11269  ax-1rid 11270  ax-rnegex 11271  ax-rrecex 11272  ax-cnre 11273  ax-pre-lttri 11274  ax-pre-lttrn 11275  ax-pre-ltadd 11276  ax-pre-mulgt0 11277
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-rmo 3366  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-riota 7377  df-ov 7423  df-oprab 7424  df-mpo 7425  df-om 7878  df-1st 8001  df-2nd 8002  df-frecs 8299  df-wrecs 8330  df-recs 8379  df-rdg 8418  df-er 8717  df-en 8974  df-dom 8975  df-sdom 8976  df-pnf 11345  df-mnf 11346  df-xr 11347  df-ltxr 11348  df-le 11349  df-sub 11543  df-neg 11544  df-div 11974  df-nn 12336  df-2 12405  df-n0 12607  df-z 12694  df-uz 12966  df-fz 13640  df-seq 14145
This theorem is used by:  ruclem11  16408  ruclem12  16409
  Copyright terms: Public domain W3C validator