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

Theorem sbcop 5474
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 5473 . . 3 ([𝑎 / 𝑥]𝜓 ↔ [⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
32sbcbii 3805 . 2 ([𝑏 / 𝑦][𝑎 / 𝑥]𝜓 ↔ [𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
4 sbcnestgw 4391 . . 3 (𝑏 ∈ V → ([𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑))
54elv 3466 . 2 ([𝑏 / 𝑦][⟨𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ [⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ / 𝑧]𝜑)
6 csbopg 4864 . . . . 5 (𝑏 ∈ V → ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩)
76elv 3466 . . . 4 ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩
8 vex 3465 . . . . . 6 𝑏 ∈ V
98csbconstgi 3879 . . . . 5 ⦋𝑏 / 𝑦⦌𝑎 = 𝑎
108csbvargi 4403 . . . . 5 ⦋𝑏 / 𝑦⦌𝑦 = 𝑏
119, 10opeq12i 4858 . . . 4 ⟨⦋𝑏 / 𝑦⦌𝑎, ⦋𝑏 / 𝑦⦌𝑦⟩ = ⟨𝑎, 𝑏⟩
127, 11eqtri 2797 . . 3 ⦋𝑏 / 𝑦⦌⟨𝑎, 𝑦⟩ = ⟨𝑎, 𝑏⟩
13 dfsbcq 3751 . . 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 1572  Vcvv 3461  [wsbc 3749  ⦋csb 3858  ⟨cop 4848
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-sep 5263  ax-pr 5406
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-sn 4596  df-pr 4598  df-op 4849
This theorem is used by:  reuop  6334
  Copyright terms: Public domain W3C validator