![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > ruclem10 | Structured version Visualization version GIF version |
Description: Lemma for ruc 15380. 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.) |
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) |
Ref | Expression |
---|---|
ruclem10 | ⊢ (𝜑 → (1st ‘(𝐺‘𝑀)) < (2nd ‘(𝐺‘𝑁))) |
Step | Hyp | Ref | 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(𝐷, 𝐶) | |
5 | 1, 2, 3, 4 | ruclem6 15372 | . . . 4 ⊢ (𝜑 → 𝐺:ℕ0⟶(ℝ × ℝ)) |
6 | ruclem10.6 | . . . 4 ⊢ (𝜑 → 𝑀 ∈ ℕ0) | |
7 | 5, 6 | ffvelrnd 6626 | . . 3 ⊢ (𝜑 → (𝐺‘𝑀) ∈ (ℝ × ℝ)) |
8 | xp1st 7479 | . . 3 ⊢ ((𝐺‘𝑀) ∈ (ℝ × ℝ) → (1st ‘(𝐺‘𝑀)) ∈ ℝ) | |
9 | 7, 8 | syl 17 | . 2 ⊢ (𝜑 → (1st ‘(𝐺‘𝑀)) ∈ ℝ) |
10 | ruclem10.7 | . . . . 5 ⊢ (𝜑 → 𝑁 ∈ ℕ0) | |
11 | 10, 6 | ifcld 4352 | . . . 4 ⊢ (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℕ0) |
12 | 5, 11 | ffvelrnd 6626 | . . 3 ⊢ (𝜑 → (𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) ∈ (ℝ × ℝ)) |
13 | xp1st 7479 | . . 3 ⊢ ((𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) ∈ (ℝ × ℝ) → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ) | |
14 | 12, 13 | syl 17 | . 2 ⊢ (𝜑 → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ) |
15 | 5, 10 | ffvelrnd 6626 | . . 3 ⊢ (𝜑 → (𝐺‘𝑁) ∈ (ℝ × ℝ)) |
16 | xp2nd 7480 | . . 3 ⊢ ((𝐺‘𝑁) ∈ (ℝ × ℝ) → (2nd ‘(𝐺‘𝑁)) ∈ ℝ) | |
17 | 15, 16 | syl 17 | . 2 ⊢ (𝜑 → (2nd ‘(𝐺‘𝑁)) ∈ ℝ) |
18 | 6 | nn0red 11707 | . . . . . 6 ⊢ (𝜑 → 𝑀 ∈ ℝ) |
19 | 10 | nn0red 11707 | . . . . . 6 ⊢ (𝜑 → 𝑁 ∈ ℝ) |
20 | max1 12332 | . . . . . 6 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) | |
21 | 18, 19, 20 | syl2anc 579 | . . . . 5 ⊢ (𝜑 → 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) |
22 | 6 | nn0zd 11836 | . . . . . 6 ⊢ (𝜑 → 𝑀 ∈ ℤ) |
23 | 11 | nn0zd 11836 | . . . . . 6 ⊢ (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) |
24 | eluz 12010 | . . . . . 6 ⊢ ((𝑀 ∈ ℤ ∧ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑀) ↔ 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) | |
25 | 22, 23, 24 | syl2anc 579 | . . . . 5 ⊢ (𝜑 → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑀) ↔ 𝑀 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
26 | 21, 25 | mpbird 249 | . . . 4 ⊢ (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑀)) |
27 | 1, 2, 3, 4, 6, 26 | ruclem9 15375 | . . 3 ⊢ (𝜑 → ((1st ‘(𝐺‘𝑀)) ≤ (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∧ (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ≤ (2nd ‘(𝐺‘𝑀)))) |
28 | 27 | simpld 490 | . 2 ⊢ (𝜑 → (1st ‘(𝐺‘𝑀)) ≤ (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))) |
29 | xp2nd 7480 | . . . 4 ⊢ ((𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) ∈ (ℝ × ℝ) → (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ) | |
30 | 12, 29 | syl 17 | . . 3 ⊢ (𝜑 → (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∈ ℝ) |
31 | 1, 2, 3, 4 | ruclem8 15374 | . . . 4 ⊢ ((𝜑 ∧ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℕ0) → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) < (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))) |
32 | 11, 31 | mpdan 677 | . . 3 ⊢ (𝜑 → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) < (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀)))) |
33 | max2 12334 | . . . . . . 7 ⊢ ((𝑀 ∈ ℝ ∧ 𝑁 ∈ ℝ) → 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) | |
34 | 18, 19, 33 | syl2anc 579 | . . . . . 6 ⊢ (𝜑 → 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀)) |
35 | 10 | nn0zd 11836 | . . . . . . 7 ⊢ (𝜑 → 𝑁 ∈ ℤ) |
36 | eluz 12010 | . . . . . . 7 ⊢ ((𝑁 ∈ ℤ ∧ if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ ℤ) → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑁) ↔ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) | |
37 | 35, 23, 36 | syl2anc 579 | . . . . . 6 ⊢ (𝜑 → (if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑁) ↔ 𝑁 ≤ if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) |
38 | 34, 37 | mpbird 249 | . . . . 5 ⊢ (𝜑 → if(𝑀 ≤ 𝑁, 𝑁, 𝑀) ∈ (ℤ≥‘𝑁)) |
39 | 1, 2, 3, 4, 10, 38 | ruclem9 15375 | . . . 4 ⊢ (𝜑 → ((1st ‘(𝐺‘𝑁)) ≤ (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ∧ (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ≤ (2nd ‘(𝐺‘𝑁)))) |
40 | 39 | simprd 491 | . . 3 ⊢ (𝜑 → (2nd ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) ≤ (2nd ‘(𝐺‘𝑁))) |
41 | 14, 30, 17, 32, 40 | ltletrd 10538 | . 2 ⊢ (𝜑 → (1st ‘(𝐺‘if(𝑀 ≤ 𝑁, 𝑁, 𝑀))) < (2nd ‘(𝐺‘𝑁))) |
42 | 9, 14, 17, 28, 41 | lelttrd 10536 | 1 ⊢ (𝜑 → (1st ‘(𝐺‘𝑀)) < (2nd ‘(𝐺‘𝑁))) |
Colors of variables: wff setvar class |
Syntax hints: → wi 4 ↔ wb 198 = wceq 1601 ∈ wcel 2107 ⦋csb 3751 ∪ cun 3790 ifcif 4307 {csn 4398 〈cop 4404 class class class wbr 4888 × cxp 5355 ⟶wf 6133 ‘cfv 6137 (class class class)co 6924 ↦ cmpt2 6926 1st c1st 7445 2nd c2nd 7446 ℝcr 10273 0cc0 10274 1c1 10275 + caddc 10277 < clt 10413 ≤ cle 10414 / cdiv 11034 ℕcn 11378 2c2 11434 ℕ0cn0 11646 ℤcz 11732 ℤ≥cuz 11996 seqcseq 13123 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1839 ax-4 1853 ax-5 1953 ax-6 2021 ax-7 2055 ax-8 2109 ax-9 2116 ax-10 2135 ax-11 2150 ax-12 2163 ax-13 2334 ax-ext 2754 ax-sep 5019 ax-nul 5027 ax-pow 5079 ax-pr 5140 ax-un 7228 ax-cnex 10330 ax-resscn 10331 ax-1cn 10332 ax-icn 10333 ax-addcl 10334 ax-addrcl 10335 ax-mulcl 10336 ax-mulrcl 10337 ax-mulcom 10338 ax-addass 10339 ax-mulass 10340 ax-distr 10341 ax-i2m1 10342 ax-1ne0 10343 ax-1rid 10344 ax-rnegex 10345 ax-rrecex 10346 ax-cnre 10347 ax-pre-lttri 10348 ax-pre-lttrn 10349 ax-pre-ltadd 10350 ax-pre-mulgt0 10351 |
This theorem depends on definitions: df-bi 199 df-an 387 df-or 837 df-3or 1072 df-3an 1073 df-tru 1605 df-fal 1615 df-ex 1824 df-nf 1828 df-sb 2012 df-mo 2551 df-eu 2587 df-clab 2764 df-cleq 2770 df-clel 2774 df-nfc 2921 df-ne 2970 df-nel 3076 df-ral 3095 df-rex 3096 df-reu 3097 df-rmo 3098 df-rab 3099 df-v 3400 df-sbc 3653 df-csb 3752 df-dif 3795 df-un 3797 df-in 3799 df-ss 3806 df-pss 3808 df-nul 4142 df-if 4308 df-pw 4381 df-sn 4399 df-pr 4401 df-tp 4403 df-op 4405 df-uni 4674 df-iun 4757 df-br 4889 df-opab 4951 df-mpt 4968 df-tr 4990 df-id 5263 df-eprel 5268 df-po 5276 df-so 5277 df-fr 5316 df-we 5318 df-xp 5363 df-rel 5364 df-cnv 5365 df-co 5366 df-dm 5367 df-rn 5368 df-res 5369 df-ima 5370 df-pred 5935 df-ord 5981 df-on 5982 df-lim 5983 df-suc 5984 df-iota 6101 df-fun 6139 df-fn 6140 df-f 6141 df-f1 6142 df-fo 6143 df-f1o 6144 df-fv 6145 df-riota 6885 df-ov 6927 df-oprab 6928 df-mpt2 6929 df-om 7346 df-1st 7447 df-2nd 7448 df-wrecs 7691 df-recs 7753 df-rdg 7791 df-er 8028 df-en 8244 df-dom 8245 df-sdom 8246 df-pnf 10415 df-mnf 10416 df-xr 10417 df-ltxr 10418 df-le 10419 df-sub 10610 df-neg 10611 df-div 11035 df-nn 11379 df-2 11442 df-n0 11647 df-z 11733 df-uz 11997 df-fz 12648 df-seq 13124 |
This theorem is referenced by: ruclem11 15377 ruclem12 15378 |
Copyright terms: Public domain | W3C validator |