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

Theorem dyadmaxlem 23171
Description: Lemma for dyadmax 23172. (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 23166 . . . . . . . . . . . 12 ((𝐴 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
62, 3, 5syl2anc 691 . . . . . . . . . . 11 (𝜑 → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
76fveq2d 6107 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩))
8 df-ov 6552 . . . . . . . . . 10 ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
97, 8syl6eqr 2662 . . . . . . . . 9 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
10 dyadmax.3 . . . . . . . . . . . . . . . 16 (𝜑𝐵 ∈ ℤ)
11 dyadmax.5 . . . . . . . . . . . . . . . 16 (𝜑𝐷 ∈ ℕ0)
124dyadss 23168 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℕ0𝐷 ∈ ℕ0)) → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
132, 10, 3, 11, 12syl22anc 1319 . . . . . . . . . . . . . . 15 (𝜑 → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
141, 13mpd 15 . . . . . . . . . . . . . 14 (𝜑𝐷𝐶)
15 dyadmax.6 . . . . . . . . . . . . . 14 (𝜑 → ¬ 𝐷 < 𝐶)
1611nn0red 11229 . . . . . . . . . . . . . . 15 (𝜑𝐷 ∈ ℝ)
173nn0red 11229 . . . . . . . . . . . . . . 15 (𝜑𝐶 ∈ ℝ)
1816, 17eqleltd 10060 . . . . . . . . . . . . . 14 (𝜑 → (𝐷 = 𝐶 ↔ (𝐷𝐶 ∧ ¬ 𝐷 < 𝐶)))
1914, 15, 18mpbir2and 959 . . . . . . . . . . . . 13 (𝜑𝐷 = 𝐶)
2019oveq2d 6565 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐷) = (𝐵𝐹𝐶))
214dyadval 23166 . . . . . . . . . . . . 13 ((𝐵 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2210, 3, 21syl2anc 691 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2320, 22eqtrd 2644 . . . . . . . . . . 11 (𝜑 → (𝐵𝐹𝐷) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2423fveq2d 6107 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩))
25 df-ov 6552 . . . . . . . . . 10 ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2624, 25syl6eqr 2662 . . . . . . . . 9 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
271, 9, 263sstr3d 3610 . . . . . . . 8 (𝜑 → ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) ⊆ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
282zred 11358 . . . . . . . . . . 11 (𝜑𝐴 ∈ ℝ)
29 2nn 11062 . . . . . . . . . . . 12 2 ∈ ℕ
30 nnexpcl 12735 . . . . . . . . . . . 12 ((2 ∈ ℕ ∧ 𝐶 ∈ ℕ0) → (2↑𝐶) ∈ ℕ)
3129, 3, 30sylancr 694 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℕ)
3228, 31nndivred 10946 . . . . . . . . . 10 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ)
3332rexrd 9968 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ*)
34 peano2re 10088 . . . . . . . . . . . 12 (𝐴 ∈ ℝ → (𝐴 + 1) ∈ ℝ)
3528, 34syl 17 . . . . . . . . . . 11 (𝜑 → (𝐴 + 1) ∈ ℝ)
3635, 31nndivred 10946 . . . . . . . . . 10 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ)
3736rexrd 9968 . . . . . . . . 9 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ*)
3828lep1d 10834 . . . . . . . . . 10 (𝜑𝐴 ≤ (𝐴 + 1))
3931nnred 10912 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℝ)
4031nngt0d 10941 . . . . . . . . . . 11 (𝜑 → 0 < (2↑𝐶))
41 lediv1 10767 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ (𝐴 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4228, 35, 39, 40, 41syl112anc 1322 . . . . . . . . . 10 (𝜑 → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4338, 42mpbid 221 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)))
44 ubicc2 12160 . . . . . . . . 9 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4533, 37, 43, 44syl3anc 1318 . . . . . . . 8 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4627, 45sseldd 3569 . . . . . . 7 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
4710zred 11358 . . . . . . . . 9 (𝜑𝐵 ∈ ℝ)
4847, 31nndivred 10946 . . . . . . . 8 (𝜑 → (𝐵 / (2↑𝐶)) ∈ ℝ)
49 peano2re 10088 . . . . . . . . . 10 (𝐵 ∈ ℝ → (𝐵 + 1) ∈ ℝ)
5047, 49syl 17 . . . . . . . . 9 (𝜑 → (𝐵 + 1) ∈ ℝ)
5150, 31nndivred 10946 . . . . . . . 8 (𝜑 → ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ)
52 elicc2 12109 . . . . . . . 8 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → (((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
5348, 51, 52syl2anc 691 . . . . . . 7 (𝜑 → (((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
5446, 53mpbid 221 . . . . . 6 (𝜑 → (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5554simp3d 1068 . . . . 5 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))
56 lediv1 10767 . . . . . 6 (((𝐴 + 1) ∈ ℝ ∧ (𝐵 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5735, 50, 39, 40, 56syl112anc 1322 . . . . 5 (𝜑 → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5855, 57mpbird 246 . . . 4 (𝜑 → (𝐴 + 1) ≤ (𝐵 + 1))
59 1red 9934 . . . . 5 (𝜑 → 1 ∈ ℝ)
6028, 47, 59leadd1d 10500 . . . 4 (𝜑 → (𝐴𝐵 ↔ (𝐴 + 1) ≤ (𝐵 + 1)))
6158, 60mpbird 246 . . 3 (𝜑𝐴𝐵)
62 lbicc2 12159 . . . . . . . 8 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6333, 37, 43, 62syl3anc 1318 . . . . . . 7 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6427, 63sseldd 3569 . . . . . 6 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
65 elicc2 12109 . . . . . . 7 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6648, 51, 65syl2anc 691 . . . . . 6 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6764, 66mpbid 221 . . . . 5 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
6867simp2d 1067 . . . 4 (𝜑 → (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)))
69 lediv1 10767 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7047, 28, 39, 40, 69syl112anc 1322 . . . 4 (𝜑 → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7168, 70mpbird 246 . . 3 (𝜑𝐵𝐴)
7228, 47letri3d 10058 . . 3 (𝜑 → (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴)))
7361, 71, 72mpbir2and 959 . 2 (𝜑𝐴 = 𝐵)
7419eqcomd 2616 . 2 (𝜑𝐶 = 𝐷)
7573, 74jca 553 1 (𝜑 → (𝐴 = 𝐵𝐶 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 195  wa 383  w3a 1031   = wceq 1475  wcel 1977  wss 3540  cop 4131   class class class wbr 4583  cfv 5804  (class class class)co 6549  cmpt2 6551  cr 9814  0cc0 9815  1c1 9816   + caddc 9818  *cxr 9952   < clt 9953  cle 9954   / cdiv 10563  cn 10897  2c2 10947  0cn0 11169  cz 11254  [,]cicc 12049  cexp 12722
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-rep 4699  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-inf2 8421  ax-cnex 9871  ax-resscn 9872  ax-1cn 9873  ax-icn 9874  ax-addcl 9875  ax-addrcl 9876  ax-mulcl 9877  ax-mulrcl 9878  ax-mulcom 9879  ax-addass 9880  ax-mulass 9881  ax-distr 9882  ax-i2m1 9883  ax-1ne0 9884  ax-1rid 9885  ax-rnegex 9886  ax-rrecex 9887  ax-cnre 9888  ax-pre-lttri 9889  ax-pre-lttrn 9890  ax-pre-ltadd 9891  ax-pre-mulgt0 9892  ax-pre-sup 9893
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-fal 1481  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-nel 2783  df-ral 2901  df-rex 2902  df-reu 2903  df-rmo 2904  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-int 4411  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-se 4998  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-isom 5813  df-riota 6511  df-ov 6552  df-oprab 6553  df-mpt2 6554  df-om 6958  df-1st 7059  df-2nd 7060  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-1o 7447  df-oadd 7451  df-er 7629  df-map 7746  df-en 7842  df-dom 7843  df-sdom 7844  df-fin 7845  df-fi 8200  df-sup 8231  df-inf 8232  df-oi 8298  df-card 8648  df-pnf 9955  df-mnf 9956  df-xr 9957  df-ltxr 9958  df-le 9959  df-sub 10147  df-neg 10148  df-div 10564  df-nn 10898  df-2 10956  df-3 10957  df-n0 11170  df-z 11255  df-uz 11564  df-q 11665  df-rp 11709  df-xneg 11822  df-xadd 11823  df-xmul 11824  df-ioo 12050  df-ico 12052  df-icc 12053  df-fz 12198  df-fzo 12335  df-seq 12664  df-exp 12723  df-hash 12980  df-cj 13687  df-re 13688  df-im 13689  df-sqrt 13823  df-abs 13824  df-clim 14067  df-sum 14265  df-rest 15906  df-topgen 15927  df-psmet 19559  df-xmet 19560  df-met 19561  df-bl 19562  df-mopn 19563  df-top 20521  df-bases 20522  df-topon 20523  df-cmp 21000  df-ovol 23040
This theorem is referenced by:  dyadmax  23172
  Copyright terms: Public domain W3C validator