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

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

Proof of Theorem sbcop1
StepHypRef Expression
1 sbc5 3770 . . . . 5 ([𝑎 / 𝑥]𝜓 ↔ ∃𝑥(𝑥 = 𝑎𝜓))
2 opeq1 4835 . . . . . . . . . . 11 (𝑎 = 𝑥 → ⟨𝑎, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
32equcoms 2023 . . . . . . . . . 10 (𝑥 = 𝑎 → ⟨𝑎, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
43eqeq2d 2742 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ ↔ 𝑧 = ⟨𝑥, 𝑦⟩))
5 sbcop.z . . . . . . . . . 10 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑𝜓))
65biimprd 247 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜓𝜑))
74, 6syl6bi 252 . . . . . . . 8 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜓𝜑)))
87com23 86 . . . . . . 7 (𝑥 = 𝑎 → (𝜓 → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑)))
98imp 407 . . . . . 6 ((𝑥 = 𝑎𝜓) → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
109exlimiv 1933 . . . . 5 (∃𝑥(𝑥 = 𝑎𝜓) → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
111, 10sylbi 216 . . . 4 ([𝑎 / 𝑥]𝜓 → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
1211alrimiv 1930 . . 3 ([𝑎 / 𝑥]𝜓 → ∀𝑧(𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
13 opex 5426 . . . 4 𝑎, 𝑦⟩ ∈ V
1413sbc6 3774 . . 3 ([𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ ∀𝑧(𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
1512, 14sylibr 233 . 2 ([𝑎 / 𝑥]𝜓[𝑎, 𝑦⟩ / 𝑧]𝜑)
16 sbc5 3770 . . 3 ([𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ ∃𝑧(𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑))
175biimpd 228 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑𝜓))
184, 17syl6bi 252 . . . . . . . 8 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜑𝜓)))
1918com3l 89 . . . . . . 7 (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜑 → (𝑥 = 𝑎𝜓)))
2019imp 407 . . . . . 6 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → (𝑥 = 𝑎𝜓))
2120alrimiv 1930 . . . . 5 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → ∀𝑥(𝑥 = 𝑎𝜓))
22 vex 3450 . . . . . 6 𝑎 ∈ V
2322sbc6 3774 . . . . 5 ([𝑎 / 𝑥]𝜓 ↔ ∀𝑥(𝑥 = 𝑎𝜓))
2421, 23sylibr 233 . . . 4 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → [𝑎 / 𝑥]𝜓)
2524exlimiv 1933 . . 3 (∃𝑧(𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → [𝑎 / 𝑥]𝜓)
2616, 25sylbi 216 . 2 ([𝑎, 𝑦⟩ / 𝑧]𝜑[𝑎 / 𝑥]𝜓)
2715, 26impbii 208 1 ([𝑎 / 𝑥]𝜓[𝑎, 𝑦⟩ / 𝑧]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1539   = wceq 1541  wex 1781  [wsbc 3742  cop 4597
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 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-12 2171  ax-ext 2702  ax-sep 5261  ax-nul 5268  ax-pr 5389
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 846  df-3an 1089  df-tru 1544  df-fal 1554  df-ex 1782  df-nf 1786  df-sb 2068  df-clab 2709  df-cleq 2723  df-clel 2809  df-rab 3406  df-v 3448  df-sbc 3743  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4288  df-if 4492  df-sn 4592  df-pr 4594  df-op 4598
This theorem is referenced by:  sbcop  5451
  Copyright terms: Public domain W3C validator