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

Theorem rusgrnumwwlkslem 27750
Description: Lemma for rusgrnumwwlks 27755. (Contributed by Alexander van der Vekens, 23-Aug-2018.)
Assertion
Ref Expression
rusgrnumwwlkslem (𝑌 ∈ {𝑤𝑍 ∣ (𝑤‘0) = 𝑃} → {𝑤𝑋 ∣ (𝜑𝜓)} = {𝑤𝑋 ∣ (𝜑 ∧ (𝑌‘0) = 𝑃𝜓)})
Distinct variable groups:   𝑤,𝑃   𝑤,𝑌   𝑤,𝑍
Allowed substitution hints:   𝜑(𝑤)   𝜓(𝑤)   𝑋(𝑤)

Proof of Theorem rusgrnumwwlkslem
StepHypRef Expression
1 fveq1 6671 . . . 4 (𝑤 = 𝑌 → (𝑤‘0) = (𝑌‘0))
21eqeq1d 2825 . . 3 (𝑤 = 𝑌 → ((𝑤‘0) = 𝑃 ↔ (𝑌‘0) = 𝑃))
32elrab 3682 . 2 (𝑌 ∈ {𝑤𝑍 ∣ (𝑤‘0) = 𝑃} ↔ (𝑌𝑍 ∧ (𝑌‘0) = 𝑃))
4 ibar 531 . . . . 5 ((𝑌‘0) = 𝑃 → ((𝜑𝜓) ↔ ((𝑌‘0) = 𝑃 ∧ (𝜑𝜓))))
5 3anass 1091 . . . . . 6 (((𝑌‘0) = 𝑃𝜑𝜓) ↔ ((𝑌‘0) = 𝑃 ∧ (𝜑𝜓)))
6 3ancoma 1094 . . . . . 6 (((𝑌‘0) = 𝑃𝜑𝜓) ↔ (𝜑 ∧ (𝑌‘0) = 𝑃𝜓))
75, 6bitr3i 279 . . . . 5 (((𝑌‘0) = 𝑃 ∧ (𝜑𝜓)) ↔ (𝜑 ∧ (𝑌‘0) = 𝑃𝜓))
84, 7syl6bb 289 . . . 4 ((𝑌‘0) = 𝑃 → ((𝜑𝜓) ↔ (𝜑 ∧ (𝑌‘0) = 𝑃𝜓)))
98ad2antlr 725 . . 3 (((𝑌𝑍 ∧ (𝑌‘0) = 𝑃) ∧ 𝑤𝑋) → ((𝜑𝜓) ↔ (𝜑 ∧ (𝑌‘0) = 𝑃𝜓)))
109rabbidva 3480 . 2 ((𝑌𝑍 ∧ (𝑌‘0) = 𝑃) → {𝑤𝑋 ∣ (𝜑𝜓)} = {𝑤𝑋 ∣ (𝜑 ∧ (𝑌‘0) = 𝑃𝜓)})
113, 10sylbi 219 1 (𝑌 ∈ {𝑤𝑍 ∣ (𝑤‘0) = 𝑃} → {𝑤𝑋 ∣ (𝜑𝜓)} = {𝑤𝑋 ∣ (𝜑 ∧ (𝑌‘0) = 𝑃𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  {crab 3144  cfv 6357  0cc0 10539
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 2795
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 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-rab 3149  df-v 3498  df-in 3945  df-ss 3954  df-uni 4841  df-br 5069  df-iota 6316  df-fv 6365
This theorem is referenced by:  rusgrnumwwlks  27755
  Copyright terms: Public domain W3C validator