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

Theorem shft2rab 25357
Description: If 𝐵 is a shift of 𝐴 by 𝐶, then 𝐴 is a shift of 𝐵 by -𝐶. (Contributed by Mario Carneiro, 22-Mar-2014.) (Revised by Mario Carneiro, 6-Apr-2015.)
Hypotheses
Ref Expression
ovolshft.1 (𝜑𝐴 ⊆ ℝ)
ovolshft.2 (𝜑𝐶 ∈ ℝ)
ovolshft.3 (𝜑𝐵 = {𝑥 ∈ ℝ ∣ (𝑥𝐶) ∈ 𝐴})
Assertion
Ref Expression
shft2rab (𝜑𝐴 = {𝑦 ∈ ℝ ∣ (𝑦 − -𝐶) ∈ 𝐵})
Distinct variable groups:   𝑥,𝑦,𝐴   𝑥,𝐶,𝑦   𝑦,𝐵   𝜑,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝐵(𝑥)

Proof of Theorem shft2rab
StepHypRef Expression
1 ovolshft.1 . . . . . 6 (𝜑𝐴 ⊆ ℝ)
21sseld 3981 . . . . 5 (𝜑 → (𝑦𝐴𝑦 ∈ ℝ))
32pm4.71rd 562 . . . 4 (𝜑 → (𝑦𝐴 ↔ (𝑦 ∈ ℝ ∧ 𝑦𝐴)))
4 recn 11206 . . . . . . . 8 (𝑦 ∈ ℝ → 𝑦 ∈ ℂ)
5 ovolshft.2 . . . . . . . . 9 (𝜑𝐶 ∈ ℝ)
65recnd 11249 . . . . . . . 8 (𝜑𝐶 ∈ ℂ)
7 subneg 11516 . . . . . . . 8 ((𝑦 ∈ ℂ ∧ 𝐶 ∈ ℂ) → (𝑦 − -𝐶) = (𝑦 + 𝐶))
84, 6, 7syl2anr 596 . . . . . . 7 ((𝜑𝑦 ∈ ℝ) → (𝑦 − -𝐶) = (𝑦 + 𝐶))
9 ovolshft.3 . . . . . . . 8 (𝜑𝐵 = {𝑥 ∈ ℝ ∣ (𝑥𝐶) ∈ 𝐴})
109adantr 480 . . . . . . 7 ((𝜑𝑦 ∈ ℝ) → 𝐵 = {𝑥 ∈ ℝ ∣ (𝑥𝐶) ∈ 𝐴})
118, 10eleq12d 2826 . . . . . 6 ((𝜑𝑦 ∈ ℝ) → ((𝑦 − -𝐶) ∈ 𝐵 ↔ (𝑦 + 𝐶) ∈ {𝑥 ∈ ℝ ∣ (𝑥𝐶) ∈ 𝐴}))
12 id 22 . . . . . . . 8 (𝑦 ∈ ℝ → 𝑦 ∈ ℝ)
13 readdcl 11199 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝑦 + 𝐶) ∈ ℝ)
1412, 5, 13syl2anr 596 . . . . . . 7 ((𝜑𝑦 ∈ ℝ) → (𝑦 + 𝐶) ∈ ℝ)
15 oveq1 7419 . . . . . . . . 9 (𝑥 = (𝑦 + 𝐶) → (𝑥𝐶) = ((𝑦 + 𝐶) − 𝐶))
1615eleq1d 2817 . . . . . . . 8 (𝑥 = (𝑦 + 𝐶) → ((𝑥𝐶) ∈ 𝐴 ↔ ((𝑦 + 𝐶) − 𝐶) ∈ 𝐴))
1716elrab3 3684 . . . . . . 7 ((𝑦 + 𝐶) ∈ ℝ → ((𝑦 + 𝐶) ∈ {𝑥 ∈ ℝ ∣ (𝑥𝐶) ∈ 𝐴} ↔ ((𝑦 + 𝐶) − 𝐶) ∈ 𝐴))
1814, 17syl 17 . . . . . 6 ((𝜑𝑦 ∈ ℝ) → ((𝑦 + 𝐶) ∈ {𝑥 ∈ ℝ ∣ (𝑥𝐶) ∈ 𝐴} ↔ ((𝑦 + 𝐶) − 𝐶) ∈ 𝐴))
19 pncan 11473 . . . . . . . 8 ((𝑦 ∈ ℂ ∧ 𝐶 ∈ ℂ) → ((𝑦 + 𝐶) − 𝐶) = 𝑦)
204, 6, 19syl2anr 596 . . . . . . 7 ((𝜑𝑦 ∈ ℝ) → ((𝑦 + 𝐶) − 𝐶) = 𝑦)
2120eleq1d 2817 . . . . . 6 ((𝜑𝑦 ∈ ℝ) → (((𝑦 + 𝐶) − 𝐶) ∈ 𝐴𝑦𝐴))
2211, 18, 213bitrd 305 . . . . 5 ((𝜑𝑦 ∈ ℝ) → ((𝑦 − -𝐶) ∈ 𝐵𝑦𝐴))
2322pm5.32da 578 . . . 4 (𝜑 → ((𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵) ↔ (𝑦 ∈ ℝ ∧ 𝑦𝐴)))
243, 23bitr4d 282 . . 3 (𝜑 → (𝑦𝐴 ↔ (𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵)))
2524eqabdv 2866 . 2 (𝜑𝐴 = {𝑦 ∣ (𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵)})
26 df-rab 3432 . 2 {𝑦 ∈ ℝ ∣ (𝑦 − -𝐶) ∈ 𝐵} = {𝑦 ∣ (𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵)}
2725, 26eqtr4di 2789 1 (𝜑𝐴 = {𝑦 ∈ ℝ ∣ (𝑦 − -𝐶) ∈ 𝐵})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1540  wcel 2105  {cab 2708  {crab 3431  wss 3948  (class class class)co 7412  cc 11114  cr 11115   + caddc 11119  cmin 11451  -cneg 11452
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1912  ax-6 1970  ax-7 2010  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2153  ax-12 2170  ax-ext 2702  ax-sep 5299  ax-nul 5306  ax-pow 5363  ax-pr 5427  ax-un 7729  ax-resscn 11173  ax-1cn 11174  ax-icn 11175  ax-addcl 11176  ax-addrcl 11177  ax-mulcl 11178  ax-mulrcl 11179  ax-mulcom 11180  ax-addass 11181  ax-mulass 11182  ax-distr 11183  ax-i2m1 11184  ax-1ne0 11185  ax-1rid 11186  ax-rnegex 11187  ax-rrecex 11188  ax-cnre 11189  ax-pre-lttri 11190  ax-pre-lttrn 11191  ax-pre-ltadd 11192
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 845  df-3or 1087  df-3an 1088  df-tru 1543  df-fal 1553  df-ex 1781  df-nf 1785  df-sb 2067  df-mo 2533  df-eu 2562  df-clab 2709  df-cleq 2723  df-clel 2809  df-nfc 2884  df-ne 2940  df-nel 3046  df-ral 3061  df-rex 3070  df-reu 3376  df-rab 3432  df-v 3475  df-sbc 3778  df-csb 3894  df-dif 3951  df-un 3953  df-in 3955  df-ss 3965  df-nul 4323  df-if 4529  df-pw 4604  df-sn 4629  df-pr 4631  df-op 4635  df-uni 4909  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5574  df-po 5588  df-so 5589  df-xp 5682  df-rel 5683  df-cnv 5684  df-co 5685  df-dm 5686  df-rn 5687  df-res 5688  df-ima 5689  df-iota 6495  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-riota 7368  df-ov 7415  df-oprab 7416  df-mpo 7417  df-er 8709  df-en 8946  df-dom 8947  df-sdom 8948  df-pnf 11257  df-mnf 11258  df-ltxr 11260  df-sub 11453  df-neg 11454
This theorem is referenced by:  ovolshft  25360  shftmbl  25387
  Copyright terms: Public domain W3C validator