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

Theorem sbcie2s 16540
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 6683 . 2 (𝐸𝑤) ∈ V
2 fvex 6683 . 2 (𝐹𝑤) ∈ V
3 simprl 769 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑎 = (𝐸𝑤))
4 fveq2 6670 . . . . . . . 8 (𝑤 = 𝑊 → (𝐸𝑤) = (𝐸𝑊))
5 sbcie2s.a . . . . . . . 8 𝐴 = (𝐸𝑊)
64, 5syl6eqr 2874 . . . . . . 7 (𝑤 = 𝑊 → (𝐸𝑤) = 𝐴)
76adantr 483 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝐸𝑤) = 𝐴)
83, 7eqtrd 2856 . . . . 5 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑎 = 𝐴)
9 simprr 771 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑏 = (𝐹𝑤))
10 fveq2 6670 . . . . . . . 8 (𝑤 = 𝑊 → (𝐹𝑤) = (𝐹𝑊))
11 sbcie2s.b . . . . . . . 8 𝐵 = (𝐹𝑊)
1210, 11syl6eqr 2874 . . . . . . 7 (𝑤 = 𝑊 → (𝐹𝑤) = 𝐵)
1312adantr 483 . . . . . 6 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝐹𝑤) = 𝐵)
149, 13eqtrd 2856 . . . . 5 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → 𝑏 = 𝐵)
15 sbcie2s.1 . . . . 5 ((𝑎 = 𝐴𝑏 = 𝐵) → (𝜑𝜓))
168, 14, 15syl2anc 586 . . . 4 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝜑𝜓))
1716bicomd 225 . . 3 ((𝑤 = 𝑊 ∧ (𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤))) → (𝜓𝜑))
1817ex 415 . 2 (𝑤 = 𝑊 → ((𝑎 = (𝐸𝑤) ∧ 𝑏 = (𝐹𝑤)) → (𝜓𝜑)))
191, 2, 18sbc2iedv 3851 1 (𝑤 = 𝑊 → ([(𝐸𝑤) / 𝑎][(𝐹𝑤) / 𝑏]𝜓𝜑))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398   = wceq 1537  [wsbc 3772  cfv 6355
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 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-nul 5210
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-iota 6314  df-fv 6363
This theorem is referenced by:  istrkgc  26240  istrkgb  26241  istrkge  26243  istrkgl  26244  ishpg  26545  iscgra  26595
  Copyright terms: Public domain W3C validator