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

Theorem sbcop 5466
Description: The proper substitution of an ordered pair for a setvar variable corresponds to a proper substitution of each of its components. (Contributed by AV, 8-Apr-2023.)
Hypothesis
Ref Expression
sbcop.z (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑 ↔ 𝜓))
Assertion
Ref Expression
sbcop ([𝑏 / 𝑦][𝑎 / 𝑥]𝜓 ↔ [⟨𝑎, 𝑏⟩ / 𝑧]𝜑)
Distinct variable groups:   𝑥,𝑎,𝑦,𝑧   𝜑,𝑥,𝑦   𝜓,𝑧   𝑥,𝑏,𝑦,𝑧
Allowed substitution hints:   𝜑(𝑧, 𝑎, 𝑏)   𝜓(𝑥, 𝑦, 𝑎, 𝑏)

Proof of Theorem sbcop
StepHypRef Expression
1 sbcop.z . . . 4 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑 ↔ 𝜓))
21sbcop1 5465 . . 3 ([𝑎 / 𝑥]𝜓 ↔ [⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
32sbcbii 3798 . 2 ([𝑏 / 𝑦][𝑎 / 𝑥]𝜓 ↔ [𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
4 sbcnestgw 4384 . . 3 (𝑏 ∈ V → ([𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑))
54elv 3459 . 2 ([𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
6 csbopg 4856 . . . . 5 (𝑏 ∈ V → ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩)
76elv 3459 . . . 4 ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩
8 vex 3458 . . . . . 6 𝑏 ∈ V
98csbconstgi 3872 . . . . 5 ⦋𝑏 / 𝑦⦌𝑎 = 𝑎
108csbvargi 4396 . . . . 5 ⦋𝑏 / 𝑦⦌𝑦 = 𝑏
119, 10opeq12i 4850 . . . 4 ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩ = ⟨𝑎, 𝑏⟩
127, 11eqtri 2786 . . 3 ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨𝑎, 𝑏⟩
13 dfsbcq 3744 . . 3 (⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨𝑎, 𝑏⟩ → ([⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⟨𝑎, 𝑏⟩ / 𝑧]𝜑))
1412, 13ax-mp 5 . 2 ([⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⟨𝑎, 𝑏⟩ / 𝑧]𝜑)
153, 5, 143bitri 300 1 ([𝑏 / 𝑦][𝑎 / 𝑥]𝜓 ↔ [⟨𝑎, 𝑏⟩ / 𝑧]𝜑)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   = wceq 1570  Vcvv 3454  [wsbc 3742  ⦋csb 3851  ⟨cop 4840
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841
This theorem is used by:  reuop  6322
  Copyright terms: Public domain W3C validator