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

Theorem mulsval2lem 27546
Description: Lemma for mulsval2 27547. Change bound variables in one of the cases. (Contributed by Scott Fenton, 8-Mar-2025.)
Assertion
Ref Expression
mulsval2lem {𝑎 ∣ ∃𝑝𝑋𝑞𝑌 𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞))} = {𝑏 ∣ ∃𝑟𝑋𝑠𝑌 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) -s (𝑟 ·s 𝑠))}
Distinct variable groups:   𝐴,𝑎,𝑏,𝑝,𝑞,𝑟   𝐴,𝑠   𝐵,𝑎,𝑏,𝑝,𝑞,𝑟   𝐵,𝑠   𝑋,𝑎,𝑏,𝑝,𝑟   𝑌,𝑎,𝑏,𝑝,𝑞,𝑟   𝑌,𝑠,𝑎,𝑏,𝑞,𝑟
Allowed substitution hints:   𝑋(𝑠,𝑞)

Proof of Theorem mulsval2lem
StepHypRef Expression
1 eqeq1 2737 . . . 4 (𝑎 = 𝑏 → (𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞)) ↔ 𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞))))
212rexbidv 3220 . . 3 (𝑎 = 𝑏 → (∃𝑝𝑋𝑞𝑌 𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞)) ↔ ∃𝑝𝑋𝑞𝑌 𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞))))
3 oveq1 7411 . . . . . . 7 (𝑝 = 𝑟 → (𝑝 ·s 𝐵) = (𝑟 ·s 𝐵))
43oveq1d 7419 . . . . . 6 (𝑝 = 𝑟 → ((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) = ((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)))
5 oveq1 7411 . . . . . 6 (𝑝 = 𝑟 → (𝑝 ·s 𝑞) = (𝑟 ·s 𝑞))
64, 5oveq12d 7422 . . . . 5 (𝑝 = 𝑟 → (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞)) = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑟 ·s 𝑞)))
76eqeq2d 2744 . . . 4 (𝑝 = 𝑟 → (𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞)) ↔ 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑟 ·s 𝑞))))
8 oveq2 7412 . . . . . . 7 (𝑞 = 𝑠 → (𝐴 ·s 𝑞) = (𝐴 ·s 𝑠))
98oveq2d 7420 . . . . . 6 (𝑞 = 𝑠 → ((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) = ((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)))
10 oveq2 7412 . . . . . 6 (𝑞 = 𝑠 → (𝑟 ·s 𝑞) = (𝑟 ·s 𝑠))
119, 10oveq12d 7422 . . . . 5 (𝑞 = 𝑠 → (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑟 ·s 𝑞)) = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) -s (𝑟 ·s 𝑠)))
1211eqeq2d 2744 . . . 4 (𝑞 = 𝑠 → (𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑟 ·s 𝑞)) ↔ 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) -s (𝑟 ·s 𝑠))))
137, 12cbvrex2vw 3240 . . 3 (∃𝑝𝑋𝑞𝑌 𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞)) ↔ ∃𝑟𝑋𝑠𝑌 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) -s (𝑟 ·s 𝑠)))
142, 13bitrdi 287 . 2 (𝑎 = 𝑏 → (∃𝑝𝑋𝑞𝑌 𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞)) ↔ ∃𝑟𝑋𝑠𝑌 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) -s (𝑟 ·s 𝑠))))
1514cbvabv 2806 1 {𝑎 ∣ ∃𝑝𝑋𝑞𝑌 𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) -s (𝑝 ·s 𝑞))} = {𝑏 ∣ ∃𝑟𝑋𝑠𝑌 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) -s (𝑟 ·s 𝑠))}
Colors of variables: wff setvar class
Syntax hints:   = wceq 1542  {cab 2710  wrex 3071  (class class class)co 7404   +s cadds 27423   -s csubs 27475   ·s cmuls 27542
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-ext 2704
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 847  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1783  df-sb 2069  df-clab 2711  df-cleq 2725  df-clel 2811  df-rex 3072  df-rab 3434  df-v 3477  df-dif 3950  df-un 3952  df-in 3954  df-ss 3964  df-nul 4322  df-if 4528  df-sn 4628  df-pr 4630  df-op 4634  df-uni 4908  df-br 5148  df-iota 6492  df-fv 6548  df-ov 7407
This theorem is referenced by:  mulsval2  27547  mulscut  27568  mulsunif  27585
  Copyright terms: Public domain W3C validator