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

Theorem shft2rab 25809
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 3930 . . . . 5 (𝜑 → (𝑦 ∈ 𝐴 → 𝑦 ∈ ℝ))
32pm4.71rd 572 . . . 4 (𝜑 → (𝑦 ∈ 𝐴 ↔ (𝑦 ∈ ℝ ∧ 𝑦 ∈ 𝐴)))
4 recn 11271 . . . . . . . 8 (𝑦 ∈ ℝ → 𝑦 ∈ ℂ)
5 ovolshft.2 . . . . . . . . 9 (𝜑 → 𝐶 ∈ ℝ)
65recnd 11318 . . . . . . . 8 (𝜑 → 𝐶 ∈ ℂ)
7 subneg 11588 . . . . . . . 8 ((𝑦 ∈ ℂ ∧ 𝐶 ∈ ℂ) → (𝑦 − -𝐶) = (𝑦 + 𝐶))
84, 6, 7syl2anr 609 . . . . . . 7 ((𝜑 ∧ 𝑦 ∈ ℝ) → (𝑦 − -𝐶) = (𝑦 + 𝐶))
9 ovolshft.3 . . . . . . . 8 (𝜑 → 𝐵 = {𝑥 ∈ ℝ ∣ (𝑥 − 𝐶) ∈ 𝐴})
109adantr 486 . . . . . . 7 ((𝜑 ∧ 𝑦 ∈ ℝ) → 𝐵 = {𝑥 ∈ ℝ ∣ (𝑥 − 𝐶) ∈ 𝐴})
118, 10eleq12d 2855 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ ℝ) → ((𝑦 − -𝐶) ∈ 𝐵 ↔ (𝑦 + 𝐶) ∈ {𝑥 ∈ ℝ ∣ (𝑥 − 𝐶) ∈ 𝐴}))
12 id 23 . . . . . . . 8 (𝑦 ∈ ℝ → 𝑦 ∈ ℝ)
13 readdcl 11264 . . . . . . . 8 ((𝑦 ∈ ℝ ∧ 𝐶 ∈ ℝ) → (𝑦 + 𝐶) ∈ ℝ)
1412, 5, 13syl2anr 609 . . . . . . 7 ((𝜑 ∧ 𝑦 ∈ ℝ) → (𝑦 + 𝐶) ∈ ℝ)
15 oveq1 7419 . . . . . . . . 9 (𝑥 = (𝑦 + 𝐶) → (𝑥 − 𝐶) = ((𝑦 + 𝐶) − 𝐶))
1615eleq1d 2846 . . . . . . . 8 (𝑥 = (𝑦 + 𝐶) → ((𝑥 − 𝐶) ∈ 𝐴 ↔ ((𝑦 + 𝐶) − 𝐶) ∈ 𝐴))
1716elrab3 3646 . . . . . . 7 ((𝑦 + 𝐶) ∈ ℝ → ((𝑦 + 𝐶) ∈ {𝑥 ∈ ℝ ∣ (𝑥 − 𝐶) ∈ 𝐴} ↔ ((𝑦 + 𝐶) − 𝐶) ∈ 𝐴))
1814, 17syl 18 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ ℝ) → ((𝑦 + 𝐶) ∈ {𝑥 ∈ ℝ ∣ (𝑥 − 𝐶) ∈ 𝐴} ↔ ((𝑦 + 𝐶) − 𝐶) ∈ 𝐴))
19 pncan 11544 . . . . . . . 8 ((𝑦 ∈ ℂ ∧ 𝐶 ∈ ℂ) → ((𝑦 + 𝐶) − 𝐶) = 𝑦)
204, 6, 19syl2anr 609 . . . . . . 7 ((𝜑 ∧ 𝑦 ∈ ℝ) → ((𝑦 + 𝐶) − 𝐶) = 𝑦)
2120eleq1d 2846 . . . . . 6 ((𝜑 ∧ 𝑦 ∈ ℝ) → (((𝑦 + 𝐶) − 𝐶) ∈ 𝐴 ↔ 𝑦 ∈ 𝐴))
2211, 18, 213bitrd 308 . . . . 5 ((𝜑 ∧ 𝑦 ∈ ℝ) → ((𝑦 − -𝐶) ∈ 𝐵 ↔ 𝑦 ∈ 𝐴))
2322pm5.32da 590 . . . 4 (𝜑 → ((𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵) ↔ (𝑦 ∈ ℝ ∧ 𝑦 ∈ 𝐴)))
243, 23bitr4d 285 . . 3 (𝜑 → (𝑦 ∈ 𝐴 ↔ (𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵)))
2524eqabdv 2894 . 2 (𝜑 → 𝐴 = {𝑦 ∣ (𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵)})
26 df-rab 3414 . 2 {𝑦 ∈ ℝ ∣ (𝑦 − -𝐶) ∈ 𝐵} = {𝑦 ∣ (𝑦 ∈ ℝ ∧ (𝑦 − -𝐶) ∈ 𝐵)}
2725, 26eqtr4di 2814 1 (𝜑 → 𝐴 = {𝑦 ∈ ℝ ∣ (𝑦 − -𝐶) ∈ 𝐵})
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1570   ∈ wcel 2145  {cab 2739  {crab 3413   ⊆ wss 3899  (class class class)co 7412  ℂcc 11179  ℝcr 11180   + caddc 11184   − cmin 11522  -cneg 11523
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-po 5559  df-so 5560  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-riota 7369  df-ov 7415  df-oprab 7416  df-mpo 7417  df-er 8701  df-en 8958  df-dom 8959  df-sdom 8960  df-pnf 11326  df-mnf 11327  df-ltxr 11329  df-sub 11524  df-neg 11525
This theorem is used by:  ovolshft  25812  shftmbl  25839
  Copyright terms: Public domain W3C validator