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

Theorem dyadmaxlem 24961
Description: Lemma for dyadmax 24962. (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 24956 . . . . . . . . . . . 12 ((𝐴 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
62, 3, 5syl2anc 584 . . . . . . . . . . 11 (𝜑 → (𝐴𝐹𝐶) = ⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
76fveq2d 6846 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩))
8 df-ov 7360 . . . . . . . . . 10 ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐴 / (2↑𝐶)), ((𝐴 + 1) / (2↑𝐶))⟩)
97, 8eqtr4di 2794 . . . . . . . . 9 (𝜑 → ([,]‘(𝐴𝐹𝐶)) = ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
10 dyadmax.3 . . . . . . . . . . . . . . . 16 (𝜑𝐵 ∈ ℤ)
11 dyadmax.5 . . . . . . . . . . . . . . . 16 (𝜑𝐷 ∈ ℕ0)
124dyadss 24958 . . . . . . . . . . . . . . . 16 (((𝐴 ∈ ℤ ∧ 𝐵 ∈ ℤ) ∧ (𝐶 ∈ ℕ0𝐷 ∈ ℕ0)) → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
132, 10, 3, 11, 12syl22anc 837 . . . . . . . . . . . . . . 15 (𝜑 → (([,]‘(𝐴𝐹𝐶)) ⊆ ([,]‘(𝐵𝐹𝐷)) → 𝐷𝐶))
141, 13mpd 15 . . . . . . . . . . . . . 14 (𝜑𝐷𝐶)
15 dyadmax.6 . . . . . . . . . . . . . 14 (𝜑 → ¬ 𝐷 < 𝐶)
1611nn0red 12474 . . . . . . . . . . . . . . 15 (𝜑𝐷 ∈ ℝ)
173nn0red 12474 . . . . . . . . . . . . . . 15 (𝜑𝐶 ∈ ℝ)
1816, 17eqleltd 11299 . . . . . . . . . . . . . 14 (𝜑 → (𝐷 = 𝐶 ↔ (𝐷𝐶 ∧ ¬ 𝐷 < 𝐶)))
1914, 15, 18mpbir2and 711 . . . . . . . . . . . . 13 (𝜑𝐷 = 𝐶)
2019oveq2d 7373 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐷) = (𝐵𝐹𝐶))
214dyadval 24956 . . . . . . . . . . . . 13 ((𝐵 ∈ ℤ ∧ 𝐶 ∈ ℕ0) → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2210, 3, 21syl2anc 584 . . . . . . . . . . . 12 (𝜑 → (𝐵𝐹𝐶) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2320, 22eqtrd 2776 . . . . . . . . . . 11 (𝜑 → (𝐵𝐹𝐷) = ⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2423fveq2d 6846 . . . . . . . . . 10 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩))
25 df-ov 7360 . . . . . . . . . 10 ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) = ([,]‘⟨(𝐵 / (2↑𝐶)), ((𝐵 + 1) / (2↑𝐶))⟩)
2624, 25eqtr4di 2794 . . . . . . . . 9 (𝜑 → ([,]‘(𝐵𝐹𝐷)) = ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
271, 9, 263sstr3d 3990 . . . . . . . 8 (𝜑 → ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))) ⊆ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
282zred 12607 . . . . . . . . . . 11 (𝜑𝐴 ∈ ℝ)
29 2nn 12226 . . . . . . . . . . . 12 2 ∈ ℕ
30 nnexpcl 13980 . . . . . . . . . . . 12 ((2 ∈ ℕ ∧ 𝐶 ∈ ℕ0) → (2↑𝐶) ∈ ℕ)
3129, 3, 30sylancr 587 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℕ)
3228, 31nndivred 12207 . . . . . . . . . 10 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ)
3332rexrd 11205 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ℝ*)
34 peano2re 11328 . . . . . . . . . . . 12 (𝐴 ∈ ℝ → (𝐴 + 1) ∈ ℝ)
3528, 34syl 17 . . . . . . . . . . 11 (𝜑 → (𝐴 + 1) ∈ ℝ)
3635, 31nndivred 12207 . . . . . . . . . 10 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ)
3736rexrd 11205 . . . . . . . . 9 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ*)
3828lep1d 12086 . . . . . . . . . 10 (𝜑𝐴 ≤ (𝐴 + 1))
3931nnred 12168 . . . . . . . . . . 11 (𝜑 → (2↑𝐶) ∈ ℝ)
4031nngt0d 12202 . . . . . . . . . . 11 (𝜑 → 0 < (2↑𝐶))
41 lediv1 12020 . . . . . . . . . . 11 ((𝐴 ∈ ℝ ∧ (𝐴 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4228, 35, 39, 40, 41syl112anc 1374 . . . . . . . . . 10 (𝜑 → (𝐴 ≤ (𝐴 + 1) ↔ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))))
4338, 42mpbid 231 . . . . . . . . 9 (𝜑 → (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)))
44 ubicc2 13382 . . . . . . . . 9 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4533, 37, 43, 44syl3anc 1371 . . . . . . . 8 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
4627, 45sseldd 3945 . . . . . . 7 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
4710zred 12607 . . . . . . . . 9 (𝜑𝐵 ∈ ℝ)
4847, 31nndivred 12207 . . . . . . . 8 (𝜑 → (𝐵 / (2↑𝐶)) ∈ ℝ)
49 peano2re 11328 . . . . . . . . . 10 (𝐵 ∈ ℝ → (𝐵 + 1) ∈ ℝ)
5047, 49syl 17 . . . . . . . . 9 (𝜑 → (𝐵 + 1) ∈ ℝ)
5150, 31nndivred 12207 . . . . . . . 8 (𝜑 → ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ)
52 elicc2 13329 . . . . . . . 8 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → (((𝐴 + 1) / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ (((𝐴 + 1) / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶)) ∧ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
5348, 51, 52syl2anc 584 . . . . . . 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 1144 . . . . 5 (𝜑 → ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))
56 lediv1 12020 . . . . . 6 (((𝐴 + 1) ∈ ℝ ∧ (𝐵 + 1) ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5735, 50, 39, 40, 56syl112anc 1374 . . . . 5 (𝜑 → ((𝐴 + 1) ≤ (𝐵 + 1) ↔ ((𝐴 + 1) / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
5855, 57mpbird 256 . . . 4 (𝜑 → (𝐴 + 1) ≤ (𝐵 + 1))
59 1red 11156 . . . . 5 (𝜑 → 1 ∈ ℝ)
6028, 47, 59leadd1d 11749 . . . 4 (𝜑 → (𝐴𝐵 ↔ (𝐴 + 1) ≤ (𝐵 + 1)))
6158, 60mpbird 256 . . 3 (𝜑𝐴𝐵)
62 lbicc2 13381 . . . . . . . 8 (((𝐴 / (2↑𝐶)) ∈ ℝ* ∧ ((𝐴 + 1) / (2↑𝐶)) ∈ ℝ* ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐴 + 1) / (2↑𝐶))) → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6333, 37, 43, 62syl3anc 1371 . . . . . . 7 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐴 / (2↑𝐶))[,]((𝐴 + 1) / (2↑𝐶))))
6427, 63sseldd 3945 . . . . . 6 (𝜑 → (𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))))
65 elicc2 13329 . . . . . . 7 (((𝐵 / (2↑𝐶)) ∈ ℝ ∧ ((𝐵 + 1) / (2↑𝐶)) ∈ ℝ) → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6648, 51, 65syl2anc 584 . . . . . 6 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ((𝐵 / (2↑𝐶))[,]((𝐵 + 1) / (2↑𝐶))) ↔ ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶)))))
6764, 66mpbid 231 . . . . 5 (𝜑 → ((𝐴 / (2↑𝐶)) ∈ ℝ ∧ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)) ∧ (𝐴 / (2↑𝐶)) ≤ ((𝐵 + 1) / (2↑𝐶))))
6867simp2d 1143 . . . 4 (𝜑 → (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶)))
69 lediv1 12020 . . . . 5 ((𝐵 ∈ ℝ ∧ 𝐴 ∈ ℝ ∧ ((2↑𝐶) ∈ ℝ ∧ 0 < (2↑𝐶))) → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7047, 28, 39, 40, 69syl112anc 1374 . . . 4 (𝜑 → (𝐵𝐴 ↔ (𝐵 / (2↑𝐶)) ≤ (𝐴 / (2↑𝐶))))
7168, 70mpbird 256 . . 3 (𝜑𝐵𝐴)
7228, 47letri3d 11297 . . 3 (𝜑 → (𝐴 = 𝐵 ↔ (𝐴𝐵𝐵𝐴)))
7361, 71, 72mpbir2and 711 . 2 (𝜑𝐴 = 𝐵)
7419eqcomd 2742 . 2 (𝜑𝐶 = 𝐷)
7573, 74jca 512 1 (𝜑 → (𝐴 = 𝐵𝐶 = 𝐷))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1087   = wceq 1541  wcel 2106  wss 3910  cop 4592   class class class wbr 5105  cfv 6496  (class class class)co 7357  cmpo 7359  cr 11050  0cc0 11051  1c1 11052   + caddc 11054  *cxr 11188   < clt 11189  cle 11190   / cdiv 11812  cn 12153  2c2 12208  0cn0 12413  cz 12499  [,]cicc 13267  cexp 13967
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2707  ax-rep 5242  ax-sep 5256  ax-nul 5263  ax-pow 5320  ax-pr 5384  ax-un 7672  ax-inf2 9577  ax-cnex 11107  ax-resscn 11108  ax-1cn 11109  ax-icn 11110  ax-addcl 11111  ax-addrcl 11112  ax-mulcl 11113  ax-mulrcl 11114  ax-mulcom 11115  ax-addass 11116  ax-mulass 11117  ax-distr 11118  ax-i2m1 11119  ax-1ne0 11120  ax-1rid 11121  ax-rnegex 11122  ax-rrecex 11123  ax-cnre 11124  ax-pre-lttri 11125  ax-pre-lttrn 11126  ax-pre-ltadd 11127  ax-pre-mulgt0 11128  ax-pre-sup 11129
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3or 1088  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2889  df-ne 2944  df-nel 3050  df-ral 3065  df-rex 3074  df-rmo 3353  df-reu 3354  df-rab 3408  df-v 3447  df-sbc 3740  df-csb 3856  df-dif 3913  df-un 3915  df-in 3917  df-ss 3927  df-pss 3929  df-nul 4283  df-if 4487  df-pw 4562  df-sn 4587  df-pr 4589  df-op 4593  df-uni 4866  df-int 4908  df-iun 4956  df-br 5106  df-opab 5168  df-mpt 5189  df-tr 5223  df-id 5531  df-eprel 5537  df-po 5545  df-so 5546  df-fr 5588  df-se 5589  df-we 5590  df-xp 5639  df-rel 5640  df-cnv 5641  df-co 5642  df-dm 5643  df-rn 5644  df-res 5645  df-ima 5646  df-pred 6253  df-ord 6320  df-on 6321  df-lim 6322  df-suc 6323  df-iota 6448  df-fun 6498  df-fn 6499  df-f 6500  df-f1 6501  df-fo 6502  df-f1o 6503  df-fv 6504  df-isom 6505  df-riota 7313  df-ov 7360  df-oprab 7361  df-mpo 7362  df-om 7803  df-1st 7921  df-2nd 7922  df-frecs 8212  df-wrecs 8243  df-recs 8317  df-rdg 8356  df-1o 8412  df-er 8648  df-map 8767  df-en 8884  df-dom 8885  df-sdom 8886  df-fin 8887  df-fi 9347  df-sup 9378  df-inf 9379  df-oi 9446  df-card 9875  df-pnf 11191  df-mnf 11192  df-xr 11193  df-ltxr 11194  df-le 11195  df-sub 11387  df-neg 11388  df-div 11813  df-nn 12154  df-2 12216  df-3 12217  df-n0 12414  df-z 12500  df-uz 12764  df-q 12874  df-rp 12916  df-xneg 13033  df-xadd 13034  df-xmul 13035  df-ioo 13268  df-ico 13270  df-icc 13271  df-fz 13425  df-fzo 13568  df-seq 13907  df-exp 13968  df-hash 14231  df-cj 14984  df-re 14985  df-im 14986  df-sqrt 15120  df-abs 15121  df-clim 15370  df-sum 15571  df-rest 17304  df-topgen 17325  df-psmet 20788  df-xmet 20789  df-met 20790  df-bl 20791  df-mopn 20792  df-top 22243  df-topon 22260  df-bases 22296  df-cmp 22738  df-ovol 24828
This theorem is referenced by:  dyadmax  24962
  Copyright terms: Public domain W3C validator