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

Theorem ruclem11 16450
Description: Lemma for ruc 16453. 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 16445 . . . 4 (𝜑 → 𝐺:ℕ0⟶(ℝ × ℝ))
6 1stcof 8064 . . . 4 (𝐺:ℕ0⟶(ℝ × ℝ) → (1st ∘ 𝐺):ℕ0⟶ℝ)
75, 6syl 18 . . 3 (𝜑 → (1st ∘ 𝐺):ℕ0⟶ℝ)
87frnd 6747 . 2 (𝜑 → ran (1st ∘ 𝐺) ⊆ ℝ)
97fdmd 6749 . . . 4 (𝜑 → dom (1st ∘ 𝐺) = ℕ0)
10 0nn0 12660 . . . . 5 0 ∈ ℕ0
11 ne0i 4289 . . . . 5 (0 ∈ ℕ0 → ℕ0 ≠ ∅)
1210, 11mp1i 14 . . . 4 (𝜑 → ℕ0 ≠ ∅)
139, 12eqnetrd 3029 . . 3 (𝜑 → dom (1st ∘ 𝐺) ≠ ∅)
14 dm0rn0 5917 . . . 4 (dom (1st ∘ 𝐺) = ∅ ↔ ran (1st ∘ 𝐺) = ∅)
1514necon3bii 3014 . . 3 (dom (1st ∘ 𝐺) ≠ ∅ ↔ ran (1st ∘ 𝐺) ≠ ∅)
1613, 15sylib 221 . 2 (𝜑 → ran (1st ∘ 𝐺) ≠ ∅)
17 fvco3 7015 . . . . . 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 16449 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) < (2nd ‘(𝐺‘0)))
241, 2, 3, 4ruclem4 16444 . . . . . . . . . 10 (𝜑 → (𝐺‘0) = ⟨0, 1⟩)
2524fveq2d 6919 . . . . . . . . 9 (𝜑 → (2nd ‘(𝐺‘0)) = (2nd ‘⟨0, 1⟩))
26 c0ex 11338 . . . . . . . . . 10 0 ∈ V
27 1ex 11341 . . . . . . . . . 10 1 ∈ V
2826, 27op2nd 8043 . . . . . . . . 9 (2nd ‘⟨0, 1⟩) = 1
2925, 28eqtrdi 2817 . . . . . . . 8 (𝜑 → (2nd ‘(𝐺‘0)) = 1)
3029adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (2nd ‘(𝐺‘0)) = 1)
3123, 30breqtrd 5136 . . . . . 6 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) < 1)
325ffvelcdmda 7115 . . . . . . . 8 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (𝐺‘𝑛) ∈ (ℝ × ℝ))
33 xp1st 8066 . . . . . . . 8 ((𝐺‘𝑛) ∈ (ℝ × ℝ) → (1st ‘(𝐺‘𝑛)) ∈ ℝ)
3432, 33syl 18 . . . . . . 7 ((𝜑 ∧ 𝑛 ∈ ℕ0) → (1st ‘(𝐺‘𝑛)) ∈ ℝ)
35 1re 11346 . . . . . . 7 1 ∈ ℝ
36 ltle 11436 . . . . . . 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 5132 . . . 4 ((𝜑 ∧ 𝑛 ∈ ℕ0) → ((1st ∘ 𝐺)‘𝑛) ≤ 1)
4039ralrimiva 3161 . . 3 (𝜑 → ∀𝑛 ∈ ℕ0 ((1st ∘ 𝐺)‘𝑛) ≤ 1)
417ffnd 6739 . . . 4 (𝜑 → (1st ∘ 𝐺) Fn ℕ0)
42 breq1 5110 . . . . 5 (𝑧 = ((1st ∘ 𝐺)‘𝑛) → (𝑧 ≤ 1 ↔ ((1st ∘ 𝐺)‘𝑛) ≤ 1))
4342ralrn 7119 . . . 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 1147 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 1104   = wceq 1572   ∈ wcel 2150   ≠ wne 2962  ∀wral 3083  ⦋csb 3850   ⊆ wss 3899   ∪ cun 4151  ∅c0 4280  ifcif 4484  {csn 4587  ⟨cop 4839   class class class wbr 5107   × cxp 5655  dom cdm 5657  ran crn 5658   ∘ ccom 5661   Fn wfn 6560  ⟶wf 6561  ‘cfv 6565  (class class class)co 7450   ∈ cmpo 7452  1st c1st 8032  2nd c2nd 8033  ℝcr 11237  0cc0 11238  1c1 11239   + caddc 11241   < clt 11381   ≤ cle 11382   / cdiv 12012  ℕcn 12374  2c2 12436  ℕ0cn0 12645  seqcseq 14183
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-10 2183  ax-11 2200  ax-12 2219  ax-ext 2738  ax-sep 5254  ax-nul 5265  ax-pow 5333  ax-pr 5397  ax-un 7782  ax-cnex 11294  ax-resscn 11295  ax-1cn 11296  ax-icn 11297  ax-addcl 11298  ax-addrcl 11299  ax-mulcl 11300  ax-mulrcl 11301  ax-mulcom 11302  ax-addass 11303  ax-mulass 11304  ax-distr 11305  ax-i2m1 11306  ax-1ne0 11307  ax-1rid 11308  ax-rnegex 11309  ax-rrecex 11310  ax-cnre 11311  ax-pre-lttri 11312  ax-pre-lttrn 11313  ax-pre-ltadd 11314  ax-pre-mulgt0 11315
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2104  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2842  df-nfc 2916  df-ne 2963  df-nel 3069  df-ral 3084  df-rex 3094  df-rmo 3368  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4840  df-uni 4872  df-iun 4957  df-br 5108  df-opab 5173  df-mpt 5192  df-tr 5218  df-id 5552  df-eprel 5557  df-po 5565  df-so 5566  df-fr 5610  df-we 5612  df-xp 5663  df-rel 5664  df-cnv 5665  df-co 5666  df-dm 5667  df-rn 5668  df-res 5669  df-ima 5670  df-pred 6329  df-ord 6390  df-on 6391  df-lim 6392  df-suc 6393  df-iota 6519  df-fun 6567  df-fn 6568  df-f 6569  df-f1 6570  df-fo 6571  df-f1o 6572  df-fv 6573  df-riota 7407  df-ov 7453  df-oprab 7454  df-mpo 7455  df-om 7911  df-1st 8034  df-2nd 8035  df-frecs 8336  df-wrecs 8367  df-recs 8416  df-rdg 8455  df-er 8754  df-en 9011  df-dom 9012  df-sdom 9013  df-pnf 11383  df-mnf 11384  df-xr 11385  df-ltxr 11386  df-le 11387  df-sub 11581  df-neg 11582  df-div 12013  df-nn 12375  df-2 12444  df-n0 12646  df-z 12733  df-uz 13005  df-fz 13679  df-seq 14184
This theorem is used by:  ruclem12  16451
  Copyright terms: Public domain W3C validator