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

Theorem sbcop 5459
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 5458 . . 3 ([𝑎 / 𝑥]𝜓 ↔ [⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
32sbcbii 3794 . 2 ([𝑏 / 𝑦][𝑎 / 𝑥]𝜓 ↔ [𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
4 sbcnestgw 4380 . . 3 (𝑏 ∈ V → ([𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑))
54elv 3455 . 2 ([𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
6 csbopg 4850 . . . . 5 (𝑏 ∈ V → ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩)
76elv 3455 . . . 4 ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩
8 vex 3454 . . . . . 6 𝑏 ∈ V
98csbconstgi 3868 . . . . 5 ⦋𝑏 / 𝑦⦌𝑎 = 𝑎
108csbvargi 4392 . . . . 5 ⦋𝑏 / 𝑦⦌𝑦 = 𝑏
119, 10opeq12i 4844 . . . 4 ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩ = ⟨𝑎, 𝑏⟩
127, 11eqtri 2783 . . 3 ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨𝑎, 𝑏⟩
13 dfsbcq 3740 . . 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 1569  Vcvv 3450  [wsbc 3738  ⦋csb 3847  ⟨cop 4834
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3848  df-ss 3897  df-dif 4046  df-in 4090  df-un 4150  df-nul 4278  df-if 4482  df-sn 4585  df-pr 4587  df-op 4835
This theorem is used by:  reuop  6299
  Copyright terms: Public domain W3C validator