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

Theorem dyadmaxlem 24192
Description: Lemma for dyadmax 24193. (Contributed by Mario Carneiro, 26-Mar-2015.)
Hypotheses
Ref Expression
dyadmbl.1 𝐹 = (𝑥 ∈ ℤ, 𝑦 ∈ ℕ0 ↦ ⟨(𝑥 / (2↑𝑦)), ((𝑥 + 1) / (2↑𝑦))⟩)
dyadmax.2 (𝜑𝐴 ∈ ℤ)
dyadmax.3 (𝜑𝐵 ∈ ℤ)
dyadmax.4 (𝜑𝐶 ∈ ℕ0)
dyadmax.5 (𝜑𝐷 ∈ ℕ0)
dyadmax.6 (𝜑 → ¬ 𝐷 < 𝐶)
dyadmax.7 (𝜑 → ([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)))
Assertion
Ref Expression
dyadmaxlem (𝜑 → (𝐴 = 𝐵𝐶 = 𝐷))
Distinct variable groups:   𝑥,𝑦,𝐵   𝑥,𝐶,𝑦   𝑥,𝐴,𝑦   𝑥,𝐷,𝑦   𝑥,𝐹,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem dyadmaxlem
StepHypRef Expression
1 dyadmax.7 . . . . . . . . 9 (𝜑 → ([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)))
2 dyadmax.2 . . . . . . . . . . . 12 (𝜑𝐴 ∈ ℤ)
3 dyadmax.4 . . . . . . . . . . . 12 (𝜑𝐶 ∈ ℕ0)
4 dyadmbl.1 . . . . . . . . . . . . 13 𝐹 = (𝑥 ∈ ℤ, 𝑦 ∈ ℕ0 ↦ ⟨(𝑥 / (2↑𝑦)), ((𝑥 + 1) / (2↑𝑦))⟩)
54dyadval 24187 . . . . . . . . . . . 12 ((𝐴 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
62, 3, 5syl2anc 586 . . . . . . . . . . 11 (𝜑 → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
76fveq2d 6668 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩))
8 df-ov 7153 . . . . . . . . . 10 ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
97, 8syl6eqr 2874 . . . . . . . . 9 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
10 dyadmax.3 . . . . . . . . . . . . . . . 16 (𝜑𝐵 ∈ ℤ)
11 dyadmax.5 . . . . . . . . . . . . . . . 16 (𝜑𝐷 ∈ ℕ0)
124dyadss 24189 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℕ0𝐷 ∈ ℕ0)) → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
132, 10, 3, 11, 12syl22anc 836 . . . . . . . . . . . . . . 15 (𝜑 → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
141, 13mpd 15 . . . . . . . . . . . . . 14 (𝜑𝐷𝐶)
15 dyadmax.6 . . . . . . . . . . . . . 14 (𝜑 → ¬ 𝐷 < 𝐶)
1611nn0red 11950 . . . . . . . . . . . . . . 15 (𝜑𝐷 ∈ ℝ)
173nn0red 11950 . . . . . . . . . . . . . . 15 (𝜑𝐶 ∈ ℝ)
1816, 17eqleltd 10778 . . . . . . . . . . . . . 14 (𝜑 → (𝐷 = 𝐶 ↔ (𝐷𝐶 ∧ ¬ 𝐷 < 𝐶)))
1914, 15, 18mpbir2and 711 . . . . . . . . . . . . 13 (𝜑𝐷 = 𝐶)
2019oveq2d 7166 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐷) = (𝐵𝐹𝐶))
214dyadval 24187 . . . . . . . . . . . . 13 ((𝐵 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2210, 3, 21syl2anc 586 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2320, 22eqtrd 2856 . . . . . . . . . . 11 (𝜑 → (𝐵𝐹𝐷) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2423fveq2d 6668 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩))
25 df-ov 7153 . . . . . . . . . 10 ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2624, 25syl6eqr 2874 . . . . . . . . 9 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
271, 9, 263sstr3d 4012 . . . . . . . 8 (𝜑 → ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) ⊆ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
282zred 12081 . . . . . . . . . . 11 (𝜑𝐴 ∈ ℝ)
29 2nn 11704 . . . . . . . . . . . 12 2 ∈ ℕ
30 nnexpcl 13436 . . . . . . . . . . . 12 ((2 ∈ ℕ ∧ 𝐶 ∈ ℕ0) → (2↑𝐶) ∈ ℕ)
3129, 3, 30sylancr 589 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℕ)
3228, 31nndivred 11685 . . . . . . . . . 10 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ)
3332rexrd 10685 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ*)
34 peano2re 10807 . . . . . . . . . . . 12 (𝐴 ∈ ℝ → (𝐴 + 1) ∈ ℝ)
3528, 34syl 17 . . . . . . . . . . 11 (𝜑 → (𝐴 + 1) ∈ ℝ)
3635, 31nndivred 11685 . . . . . . . . . 10 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ)
3736rexrd 10685 . . . . . . . . 9 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ*)
3828lep1d 11565 . . . . . . . . . 10 (𝜑𝐴 ≤ (𝐴 + 1))
3931nnred 11647 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℝ)
4031nngt0d 11680 . . . . . . . . . . 11 (𝜑 → 0 < (2↑𝐶))
41 lediv1 11499 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ (𝐴 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4228, 35, 39, 40, 41syl112anc 1370 . . . . . . . . . 10 (𝜑 → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4338, 42mpbid 234 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)))
44 ubicc2 12847 . . . . . . . . 9 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4533, 37, 43, 44syl3anc 1367 . . . . . . . 8 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4627, 45sseldd 3967 . . . . . . 7 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
4710zred 12081 . . . . . . . . 9 (𝜑𝐵 ∈ ℝ)
4847, 31nndivred 11685 . . . . . . . 8 (𝜑 → (𝐵 / (2↑𝐶)) ∈ ℝ)
49 peano2re 10807 . . . . . . . . . 10 (𝐵 ∈ ℝ → (𝐵 + 1) ∈ ℝ)
5047, 49syl 17 . . . . . . . . 9 (𝜑 → (𝐵 + 1) ∈ ℝ)
5150, 31nndivred 11685 . . . . . . . 8 (𝜑 → ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ)
52 elicc2 12795 . . . . . . . 8 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → (((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
5348, 51, 52syl2anc 586 . . . . . . 7 (𝜑 → (((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
5446, 53mpbid 234 . . . . . 6 (𝜑 → (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5554simp3d 1140 . . . . 5 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))
56 lediv1 11499 . . . . . 6 (((𝐴 + 1) ∈ ℝ ∧ (𝐵 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5735, 50, 39, 40, 56syl112anc 1370 . . . . 5 (𝜑 → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5855, 57mpbird 259 . . . 4 (𝜑 → (𝐴 + 1) ≤ (𝐵 + 1))
59 1red 10636 . . . . 5 (𝜑 → 1 ∈ ℝ)
6028, 47, 59leadd1d 11228 . . . 4 (𝜑 → (𝐴𝐵 ↔ (𝐴 + 1) ≤ (𝐵 + 1)))
6158, 60mpbird 259 . . 3 (𝜑𝐴𝐵)
62 lbicc2 12846 . . . . . . . 8 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6333, 37, 43, 62syl3anc 1367 . . . . . . 7 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6427, 63sseldd 3967 . . . . . 6 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
65 elicc2 12795 . . . . . . 7 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6648, 51, 65syl2anc 586 . . . . . 6 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6764, 66mpbid 234 . . . . 5 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
6867simp2d 1139 . . . 4 (𝜑 → (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)))
69 lediv1 11499 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7047, 28, 39, 40, 69syl112anc 1370 . . . 4 (𝜑 → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7168, 70mpbird 259 . . 3 (𝜑𝐵𝐴)
7228, 47letri3d 10776 . . 3 (𝜑 → (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴)))
7361, 71, 72mpbir2and 711 . 2 (𝜑𝐴 = 𝐵)
7419eqcomd 2827 . 2 (𝜑𝐶 = 𝐷)
7573, 74jca 514 1 (𝜑 → (𝐴 = 𝐵𝐶 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 208  wa 398  w3a 1083   = wceq 1533  wcel 2110  wss 3935  cop 4566   class class class wbr 5058  cfv 6349  (class class class)co 7150  cmpo 7152  cr 10530  0cc0 10531  1c1 10532   + caddc 10534  *cxr 10668   < clt 10669  cle 10670   / cdiv 11291  cn 11632  2c2 11686  0cn0 11891  cz 11975  [,]cicc 12735  cexp 13423
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1907  ax-6 1966  ax-7 2011  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2157  ax-12 2173  ax-ext 2793  ax-rep 5182  ax-sep 5195  ax-nul 5202  ax-pow 5258  ax-pr 5321  ax-un 7455  ax-inf2 9098  ax-cnex 10587  ax-resscn 10588  ax-1cn 10589  ax-icn 10590  ax-addcl 10591  ax-addrcl 10592  ax-mulcl 10593  ax-mulrcl 10594  ax-mulcom 10595  ax-addass 10596  ax-mulass 10597  ax-distr 10598  ax-i2m1 10599  ax-1ne0 10600  ax-1rid 10601  ax-rnegex 10602  ax-rrecex 10603  ax-cnre 10604  ax-pre-lttri 10605  ax-pre-lttrn 10606  ax-pre-ltadd 10607  ax-pre-mulgt0 10608  ax-pre-sup 10609
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1536  df-fal 1546  df-ex 1777  df-nf 1781  df-sb 2066  df-mo 2618  df-eu 2650  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rmo 3146  df-rab 3147  df-v 3496  df-sbc 3772  df-csb 3883  df-dif 3938  df-un 3940  df-in 3942  df-ss 3951  df-pss 3953  df-nul 4291  df-if 4467  df-pw 4540  df-sn 4561  df-pr 4563  df-tp 4565  df-op 4567  df-uni 4832  df-int 4869  df-iun 4913  df-br 5059  df-opab 5121  df-mpt 5139  df-tr 5165  df-id 5454  df-eprel 5459  df-po 5468  df-so 5469  df-fr 5508  df-se 5509  df-we 5510  df-xp 5555  df-rel 5556  df-cnv 5557  df-co 5558  df-dm 5559  df-rn 5560  df-res 5561  df-ima 5562  df-pred 6142  df-ord 6188  df-on 6189  df-lim 6190  df-suc 6191  df-iota 6308  df-fun 6351  df-fn 6352  df-f 6353  df-f1 6354  df-fo 6355  df-f1o 6356  df-fv 6357  df-isom 6358  df-riota 7108  df-ov 7153  df-oprab 7154  df-mpo 7155  df-om 7575  df-1st 7683  df-2nd 7684  df-wrecs 7941  df-recs 8002  df-rdg 8040  df-1o 8096  df-oadd 8100  df-er 8283  df-map 8402  df-en 8504  df-dom 8505  df-sdom 8506  df-fin 8507  df-fi 8869  df-sup 8900  df-inf 8901  df-oi 8968  df-card 9362  df-pnf 10671  df-mnf 10672  df-xr 10673  df-ltxr 10674  df-le 10675  df-sub 10866  df-neg 10867  df-div 11292  df-nn 11633  df-2 11694  df-3 11695  df-n0 11892  df-z 11976  df-uz 12238  df-q 12343  df-rp 12384  df-xneg 12501  df-xadd 12502  df-xmul 12503  df-ioo 12736  df-ico 12738  df-icc 12739  df-fz 12887  df-fzo 13028  df-seq 13364  df-exp 13424  df-hash 13685  df-cj 14452  df-re 14453  df-im 14454  df-sqrt 14588  df-abs 14589  df-clim 14839  df-sum 15037  df-rest 16690  df-topgen 16711  df-psmet 20531  df-xmet 20532  df-met 20533  df-bl 20534  df-mopn 20535  df-top 21496  df-topon 21513  df-bases 21548  df-cmp 21989  df-ovol 24059
This theorem is referenced by:  dyadmax  24193
  Copyright terms: Public domain W3C validator