Users' Mathboxes Mathbox for Thierry Arnoux < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  rspc2daf Structured version   Visualization version   GIF version

Theorem rspc2daf 30795
Description: Double restricted specialization, using implicit substitution. (Contributed by Thierry Arnoux, 4-Jul-2023.)
Hypotheses
Ref Expression
sbc2iedf.1 𝑥𝜑
sbc2iedf.2 𝑦𝜑
sbc2iedf.3 𝑥𝜒
sbc2iedf.4 𝑦𝜒
sbc2iedf.5 (𝜑𝐴𝑉)
sbc2iedf.6 (𝜑𝐵𝑊)
sbc2iedf.7 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
rspc2daf.8 (𝜑 → ∀𝑥𝑉𝑦𝑊 𝜓)
Assertion
Ref Expression
rspc2daf (𝜑𝜒)
Distinct variable groups:   𝑥,𝐴,𝑦   𝑥,𝐵,𝑦   𝑥,𝑉   𝑥,𝑊,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)   𝜒(𝑥,𝑦)   𝑉(𝑦)

Proof of Theorem rspc2daf
StepHypRef Expression
1 rspc2daf.8 . . . 4 (𝜑 → ∀𝑥𝑉𝑦𝑊 𝜓)
2 sbc2iedf.1 . . . . 5 𝑥𝜑
3 nfcv 2908 . . . . . 6 𝑥𝑊
4 nfsbc1v 3739 . . . . . 6 𝑥[𝐴 / 𝑥]𝜓
53, 4nfralw 3151 . . . . 5 𝑥𝑦𝑊 [𝐴 / 𝑥]𝜓
6 sbc2iedf.5 . . . . 5 (𝜑𝐴𝑉)
7 sbc2iedf.2 . . . . . . 7 𝑦𝜑
8 nfv 1920 . . . . . . 7 𝑦 𝑥 = 𝐴
97, 8nfan 1905 . . . . . 6 𝑦(𝜑𝑥 = 𝐴)
10 sbceq1a 3730 . . . . . . 7 (𝑥 = 𝐴 → (𝜓[𝐴 / 𝑥]𝜓))
1110adantl 481 . . . . . 6 ((𝜑𝑥 = 𝐴) → (𝜓[𝐴 / 𝑥]𝜓))
129, 11ralbid 3160 . . . . 5 ((𝜑𝑥 = 𝐴) → (∀𝑦𝑊 𝜓 ↔ ∀𝑦𝑊 [𝐴 / 𝑥]𝜓))
132, 5, 6, 12rspcdf 3546 . . . 4 (𝜑 → (∀𝑥𝑉𝑦𝑊 𝜓 → ∀𝑦𝑊 [𝐴 / 𝑥]𝜓))
141, 13mpd 15 . . 3 (𝜑 → ∀𝑦𝑊 [𝐴 / 𝑥]𝜓)
15 nfsbc1v 3739 . . . 4 𝑦[𝐵 / 𝑦][𝐴 / 𝑥]𝜓
16 sbc2iedf.6 . . . 4 (𝜑𝐵𝑊)
17 sbceq1a 3730 . . . . 5 (𝑦 = 𝐵 → ([𝐴 / 𝑥]𝜓[𝐵 / 𝑦][𝐴 / 𝑥]𝜓))
1817adantl 481 . . . 4 ((𝜑𝑦 = 𝐵) → ([𝐴 / 𝑥]𝜓[𝐵 / 𝑦][𝐴 / 𝑥]𝜓))
197, 15, 16, 18rspcdf 3546 . . 3 (𝜑 → (∀𝑦𝑊 [𝐴 / 𝑥]𝜓[𝐵 / 𝑦][𝐴 / 𝑥]𝜓))
2014, 19mpd 15 . 2 (𝜑[𝐵 / 𝑦][𝐴 / 𝑥]𝜓)
21 sbc2iedf.3 . . . 4 𝑥𝜒
22 sbc2iedf.4 . . . 4 𝑦𝜒
23 sbc2iedf.7 . . . 4 ((𝜑 ∧ (𝑥 = 𝐴𝑦 = 𝐵)) → (𝜓𝜒))
242, 7, 21, 22, 6, 16, 23sbc2iedf 30794 . . 3 (𝜑 → ([𝐴 / 𝑥][𝐵 / 𝑦]𝜓𝜒))
25 sbccom 3808 . . 3 ([𝐴 / 𝑥][𝐵 / 𝑦]𝜓[𝐵 / 𝑦][𝐴 / 𝑥]𝜓)
2624, 25bitr3di 285 . 2 (𝜑 → (𝜒[𝐵 / 𝑦][𝐴 / 𝑥]𝜓))
2720, 26mpbird 256 1 (𝜑𝜒)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1541  wnf 1789  wcel 2109  wral 3065  [wsbc 3719
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1801  ax-4 1815  ax-5 1916  ax-6 1974  ax-7 2014  ax-8 2111  ax-9 2119  ax-10 2140  ax-11 2157  ax-12 2174  ax-ext 2710
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1544  df-ex 1786  df-nf 1790  df-sb 2071  df-clab 2717  df-cleq 2731  df-clel 2817  df-nfc 2890  df-ral 3070  df-v 3432  df-sbc 3720
This theorem is referenced by:  opreu2reuALT  30804
  Copyright terms: Public domain W3C validator