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

Theorem ruclem11 16434
Description: Lemma for ruc 16437. 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 16429 . . . 4 (𝜑 → 𝐺:ℕ0⟶(ℝ × ℝ))
6 1stcof 8052 . . . 4 (𝐺:ℕ0⟶(ℝ × ℝ) → (1st ∘ 𝐺):ℕ0⟶ℝ)
75, 6syl 18 . . 3 (𝜑 → (1st ∘ 𝐺):ℕ0⟶ℝ)
87frnd 6737 . 2 (𝜑 → ran (1st ∘ 𝐺) ⊆ ℝ)
97fdmd 6739 . . . 4 (𝜑 → dom (1st ∘ 𝐺) = ℕ0)
10 0nn0 12645 . . . . 5 0 ∈ ℕ0
11 ne0i 4290 . . . . 5 (0 ∈ ℕ0 → ℕ0 ≠ ∅)
1210, 11mp1i 14 . . . 4 (𝜑 → ℕ0 ≠ ∅)
139, 12eqnetrd 3026 . . 3 (𝜑 → dom (1st ∘ 𝐺) ≠ ∅)
14 dm0rn0 5912 . . . 4 (dom (1st ∘ 𝐺) = ∅ ↔ ran (1st ∘ 𝐺) = ∅)
1514necon3bii 3011 . . 3 (dom (1st ∘ 𝐺) ≠ ∅ ↔ ran (1st ∘ 𝐺) ≠ ∅)
1613, 15sylib 221 . 2 (𝜑 → ran (1st ∘ 𝐺) ≠ ∅)
17 fvco3 7005 . . . . . 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 16433 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) < (2nd ‘(𝐺‘0)))
241, 2, 3, 4ruclem4 16428 . . . . . . . . . 10 (𝜑 → (𝐺‘0) = ⟨0, 1⟩)
2524fveq2d 6909 . . . . . . . . 9 (𝜑 → (2nd ‘(𝐺‘0)) = (2nd ‘⟨0, 1⟩))
26 c0ex 11324 . . . . . . . . . 10 0 ∈ V
27 1ex 11327 . . . . . . . . . 10 1 ∈ V
2826, 27op2nd 8031 . . . . . . . . 9 (2nd ‘⟨0, 1⟩) = 1
2925, 28eqtrdi 2814 . . . . . . . 8 (𝜑 → (2nd ‘(𝐺‘0)) = 1)
3029adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (2nd ‘(𝐺‘0)) = 1)
3123, 30breqtrd 5134 . . . . . 6 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) < 1)
325ffvelcdmda 7105 . . . . . . . 8 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (𝐺‘𝑛) ∈ (ℝ × ℝ))
33 xp1st 8054 . . . . . . . 8 ((𝐺‘𝑛) ∈ (ℝ × ℝ) → (1st ‘(𝐺‘𝑛)) ∈ ℝ)
3432, 33syl 18 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) ∈ ℝ)
35 1re 11332 . . . . . . 7 1 ∈ ℝ
36 ltle 11422 . . . . . . 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 5130 . . . 4 ((𝜑 ∧ 𝑛 ∈ ℕ0) → ((1st ∘ 𝐺)‘𝑛) ≤ 1)
4039ralrimiva 3158 . . 3 (𝜑 → ∀𝑛 ∈ ℕ0 ((1st ∘ 𝐺)‘𝑛) ≤ 1)
417ffnd 6729 . . . 4 (𝜑 → (1st ∘ 𝐺) Fn ℕ0)
42 breq1 5109 . . . . 5 (𝑧 = ((1st ∘ 𝐺)‘𝑛) → (𝑧 ≤ 1 ↔ ((1st ∘ 𝐺)‘𝑛) ≤ 1))
4342ralrn 7109 . . . 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 1570   ∈ wcel 2147   ≠ wne 2959  ∀wral 3080  ⦋csb 3851   ⊆ wss 3900   ∪ cun 4152  ∅c0 4281  ifcif 4485  {csn 4588  ⟨cop 4838   class class class wbr 5106   × cxp 5653  dom cdm 5655  ran crn 5656   ∘ ccom 5659   Fn wfn 6550  ⟶wf 6551  ‘cfv 6555  (class class class)co 7440   ∈ cmpo 7442  1st c1st 8020  2nd c2nd 8021  ℝcr 11223  0cc0 11224  1c1 11225   + caddc 11227   < clt 11367   ≤ cle 11368   / cdiv 11997  ℕcn 12359  2c2 12421  ℕ0cn0 12630  seqcseq 14168
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pow 5331  ax-pr 5395  ax-un 7772  ax-cnex 11280  ax-resscn 11281  ax-1cn 11282  ax-icn 11283  ax-addcl 11284  ax-addrcl 11285  ax-mulcl 11286  ax-mulrcl 11287  ax-mulcom 11288  ax-addass 11289  ax-mulass 11290  ax-distr 11291  ax-i2m1 11292  ax-1ne0 11293  ax-1rid 11294  ax-rnegex 11295  ax-rrecex 11296  ax-cnre 11297  ax-pre-lttri 11298  ax-pre-lttrn 11299  ax-pre-ltadd 11300  ax-pre-mulgt0 11301
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-nel 3066  df-ral 3081  df-rex 3091  df-rmo 3369  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5171  df-mpt 5190  df-tr 5216  df-id 5550  df-eprel 5555  df-po 5563  df-so 5564  df-fr 5608  df-we 5610  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-pred 6319  df-ord 6380  df-on 6381  df-lim 6382  df-suc 6383  df-iota 6509  df-fun 6557  df-fn 6558  df-f 6559  df-f1 6560  df-fo 6561  df-f1o 6562  df-fv 6563  df-riota 7397  df-ov 7443  df-oprab 7444  df-mpo 7445  df-om 7899  df-1st 8022  df-2nd 8023  df-frecs 8324  df-wrecs 8355  df-recs 8404  df-rdg 8443  df-er 8742  df-en 8999  df-dom 9000  df-sdom 9001  df-pnf 11369  df-mnf 11370  df-xr 11371  df-ltxr 11372  df-le 11373  df-sub 11567  df-neg 11568  df-div 11998  df-nn 12360  df-2 12429  df-n0 12631  df-z 12718  df-uz 12990  df-fz 13664  df-seq 14169
This theorem is used by:  ruclem12  16435
  Copyright terms: Public domain W3C validator