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

Theorem sbcop1 5396
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 3739 . . . . 5 ([𝑎 / 𝑥]𝜓 ↔ ∃𝑥(𝑥 = 𝑎𝜓))
2 opeq1 4801 . . . . . . . . . . 11 (𝑎 = 𝑥 → ⟨𝑎, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
32equcoms 2024 . . . . . . . . . 10 (𝑥 = 𝑎 → ⟨𝑎, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
43eqeq2d 2749 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ ↔ 𝑧 = ⟨𝑥, 𝑦⟩))
5 sbcop.z . . . . . . . . . 10 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑𝜓))
65biimprd 247 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜓𝜑))
74, 6syl6bi 252 . . . . . . . 8 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜓𝜑)))
87com23 86 . . . . . . 7 (𝑥 = 𝑎 → (𝜓 → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑)))
98imp 406 . . . . . 6 ((𝑥 = 𝑎𝜓) → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
109exlimiv 1934 . . . . 5 (∃𝑥(𝑥 = 𝑎𝜓) → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
111, 10sylbi 216 . . . 4 ([𝑎 / 𝑥]𝜓 → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
1211alrimiv 1931 . . 3 ([𝑎 / 𝑥]𝜓 → ∀𝑧(𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
13 opex 5373 . . . 4 𝑎, 𝑦⟩ ∈ V
1413sbc6 3743 . . 3 ([𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ ∀𝑧(𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
1512, 14sylibr 233 . 2 ([𝑎 / 𝑥]𝜓[𝑎, 𝑦⟩ / 𝑧]𝜑)
16 sbc5 3739 . . 3 ([𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ ∃𝑧(𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑))
175biimpd 228 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑𝜓))
184, 17syl6bi 252 . . . . . . . 8 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜑𝜓)))
1918com3l 89 . . . . . . 7 (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜑 → (𝑥 = 𝑎𝜓)))
2019imp 406 . . . . . 6 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → (𝑥 = 𝑎𝜓))
2120alrimiv 1931 . . . . 5 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → ∀𝑥(𝑥 = 𝑎𝜓))
22 vex 3426 . . . . . 6 𝑎 ∈ V
2322sbc6 3743 . . . . 5 ([𝑎 / 𝑥]𝜓 ↔ ∀𝑥(𝑥 = 𝑎𝜓))
2421, 23sylibr 233 . . . 4 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → [𝑎 / 𝑥]𝜓)
2524exlimiv 1934 . . 3 (∃𝑧(𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → [𝑎 / 𝑥]𝜓)
2616, 25sylbi 216 . 2 ([𝑎, 𝑦⟩ / 𝑧]𝜑[𝑎 / 𝑥]𝜓)
2715, 26impbii 208 1 ([𝑎 / 𝑥]𝜓[𝑎, 𝑦⟩ / 𝑧]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537   = wceq 1539  wex 1783  [wsbc 3711  cop 4564
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-clab 2716  df-cleq 2730  df-clel 2817  df-rab 3072  df-v 3424  df-sbc 3712  df-dif 3886  df-un 3888  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565
This theorem is referenced by:  sbcop  5397
  Copyright terms: Public domain W3C validator