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

Theorem sbcop1 5379
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 3800 . . . . 5 ([𝑎 / 𝑥]𝜓 ↔ ∃𝑥(𝑥 = 𝑎𝜓))
2 opeq1 4803 . . . . . . . . . . 11 (𝑎 = 𝑥 → ⟨𝑎, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
32equcoms 2027 . . . . . . . . . 10 (𝑥 = 𝑎 → ⟨𝑎, 𝑦⟩ = ⟨𝑥, 𝑦⟩)
43eqeq2d 2832 . . . . . . . . 9 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ ↔ 𝑧 = ⟨𝑥, 𝑦⟩))
5 sbcop.z . . . . . . . . . 10 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑𝜓))
65biimprd 250 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜓𝜑))
74, 6syl6bi 255 . . . . . . . 8 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜓𝜑)))
87com23 86 . . . . . . 7 (𝑥 = 𝑎 → (𝜓 → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑)))
98imp 409 . . . . . 6 ((𝑥 = 𝑎𝜓) → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
109exlimiv 1931 . . . . 5 (∃𝑥(𝑥 = 𝑎𝜓) → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
111, 10sylbi 219 . . . 4 ([𝑎 / 𝑥]𝜓 → (𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
1211alrimiv 1928 . . 3 ([𝑎 / 𝑥]𝜓 → ∀𝑧(𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
13 opex 5356 . . . 4 𝑎, 𝑦⟩ ∈ V
1413sbc6 3802 . . 3 ([𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ ∀𝑧(𝑧 = ⟨𝑎, 𝑦⟩ → 𝜑))
1512, 14sylibr 236 . 2 ([𝑎 / 𝑥]𝜓[𝑎, 𝑦⟩ / 𝑧]𝜑)
16 sbc5 3800 . . 3 ([𝑎, 𝑦⟩ / 𝑧]𝜑 ↔ ∃𝑧(𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑))
175biimpd 231 . . . . . . . . 9 (𝑧 = ⟨𝑥, 𝑦⟩ → (𝜑𝜓))
184, 17syl6bi 255 . . . . . . . 8 (𝑥 = 𝑎 → (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜑𝜓)))
1918com3l 89 . . . . . . 7 (𝑧 = ⟨𝑎, 𝑦⟩ → (𝜑 → (𝑥 = 𝑎𝜓)))
2019imp 409 . . . . . 6 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → (𝑥 = 𝑎𝜓))
2120alrimiv 1928 . . . . 5 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → ∀𝑥(𝑥 = 𝑎𝜓))
22 vex 3497 . . . . . 6 𝑎 ∈ V
2322sbc6 3802 . . . . 5 ([𝑎 / 𝑥]𝜓 ↔ ∀𝑥(𝑥 = 𝑎𝜓))
2421, 23sylibr 236 . . . 4 ((𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → [𝑎 / 𝑥]𝜓)
2524exlimiv 1931 . . 3 (∃𝑧(𝑧 = ⟨𝑎, 𝑦⟩ ∧ 𝜑) → [𝑎 / 𝑥]𝜓)
2616, 25sylbi 219 . 2 ([𝑎, 𝑦⟩ / 𝑧]𝜑[𝑎 / 𝑥]𝜓)
2715, 26impbii 211 1 ([𝑎 / 𝑥]𝜓[𝑎, 𝑦⟩ / 𝑧]𝜑)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wal 1535   = wceq 1537  wex 1780  [wsbc 3772  cop 4573
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574
This theorem is referenced by:  sbcop  5380
  Copyright terms: Public domain W3C validator