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

Theorem dyadmaxlem 24984
Description: Lemma for dyadmax 24985. (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 24979 . . . . . . . . . . . 12 ((𝐴 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
62, 3, 5syl2anc 585 . . . . . . . . . . 11 (𝜑 → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
76fveq2d 6850 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩))
8 df-ov 7364 . . . . . . . . . 10 ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
97, 8eqtr4di 2791 . . . . . . . . 9 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
10 dyadmax.3 . . . . . . . . . . . . . . . 16 (𝜑𝐵 ∈ ℤ)
11 dyadmax.5 . . . . . . . . . . . . . . . 16 (𝜑𝐷 ∈ ℕ0)
124dyadss 24981 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℕ0𝐷 ∈ ℕ0)) → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
132, 10, 3, 11, 12syl22anc 838 . . . . . . . . . . . . . . 15 (𝜑 → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
141, 13mpd 15 . . . . . . . . . . . . . 14 (𝜑𝐷𝐶)
15 dyadmax.6 . . . . . . . . . . . . . 14 (𝜑 → ¬ 𝐷 < 𝐶)
1611nn0red 12482 . . . . . . . . . . . . . . 15 (𝜑𝐷 ∈ ℝ)
173nn0red 12482 . . . . . . . . . . . . . . 15 (𝜑𝐶 ∈ ℝ)
1816, 17eqleltd 11307 . . . . . . . . . . . . . 14 (𝜑 → (𝐷 = 𝐶 ↔ (𝐷𝐶 ∧ ¬ 𝐷 < 𝐶)))
1914, 15, 18mpbir2and 712 . . . . . . . . . . . . 13 (𝜑𝐷 = 𝐶)
2019oveq2d 7377 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐷) = (𝐵𝐹𝐶))
214dyadval 24979 . . . . . . . . . . . . 13 ((𝐵 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2210, 3, 21syl2anc 585 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2320, 22eqtrd 2773 . . . . . . . . . . 11 (𝜑 → (𝐵𝐹𝐷) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2423fveq2d 6850 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩))
25 df-ov 7364 . . . . . . . . . 10 ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2624, 25eqtr4di 2791 . . . . . . . . 9 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
271, 9, 263sstr3d 3994 . . . . . . . 8 (𝜑 → ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) ⊆ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
282zred 12615 . . . . . . . . . . 11 (𝜑𝐴 ∈ ℝ)
29 2nn 12234 . . . . . . . . . . . 12 2 ∈ ℕ
30 nnexpcl 13989 . . . . . . . . . . . 12 ((2 ∈ ℕ ∧ 𝐶 ∈ ℕ0) → (2↑𝐶) ∈ ℕ)
3129, 3, 30sylancr 588 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℕ)
3228, 31nndivred 12215 . . . . . . . . . 10 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ)
3332rexrd 11213 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ*)
34 peano2re 11336 . . . . . . . . . . . 12 (𝐴 ∈ ℝ → (𝐴 + 1) ∈ ℝ)
3528, 34syl 17 . . . . . . . . . . 11 (𝜑 → (𝐴 + 1) ∈ ℝ)
3635, 31nndivred 12215 . . . . . . . . . 10 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ)
3736rexrd 11213 . . . . . . . . 9 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ*)
3828lep1d 12094 . . . . . . . . . 10 (𝜑𝐴 ≤ (𝐴 + 1))
3931nnred 12176 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℝ)
4031nngt0d 12210 . . . . . . . . . . 11 (𝜑 → 0 < (2↑𝐶))
41 lediv1 12028 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ (𝐴 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4228, 35, 39, 40, 41syl112anc 1375 . . . . . . . . . 10 (𝜑 → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4338, 42mpbid 231 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)))
44 ubicc2 13391 . . . . . . . . 9 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4533, 37, 43, 44syl3anc 1372 . . . . . . . 8 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4627, 45sseldd 3949 . . . . . . 7 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
4710zred 12615 . . . . . . . . 9 (𝜑𝐵 ∈ ℝ)
4847, 31nndivred 12215 . . . . . . . 8 (𝜑 → (𝐵 / (2↑𝐶)) ∈ ℝ)
49 peano2re 11336 . . . . . . . . . 10 (𝐵 ∈ ℝ → (𝐵 + 1) ∈ ℝ)
5047, 49syl 17 . . . . . . . . 9 (𝜑 → (𝐵 + 1) ∈ ℝ)
5150, 31nndivred 12215 . . . . . . . 8 (𝜑 → ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ)
52 elicc2 13338 . . . . . . . 8 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → (((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
5348, 51, 52syl2anc 585 . . . . . . 7 (𝜑 → (((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
5446, 53mpbid 231 . . . . . 6 (𝜑 → (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5554simp3d 1145 . . . . 5 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))
56 lediv1 12028 . . . . . 6 (((𝐴 + 1) ∈ ℝ ∧ (𝐵 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5735, 50, 39, 40, 56syl112anc 1375 . . . . 5 (𝜑 → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5855, 57mpbird 257 . . . 4 (𝜑 → (𝐴 + 1) ≤ (𝐵 + 1))
59 1red 11164 . . . . 5 (𝜑 → 1 ∈ ℝ)
6028, 47, 59leadd1d 11757 . . . 4 (𝜑 → (𝐴𝐵 ↔ (𝐴 + 1) ≤ (𝐵 + 1)))
6158, 60mpbird 257 . . 3 (𝜑𝐴𝐵)
62 lbicc2 13390 . . . . . . . 8 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6333, 37, 43, 62syl3anc 1372 . . . . . . 7 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6427, 63sseldd 3949 . . . . . 6 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
65 elicc2 13338 . . . . . . 7 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6648, 51, 65syl2anc 585 . . . . . 6 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6764, 66mpbid 231 . . . . 5 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
6867simp2d 1144 . . . 4 (𝜑 → (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)))
69 lediv1 12028 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7047, 28, 39, 40, 69syl112anc 1375 . . . 4 (𝜑 → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7168, 70mpbird 257 . . 3 (𝜑𝐵𝐴)
7228, 47letri3d 11305 . . 3 (𝜑 → (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴)))
7361, 71, 72mpbir2and 712 . 2 (𝜑𝐴 = 𝐵)
7419eqcomd 2739 . 2 (𝜑𝐶 = 𝐷)
7573, 74jca 513 1 (𝜑 → (𝐴 = 𝐵𝐶 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 397  w3a 1088   = wceq 1542  wcel 2107  wss 3914  cop 4596   class class class wbr 5109  cfv 6500  (class class class)co 7361  cmpo 7363  cr 11058  0cc0 11059  1c1 11060   + caddc 11062  *cxr 11196   < clt 11197  cle 11198   / cdiv 11820  cn 12161  2c2 12216  0cn0 12421  cz 12507  [,]cicc 13276  cexp 13976
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2155  ax-12 2172  ax-ext 2704  ax-rep 5246  ax-sep 5260  ax-nul 5267  ax-pow 5324  ax-pr 5388  ax-un 7676  ax-inf2 9585  ax-cnex 11115  ax-resscn 11116  ax-1cn 11117  ax-icn 11118  ax-addcl 11119  ax-addrcl 11120  ax-mulcl 11121  ax-mulrcl 11122  ax-mulcom 11123  ax-addass 11124  ax-mulass 11125  ax-distr 11126  ax-i2m1 11127  ax-1ne0 11128  ax-1rid 11129  ax-rnegex 11130  ax-rrecex 11131  ax-cnre 11132  ax-pre-lttri 11133  ax-pre-lttrn 11134  ax-pre-ltadd 11135  ax-pre-mulgt0 11136  ax-pre-sup 11137
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-nf 1787  df-sb 2069  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2886  df-ne 2941  df-nel 3047  df-ral 3062  df-rex 3071  df-rmo 3352  df-reu 3353  df-rab 3407  df-v 3449  df-sbc 3744  df-csb 3860  df-dif 3917  df-un 3919  df-in 3921  df-ss 3931  df-pss 3933  df-nul 4287  df-if 4491  df-pw 4566  df-sn 4591  df-pr 4593  df-op 4597  df-uni 4870  df-int 4912  df-iun 4960  df-br 5110  df-opab 5172  df-mpt 5193  df-tr 5227  df-id 5535  df-eprel 5541  df-po 5549  df-so 5550  df-fr 5592  df-se 5593  df-we 5594  df-xp 5643  df-rel 5644  df-cnv 5645  df-co 5646  df-dm 5647  df-rn 5648  df-res 5649  df-ima 5650  df-pred 6257  df-ord 6324  df-on 6325  df-lim 6326  df-suc 6327  df-iota 6452  df-fun 6502  df-fn 6503  df-f 6504  df-f1 6505  df-fo 6506  df-f1o 6507  df-fv 6508  df-isom 6509  df-riota 7317  df-ov 7364  df-oprab 7365  df-mpo 7366  df-om 7807  df-1st 7925  df-2nd 7926  df-frecs 8216  df-wrecs 8247  df-recs 8321  df-rdg 8360  df-1o 8416  df-er 8654  df-map 8773  df-en 8890  df-dom 8891  df-sdom 8892  df-fin 8893  df-fi 9355  df-sup 9386  df-inf 9387  df-oi 9454  df-card 9883  df-pnf 11199  df-mnf 11200  df-xr 11201  df-ltxr 11202  df-le 11203  df-sub 11395  df-neg 11396  df-div 11821  df-nn 12162  df-2 12224  df-3 12225  df-n0 12422  df-z 12508  df-uz 12772  df-q 12882  df-rp 12924  df-xneg 13041  df-xadd 13042  df-xmul 13043  df-ioo 13277  df-ico 13279  df-icc 13280  df-fz 13434  df-fzo 13577  df-seq 13916  df-exp 13977  df-hash 14240  df-cj 14993  df-re 14994  df-im 14995  df-sqrt 15129  df-abs 15130  df-clim 15379  df-sum 15580  df-rest 17312  df-topgen 17333  df-psmet 20811  df-xmet 20812  df-met 20813  df-bl 20814  df-mopn 20815  df-top 22266  df-topon 22283  df-bases 22319  df-cmp 22761  df-ovol 24851
This theorem is referenced by:  dyadmax  24985
  Copyright terms: Public domain W3C validator