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

Theorem mulsval2lem 28505
Description: Lemma for mulsval2 28506. 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 2764 . . . 4 (𝑎 = 𝑏 → (𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞)) ↔ 𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞))))
212rexbidv 3227 . . 3 (𝑎 = 𝑏 → (∃𝑝 ∈ 𝑋 ∃𝑞 ∈ 𝑌 𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞)) ↔ ∃𝑝 ∈ 𝑋 ∃𝑞 ∈ 𝑌 𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞))))
3 oveq1 7431 . . . . . . 7 (𝑝 = 𝑟 → (𝑝 ·s 𝐵) = (𝑟 ·s 𝐵))
43oveq1d 7439 . . . . . 6 (𝑝 = 𝑟 → ((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) = ((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)))
5 oveq1 7431 . . . . . 6 (𝑝 = 𝑟 → (𝑝 ·s 𝑞) = (𝑟 ·s 𝑞))
64, 5oveq12d 7442 . . . . 5 (𝑝 = 𝑟 → (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞)) = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑟 ·s 𝑞)))
76eqeq2d 2771 . . . 4 (𝑝 = 𝑟 → (𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞)) ↔ 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑟 ·s 𝑞))))
8 oveq2 7432 . . . . . . 7 (𝑞 = 𝑠 → (𝐴 ·s 𝑞) = (𝐴 ·s 𝑠))
98oveq2d 7440 . . . . . 6 (𝑞 = 𝑠 → ((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) = ((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)))
10 oveq2 7432 . . . . . 6 (𝑞 = 𝑠 → (𝑟 ·s 𝑞) = (𝑟 ·s 𝑠))
119, 10oveq12d 7442 . . . . 5 (𝑞 = 𝑠 → (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑟 ·s 𝑞)) = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) −s (𝑟 ·s 𝑠)))
1211eqeq2d 2771 . . . 4 (𝑞 = 𝑠 → (𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑟 ·s 𝑞)) ↔ 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) −s (𝑟 ·s 𝑠))))
137, 12cbvrex2vw 3245 . . 3 (∃𝑝 ∈ 𝑋 ∃𝑞 ∈ 𝑌 𝑏 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞)) ↔ ∃𝑟 ∈ 𝑋 ∃𝑠 ∈ 𝑌 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) −s (𝑟 ·s 𝑠)))
142, 13bitrdi 290 . 2 (𝑎 = 𝑏 → (∃𝑝 ∈ 𝑋 ∃𝑞 ∈ 𝑌 𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞)) ↔ ∃𝑟 ∈ 𝑋 ∃𝑠 ∈ 𝑌 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) −s (𝑟 ·s 𝑠))))
1514cbvabv 2830 1 {𝑎 ∣ ∃𝑝 ∈ 𝑋 ∃𝑞 ∈ 𝑌 𝑎 = (((𝑝 ·s 𝐵) +s (𝐴 ·s 𝑞)) −s (𝑝 ·s 𝑞))} = {𝑏 ∣ ∃𝑟 ∈ 𝑋 ∃𝑠 ∈ 𝑌 𝑏 = (((𝑟 ·s 𝐵) +s (𝐴 ·s 𝑠)) −s (𝑟 ·s 𝑠))}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1569  {cab 2738  ∃wrex 3086  (class class class)co 7424   +s cadds 28354   −s csubs 28415   ·s cmuls 28501
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rex 3087  df-rab 3413  df-v 3452  df-ss 3897  df-dif 4046  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-br 5103  df-iota 6497  df-fv 6551  df-ov 7427
This theorem is used by:  mulsval2  28506  mulcut  28527  mulsunif  28545
  Copyright terms: Public domain W3C validator