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

Theorem ruclem11 16408
Description: Lemma for ruc 16411. Closure lemmas for supremum. (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
ruclem11 (𝜑 → (ran (1st ∘ 𝐺) ⊆ ℝ ∧ ran (1st ∘ 𝐺) ≠ ∅ ∧ ∀𝑧 ∈ ran (1st ∘ 𝐺)𝑧 ≤ 1))
Distinct variable groups:   𝑥,𝑚,𝑦   𝑧,𝐶   𝑧,𝑚,𝐹,𝑥,𝑦   𝑚,𝐺,𝑥,𝑦,𝑧   𝜑,𝑧   𝑧,𝐷
Allowed substitution hints:   𝜑(𝑥, 𝑦, 𝑚)   𝐶(𝑥, 𝑦, 𝑚)   𝐷(𝑥, 𝑦, 𝑚)

Proof of Theorem ruclem11
Dummy variable 𝑛 is distinct from all other variables.
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 1stcof 8031 . . . 4 (𝐺:ℕ0⟶(ℝ × ℝ) → (1st ∘ 𝐺):ℕ0⟶ℝ)
75, 6syl 18 . . 3 (𝜑 → (1st ∘ 𝐺):ℕ0⟶ℝ)
87frnd 6718 . 2 (𝜑 → ran (1st ∘ 𝐺) ⊆ ℝ)
97fdmd 6720 . . . 4 (𝜑 → dom (1st ∘ 𝐺) = ℕ0)
10 0nn0 12621 . . . . 5 0 ∈ ℕ0
11 ne0i 4286 . . . . 5 (0 ∈ ℕ0 → ℕ0 ≠ ∅)
1210, 11mp1i 14 . . . 4 (𝜑 → ℕ0 ≠ ∅)
139, 12eqnetrd 3022 . . 3 (𝜑 → dom (1st ∘ 𝐺) ≠ ∅)
14 dm0rn0 5905 . . . 4 (dom (1st ∘ 𝐺) = ∅ ↔ ran (1st ∘ 𝐺) = ∅)
1514necon3bii 3007 . . 3 (dom (1st ∘ 𝐺) ≠ ∅ ↔ ran (1st ∘ 𝐺) ≠ ∅)
1613, 15sylib 221 . 2 (𝜑 → ran (1st ∘ 𝐺) ≠ ∅)
17 fvco3 6985 . . . . . 6 ((𝐺:ℕ0⟶(ℝ × ℝ) ∧ 𝑛 ∈ ℕ0) → ((1st ∘ 𝐺)‘𝑛) = (1st ‘(𝐺‘𝑛)))
185, 17sylan 592 . . . . 5 ((𝜑 ∧ 𝑛 ∈ ℕ0) → ((1st ∘ 𝐺)‘𝑛) = (1st ‘(𝐺‘𝑛)))
191adantr 486 . . . . . . . 8 ((𝜑 ∧ 𝑛 ∈ ℕ0) → 𝐹:ℕ⟶ℝ)
202adantr 486 . . . . . . . 8 ((𝜑 ∧ 𝑛 ∈ ℕ0) → 𝐷 = (𝑥 ∈ (ℝ × ℝ), 𝑦 ∈ ℝ ↦ ⦋(((1st ‘𝑥) + (2nd ‘𝑥)) / 2) / 𝑚⦌if(𝑚 < 𝑦, ⟨(1st ‘𝑥), 𝑚⟩, ⟨((𝑚 + (2nd ‘𝑥)) / 2), (2nd ‘𝑥)⟩)))
21 simpr 490 . . . . . . . 8 ((𝜑 ∧ 𝑛 ∈ ℕ0) → 𝑛 ∈ ℕ0)
2210a1i 11 . . . . . . . 8 ((𝜑 ∧ 𝑛 ∈ ℕ0) → 0 ∈ ℕ0)
2319, 20, 3, 4, 21, 22ruclem10 16407 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) < (2nd ‘(𝐺‘0)))
241, 2, 3, 4ruclem4 16402 . . . . . . . . . 10 (𝜑 → (𝐺‘0) = ⟨0, 1⟩)
2524fveq2d 6889 . . . . . . . . 9 (𝜑 → (2nd ‘(𝐺‘0)) = (2nd ‘⟨0, 1⟩))
26 c0ex 11300 . . . . . . . . . 10 0 ∈ V
27 1ex 11303 . . . . . . . . . 10 1 ∈ V
2826, 27op2nd 8010 . . . . . . . . 9 (2nd ‘⟨0, 1⟩) = 1
2925, 28eqtrdi 2811 . . . . . . . 8 (𝜑 → (2nd ‘(𝐺‘0)) = 1)
3029adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (2nd ‘(𝐺‘0)) = 1)
3123, 30breqtrd 5130 . . . . . 6 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) < 1)
325ffvelcdmda 7084 . . . . . . . 8 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (𝐺‘𝑛) ∈ (ℝ × ℝ))
33 xp1st 8033 . . . . . . . 8 ((𝐺‘𝑛) ∈ (ℝ × ℝ) → (1st ‘(𝐺‘𝑛)) ∈ ℝ)
3432, 33syl 18 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) ∈ ℝ)
35 1re 11308 . . . . . . 7 1 ∈ ℝ
36 ltle 11398 . . . . . . 7 (((1st ‘(𝐺‘𝑛)) ∈ ℝ ∧ 1 ∈ ℝ) → ((1st ‘(𝐺‘𝑛)) < 1 → (1st ‘(𝐺‘𝑛)) ≤ 1))
3734, 35, 36sylancl 598 . . . . . 6 ((𝜑 ∧ 𝑛 ∈ ℕ0) → ((1st ‘(𝐺‘𝑛)) < 1 → (1st ‘(𝐺‘𝑛)) ≤ 1))
3831, 37mpd 16 . . . . 5 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) ≤ 1)
3918, 38eqbrtrd 5126 . . . 4 ((𝜑 ∧ 𝑛 ∈ ℕ0) → ((1st ∘ 𝐺)‘𝑛) ≤ 1)
4039ralrimiva 3154 . . 3 (𝜑 → ∀𝑛 ∈ ℕ0 ((1st ∘ 𝐺)‘𝑛) ≤ 1)
417ffnd 6710 . . . 4 (𝜑 → (1st ∘ 𝐺) Fn ℕ0)
42 breq1 5105 . . . . 5 (𝑧 = ((1st ∘ 𝐺)‘𝑛) → (𝑧 ≤ 1 ↔ ((1st ∘ 𝐺)‘𝑛) ≤ 1))
4342ralrn 7088 . . . 4 ((1st ∘ 𝐺) Fn ℕ0 → (∀𝑧 ∈ ran (1st ∘ 𝐺)𝑧 ≤ 1 ↔ ∀𝑛 ∈ ℕ0 ((1st ∘ 𝐺)‘𝑛) ≤ 1))
4441, 43syl 18 . . 3 (𝜑 → (∀𝑧 ∈ ran (1st ∘ 𝐺)𝑧 ≤ 1 ↔ ∀𝑛 ∈ ℕ0 ((1st ∘ 𝐺)‘𝑛) ≤ 1))
4540, 44mpbird 260 . 2 (𝜑 → ∀𝑧 ∈ ran (1st ∘ 𝐺)𝑧 ≤ 1)
468, 16, 453jca 1146 1 (𝜑 → (ran (1st ∘ 𝐺) ⊆ ℝ ∧ ran (1st ∘ 𝐺) ≠ ∅ ∧ ∀𝑧 ∈ ran (1st ∘ 𝐺)𝑧 ≤ 1))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2144   ≠ wne 2955  ∀wral 3076  ⦋csb 3846   ⊆ wss 3895   ∪ cun 4149  ∅c0 4278  ifcif 4481  {csn 4583  ⟨cop 4589   class class class wbr 5102   × cxp 5648  dom cdm 5650  ran crn 5651   ∘ ccom 5654   Fn wfn 6533  ⟶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  seqcseq 14144
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  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 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-rmo 3365  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4584  df-pr 4586  df-op 4590  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  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:  ruclem12  16409
  Copyright terms: Public domain W3C validator