Users' Mathboxes Mathbox for Alexander van der Vekens < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  itcovalt2lem2lem2 Structured version   Visualization version   GIF version

Theorem itcovalt2lem2lem2 45438
Description: Lemma 2 for itcovalt2lem2 45440. (Contributed by AV, 7-May-2024.)
Assertion
Ref Expression
itcovalt2lem2lem2 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((2 · (((𝑁 + 𝐶) · (2↑𝑌)) − 𝐶)) + 𝐶) = (((𝑁 + 𝐶) · (2↑(𝑌 + 1))) − 𝐶))

Proof of Theorem itcovalt2lem2lem2
StepHypRef Expression
1 2cnd 11737 . . . 4 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → 2 ∈ ℂ)
2 simpr 489 . . . . . . 7 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → 𝑁 ∈ ℕ0)
3 simpr 489 . . . . . . . 8 ((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) → 𝐶 ∈ ℕ0)
43adantr 485 . . . . . . 7 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → 𝐶 ∈ ℕ0)
52, 4nn0addcld 11983 . . . . . 6 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (𝑁 + 𝐶) ∈ ℕ0)
65nn0cnd 11981 . . . . 5 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (𝑁 + 𝐶) ∈ ℂ)
7 2nn0 11936 . . . . . . . . 9 2 ∈ ℕ0
87a1i 11 . . . . . . . 8 (𝑌 ∈ ℕ0 → 2 ∈ ℕ0)
9 id 22 . . . . . . . 8 (𝑌 ∈ ℕ0𝑌 ∈ ℕ0)
108, 9nn0expcld 13642 . . . . . . 7 (𝑌 ∈ ℕ0 → (2↑𝑌) ∈ ℕ0)
1110nn0cnd 11981 . . . . . 6 (𝑌 ∈ ℕ0 → (2↑𝑌) ∈ ℂ)
1211ad2antrr 726 . . . . 5 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2↑𝑌) ∈ ℂ)
136, 12mulcld 10684 . . . 4 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((𝑁 + 𝐶) · (2↑𝑌)) ∈ ℂ)
14 nn0cn 11929 . . . . 5 (𝐶 ∈ ℕ0𝐶 ∈ ℂ)
1514ad2antlr 727 . . . 4 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → 𝐶 ∈ ℂ)
161, 13, 15subdid 11119 . . 3 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · (((𝑁 + 𝐶) · (2↑𝑌)) − 𝐶)) = ((2 · ((𝑁 + 𝐶) · (2↑𝑌))) − (2 · 𝐶)))
1716oveq1d 7158 . 2 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((2 · (((𝑁 + 𝐶) · (2↑𝑌)) − 𝐶)) + 𝐶) = (((2 · ((𝑁 + 𝐶) · (2↑𝑌))) − (2 · 𝐶)) + 𝐶))
187a1i 11 . . . . 5 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → 2 ∈ ℕ0)
1910ad2antrr 726 . . . . . 6 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2↑𝑌) ∈ ℕ0)
205, 19nn0mulcld 11984 . . . . 5 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((𝑁 + 𝐶) · (2↑𝑌)) ∈ ℕ0)
2118, 20nn0mulcld 11984 . . . 4 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · ((𝑁 + 𝐶) · (2↑𝑌))) ∈ ℕ0)
2221nn0cnd 11981 . . 3 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · ((𝑁 + 𝐶) · (2↑𝑌))) ∈ ℂ)
237a1i 11 . . . . . 6 ((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) → 2 ∈ ℕ0)
2423, 3nn0mulcld 11984 . . . . 5 ((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) → (2 · 𝐶) ∈ ℕ0)
2524adantr 485 . . . 4 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · 𝐶) ∈ ℕ0)
2625nn0cnd 11981 . . 3 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · 𝐶) ∈ ℂ)
274nn0cnd 11981 . . 3 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → 𝐶 ∈ ℂ)
2822, 26, 27subsubd 11048 . 2 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((2 · ((𝑁 + 𝐶) · (2↑𝑌))) − ((2 · 𝐶) − 𝐶)) = (((2 · ((𝑁 + 𝐶) · (2↑𝑌))) − (2 · 𝐶)) + 𝐶))
291, 6, 12mul12d 10872 . . . 4 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · ((𝑁 + 𝐶) · (2↑𝑌))) = ((𝑁 + 𝐶) · (2 · (2↑𝑌))))
30 2cnd 11737 . . . . . . . 8 (𝑌 ∈ ℕ0 → 2 ∈ ℂ)
3130, 11mulcomd 10685 . . . . . . 7 (𝑌 ∈ ℕ0 → (2 · (2↑𝑌)) = ((2↑𝑌) · 2))
3230, 9expp1d 13546 . . . . . . 7 (𝑌 ∈ ℕ0 → (2↑(𝑌 + 1)) = ((2↑𝑌) · 2))
3331, 32eqtr4d 2797 . . . . . 6 (𝑌 ∈ ℕ0 → (2 · (2↑𝑌)) = (2↑(𝑌 + 1)))
3433ad2antrr 726 . . . . 5 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · (2↑𝑌)) = (2↑(𝑌 + 1)))
3534oveq2d 7159 . . . 4 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((𝑁 + 𝐶) · (2 · (2↑𝑌))) = ((𝑁 + 𝐶) · (2↑(𝑌 + 1))))
3629, 35eqtrd 2794 . . 3 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → (2 · ((𝑁 + 𝐶) · (2↑𝑌))) = ((𝑁 + 𝐶) · (2↑(𝑌 + 1))))
37 2txmxeqx 11799 . . . . 5 (𝐶 ∈ ℂ → ((2 · 𝐶) − 𝐶) = 𝐶)
3814, 37syl 17 . . . 4 (𝐶 ∈ ℕ0 → ((2 · 𝐶) − 𝐶) = 𝐶)
3938ad2antlr 727 . . 3 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((2 · 𝐶) − 𝐶) = 𝐶)
4036, 39oveq12d 7161 . 2 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((2 · ((𝑁 + 𝐶) · (2↑𝑌))) − ((2 · 𝐶) − 𝐶)) = (((𝑁 + 𝐶) · (2↑(𝑌 + 1))) − 𝐶))
4117, 28, 403eqtr2d 2800 1 (((𝑌 ∈ ℕ0𝐶 ∈ ℕ0) ∧ 𝑁 ∈ ℕ0) → ((2 · (((𝑁 + 𝐶) · (2↑𝑌)) − 𝐶)) + 𝐶) = (((𝑁 + 𝐶) · (2↑(𝑌 + 1))) − 𝐶))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 400   = wceq 1539  wcel 2112  (class class class)co 7143  cc 10558  1c1 10561   + caddc 10563   · cmul 10565  cmin 10893  2c2 11714  0cn0 11919  cexp 13464
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 1912  ax-6 1971  ax-7 2016  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2159  ax-12 2176  ax-ext 2730  ax-sep 5162  ax-nul 5169  ax-pow 5227  ax-pr 5291  ax-un 7452  ax-cnex 10616  ax-resscn 10617  ax-1cn 10618  ax-icn 10619  ax-addcl 10620  ax-addrcl 10621  ax-mulcl 10622  ax-mulrcl 10623  ax-mulcom 10624  ax-addass 10625  ax-mulass 10626  ax-distr 10627  ax-i2m1 10628  ax-1ne0 10629  ax-1rid 10630  ax-rnegex 10631  ax-rrecex 10632  ax-cnre 10633  ax-pre-lttri 10634  ax-pre-lttrn 10635  ax-pre-ltadd 10636  ax-pre-mulgt0 10637
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 846  df-3or 1086  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2071  df-mo 2558  df-eu 2589  df-clab 2737  df-cleq 2751  df-clel 2831  df-nfc 2899  df-ne 2950  df-nel 3054  df-ral 3073  df-rex 3074  df-reu 3075  df-rab 3077  df-v 3409  df-sbc 3694  df-csb 3802  df-dif 3857  df-un 3859  df-in 3861  df-ss 3871  df-pss 3873  df-nul 4222  df-if 4414  df-pw 4489  df-sn 4516  df-pr 4518  df-tp 4520  df-op 4522  df-uni 4792  df-iun 4878  df-br 5026  df-opab 5088  df-mpt 5106  df-tr 5132  df-id 5423  df-eprel 5428  df-po 5436  df-so 5437  df-fr 5476  df-we 5478  df-xp 5523  df-rel 5524  df-cnv 5525  df-co 5526  df-dm 5527  df-rn 5528  df-res 5529  df-ima 5530  df-pred 6119  df-ord 6165  df-on 6166  df-lim 6167  df-suc 6168  df-iota 6287  df-fun 6330  df-fn 6331  df-f 6332  df-f1 6333  df-fo 6334  df-f1o 6335  df-fv 6336  df-riota 7101  df-ov 7146  df-oprab 7147  df-mpo 7148  df-om 7573  df-2nd 7687  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-er 8292  df-en 8521  df-dom 8522  df-sdom 8523  df-pnf 10700  df-mnf 10701  df-xr 10702  df-ltxr 10703  df-le 10704  df-sub 10895  df-neg 10896  df-nn 11660  df-2 11722  df-n0 11920  df-z 12006  df-uz 12268  df-seq 13404  df-exp 13465
This theorem is referenced by:  itcovalt2lem2  45440
  Copyright terms: Public domain W3C validator