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

Theorem sbcie2s 16532
Description: A special version of class substitution commonly used for structures. (Contributed by Thierry Arnoux, 14-Mar-2019.)
Hypotheses
Ref Expression
sbcie2s.a 𝐴 = (𝐸𝑊)
sbcie2s.b 𝐵 = (𝐹𝑊)
sbcie2s.1 ((𝑎 = 𝐴𝑏 = 𝐵) → (𝜑𝜓))
Assertion
Ref Expression
sbcie2s (𝑤 = 𝑊 → ([(𝐸𝑤) / 𝑎][(𝐹𝑤) / 𝑏]𝜓𝜑))
Distinct variable groups:   𝑎,𝑏,𝑤   𝐸,𝑎,𝑏   𝐹,𝑏   𝑊,𝑎,𝑏   𝜑,𝑎,𝑏
Allowed substitution hints:   𝜑(𝑤)   𝜓(𝑤,𝑎,𝑏)   𝐴(𝑤,𝑎,𝑏)   𝐵(𝑤,𝑎,𝑏)   𝐸(𝑤)   𝐹(𝑤,𝑎)   𝑊(𝑤)

Proof of Theorem sbcie2s
StepHypRef Expression
1 fvex 6658 . 2 (𝐸𝑤) ∈ V
2 fvex 6658 . 2 (𝐹𝑤) ∈ V
3 simprl 770 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑎 = (𝐸𝑤))
4 fveq2 6645 . . . . . . . 8 (𝑤 = 𝑊 → (𝐸𝑤) = (𝐸𝑊))
5 sbcie2s.a . . . . . . . 8 𝐴 = (𝐸𝑊)
64, 5eqtr4di 2851 . . . . . . 7 (𝑤 = 𝑊 → (𝐸𝑤) = 𝐴)
76adantr 484 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝐸𝑤) = 𝐴)
83, 7eqtrd 2833 . . . . 5 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑎 = 𝐴)
9 simprr 772 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑏 = (𝐹𝑤))
10 fveq2 6645 . . . . . . . 8 (𝑤 = 𝑊 → (𝐹𝑤) = (𝐹𝑊))
11 sbcie2s.b . . . . . . . 8 𝐵 = (𝐹𝑊)
1210, 11eqtr4di 2851 . . . . . . 7 (𝑤 = 𝑊 → (𝐹𝑤) = 𝐵)
1312adantr 484 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝐹𝑤) = 𝐵)
149, 13eqtrd 2833 . . . . 5 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑏 = 𝐵)
15 sbcie2s.1 . . . . 5 ((𝑎 = 𝐴𝑏 = 𝐵) → (𝜑𝜓))
168, 14, 15syl2anc 587 . . . 4 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝜑𝜓))
1716bicomd 226 . . 3 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝜓𝜑))
1817ex 416 . 2 (𝑤 = 𝑊 → ((𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤)) → (𝜓𝜑)))
191, 2, 18sbc2iedv 3797 1 (𝑤 = 𝑊 → ([(𝐸𝑤) / 𝑎][(𝐹𝑤) / 𝑏]𝜓𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399   = wceq 1538  [wsbc 3720  cfv 6324
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-nul 5174
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-ral 3111  df-rex 3112  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-iota 6283  df-fv 6332
This theorem is referenced by:  istrkgc  26248  istrkgb  26249  istrkge  26251  istrkgl  26252  ishpg  26553  iscgra  26603
  Copyright terms: Public domain W3C validator