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

Theorem csbopg 4783
Description: Distribution of class substitution over ordered pairs. (Contributed by Drahflow, 25-Sep-2015.) (Revised by Mario Carneiro, 29-Oct-2015.) (Revised by ML, 25-Oct-2020.)
Assertion
Ref Expression
csbopg (𝐴𝑉𝐴 / 𝑥𝐶, 𝐷⟩ = ⟨𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷⟩)

Proof of Theorem csbopg
StepHypRef Expression
1 csbif 4480 . . 3 𝐴 / 𝑥if((𝐶 ∈ V ∧ 𝐷 ∈ V), {{𝐶}, {𝐶, 𝐷}}, ∅) = if([𝐴 / 𝑥](𝐶 ∈ V ∧ 𝐷 ∈ V), 𝐴 / 𝑥{{𝐶}, {𝐶, 𝐷}}, 𝐴 / 𝑥∅)
2 sbcan 3768 . . . . 5 ([𝐴 / 𝑥](𝐶 ∈ V ∧ 𝐷 ∈ V) ↔ ([𝐴 / 𝑥]𝐶 ∈ V ∧ [𝐴 / 𝑥]𝐷 ∈ V))
3 sbcel1g 4321 . . . . . 6 (𝐴𝑉 → ([𝐴 / 𝑥]𝐶 ∈ V ↔ 𝐴 / 𝑥𝐶 ∈ V))
4 sbcel1g 4321 . . . . . 6 (𝐴𝑉 → ([𝐴 / 𝑥]𝐷 ∈ V ↔ 𝐴 / 𝑥𝐷 ∈ V))
53, 4anbi12d 633 . . . . 5 (𝐴𝑉 → (([𝐴 / 𝑥]𝐶 ∈ V ∧ [𝐴 / 𝑥]𝐷 ∈ V) ↔ (𝐴 / 𝑥𝐶 ∈ V ∧ 𝐴 / 𝑥𝐷 ∈ V)))
62, 5syl5bb 286 . . . 4 (𝐴𝑉 → ([𝐴 / 𝑥](𝐶 ∈ V ∧ 𝐷 ∈ V) ↔ (𝐴 / 𝑥𝐶 ∈ V ∧ 𝐴 / 𝑥𝐷 ∈ V)))
7 csbprg 4605 . . . . 5 (𝐴𝑉𝐴 / 𝑥{{𝐶}, {𝐶, 𝐷}} = {𝐴 / 𝑥{𝐶}, 𝐴 / 𝑥{𝐶, 𝐷}})
8 csbsng 4604 . . . . . 6 (𝐴𝑉𝐴 / 𝑥{𝐶} = {𝐴 / 𝑥𝐶})
9 csbprg 4605 . . . . . 6 (𝐴𝑉𝐴 / 𝑥{𝐶, 𝐷} = {𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷})
108, 9preq12d 4637 . . . . 5 (𝐴𝑉 → {𝐴 / 𝑥{𝐶}, 𝐴 / 𝑥{𝐶, 𝐷}} = {{𝐴 / 𝑥𝐶}, {𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷}})
117, 10eqtrd 2833 . . . 4 (𝐴𝑉𝐴 / 𝑥{{𝐶}, {𝐶, 𝐷}} = {{𝐴 / 𝑥𝐶}, {𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷}})
12 csbconstg 3847 . . . 4 (𝐴𝑉𝐴 / 𝑥∅ = ∅)
136, 11, 12ifbieq12d 4452 . . 3 (𝐴𝑉 → if([𝐴 / 𝑥](𝐶 ∈ V ∧ 𝐷 ∈ V), 𝐴 / 𝑥{{𝐶}, {𝐶, 𝐷}}, 𝐴 / 𝑥∅) = if((𝐴 / 𝑥𝐶 ∈ V ∧ 𝐴 / 𝑥𝐷 ∈ V), {{𝐴 / 𝑥𝐶}, {𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷}}, ∅))
141, 13syl5eq 2845 . 2 (𝐴𝑉𝐴 / 𝑥if((𝐶 ∈ V ∧ 𝐷 ∈ V), {{𝐶}, {𝐶, 𝐷}}, ∅) = if((𝐴 / 𝑥𝐶 ∈ V ∧ 𝐴 / 𝑥𝐷 ∈ V), {{𝐴 / 𝑥𝐶}, {𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷}}, ∅))
15 dfopif 4760 . . 3 𝐶, 𝐷⟩ = if((𝐶 ∈ V ∧ 𝐷 ∈ V), {{𝐶}, {𝐶, 𝐷}}, ∅)
1615csbeq2i 3836 . 2 𝐴 / 𝑥𝐶, 𝐷⟩ = 𝐴 / 𝑥if((𝐶 ∈ V ∧ 𝐷 ∈ V), {{𝐶}, {𝐶, 𝐷}}, ∅)
17 dfopif 4760 . 2 𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷⟩ = if((𝐴 / 𝑥𝐶 ∈ V ∧ 𝐴 / 𝑥𝐷 ∈ V), {{𝐴 / 𝑥𝐶}, {𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷}}, ∅)
1814, 16, 173eqtr4g 2858 1 (𝐴𝑉𝐴 / 𝑥𝐶, 𝐷⟩ = ⟨𝐴 / 𝑥𝐶, 𝐴 / 𝑥𝐷⟩)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399   = wceq 1538  wcel 2111  Vcvv 3441  [wsbc 3720  csb 3828  c0 4243  ifcif 4425  {csn 4525  {cpr 4527  cop 4531
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
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-fal 1551  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532
This theorem is referenced by:  sbcop  5345  opsbc2ie  30246  esum2dlem  31461  csbfinxpg  34805
  Copyright terms: Public domain W3C validator