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

Theorem rabrabi 3448
Description: Abstract builder restricted to another restricted abstract builder with implicit substitution. (Contributed by AV, 2-Aug-2022.) Avoid ax-10 2135, ax-11 2152 and ax-12 2169. (Revised by Gino Giotto, 12-Oct-2024.)
Hypothesis
Ref Expression
rabrabi.1 (𝑥 = 𝑦 → (𝜒𝜑))
Assertion
Ref Expression
rabrabi {𝑥 ∈ {𝑦𝐴𝜑} ∣ 𝜓} = {𝑥𝐴 ∣ (𝜒𝜓)}
Distinct variable groups:   𝑥,𝑦   𝑦,𝐴   𝜒,𝑦
Allowed substitution hints:   𝜑(𝑥,𝑦)   𝜓(𝑥,𝑦)   𝜒(𝑥)   𝐴(𝑥)

Proof of Theorem rabrabi
StepHypRef Expression
1 df-rab 3431 . . . . . 6 {𝑦𝐴𝜑} = {𝑦 ∣ (𝑦𝐴𝜑)}
21eleq2i 2823 . . . . 5 (𝑥 ∈ {𝑦𝐴𝜑} ↔ 𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)})
3 df-clab 2708 . . . . 5 (𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)} ↔ [𝑥 / 𝑦](𝑦𝐴𝜑))
4 eleq1w 2814 . . . . . . 7 (𝑦 = 𝑥 → (𝑦𝐴𝑥𝐴))
5 rabrabi.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜒𝜑))
65bicomd 222 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜒))
76equcoms 2021 . . . . . . 7 (𝑦 = 𝑥 → (𝜑𝜒))
84, 7anbi12d 629 . . . . . 6 (𝑦 = 𝑥 → ((𝑦𝐴𝜑) ↔ (𝑥𝐴𝜒)))
98sbievw 2093 . . . . 5 ([𝑥 / 𝑦](𝑦𝐴𝜑) ↔ (𝑥𝐴𝜒))
102, 3, 93bitri 296 . . . 4 (𝑥 ∈ {𝑦𝐴𝜑} ↔ (𝑥𝐴𝜒))
1110anbi1i 622 . . 3 ((𝑥 ∈ {𝑦𝐴𝜑} ∧ 𝜓) ↔ ((𝑥𝐴𝜒) ∧ 𝜓))
12 anass 467 . . 3 (((𝑥𝐴𝜒) ∧ 𝜓) ↔ (𝑥𝐴 ∧ (𝜒𝜓)))
1311, 12bitri 274 . 2 ((𝑥 ∈ {𝑦𝐴𝜑} ∧ 𝜓) ↔ (𝑥𝐴 ∧ (𝜒𝜓)))
1413rabbia2 3433 1 {𝑥 ∈ {𝑦𝐴𝜑} ∣ 𝜓} = {𝑥𝐴 ∣ (𝜒𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 394   = wceq 1539  [wsb 2065  wcel 2104  {cab 2707  {crab 3430
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-ext 2701
This theorem depends on definitions:  df-bi 206  df-an 395  df-tru 1542  df-ex 1780  df-sb 2066  df-clab 2708  df-cleq 2722  df-clel 2808  df-rab 3431
This theorem is referenced by:  wlksnwwlknvbij  29429
  Copyright terms: Public domain W3C validator