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

Theorem rabrabi 3412
Description: Abstract builder restricted to another restricted abstract builder with implicit substitution. (Contributed by AV, 2-Aug-2022.) Avoid ax-10 2154, ax-11 2170 and ax-12 2191. (Revised by GG, 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 3394 . . . . . 6 {𝑦𝐴𝜑} = {𝑦 ∣ (𝑦𝐴𝜑)}
21eleq2i 2833 . . . . 5 (𝑥 ∈ {𝑦𝐴𝜑} ↔ 𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)})
3 df-clab 2720 . . . . 5 (𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)} ↔ [𝑥 / 𝑦](𝑦𝐴𝜑))
4 eleq1w 2824 . . . . . . 7 (𝑦 = 𝑥 → (𝑦𝐴𝑥𝐴))
5 rabrabi.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜒𝜑))
65bicomd 225 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜒))
76equcoms 2028 . . . . . . 7 (𝑦 = 𝑥 → (𝜑𝜒))
84, 7anbi12d 639 . . . . . 6 (𝑦 = 𝑥 → ((𝑦𝐴𝜑) ↔ (𝑥𝐴𝜒)))
98sbievw 2106 . . . . 5 ([𝑥 / 𝑦](𝑦𝐴𝜑) ↔ (𝑥𝐴𝜒))
102, 3, 93bitri 299 . . . 4 (𝑥 ∈ {𝑦𝐴𝜑} ↔ (𝑥𝐴𝜒))
1110anbi1i 631 . . 3 ((𝑥 ∈ {𝑦𝐴𝜑} ∧ 𝜓) ↔ ((𝑥𝐴𝜒) ∧ 𝜓))
12 anass 470 . . 3 (((𝑥𝐴𝜒) ∧ 𝜓) ↔ (𝑥𝐴 ∧ (𝜒𝜓)))
1311, 12bitri 277 . 2 ((𝑥 ∈ {𝑦𝐴𝜑} ∧ 𝜓) ↔ (𝑥𝐴 ∧ (𝜒𝜓)))
1413rabbia2 3396 1 {𝑥 ∈ {𝑦𝐴𝜑} ∣ 𝜓} = {𝑥𝐴 ∣ (𝜒𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 397   = wceq 1548  [wsb 2074  wcel 2121  {cab 2719  {crab 3393
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1975  ax-7 2016  ax-8 2123  ax-9 2131  ax-ext 2713
This theorem depends on definitions:  df-bi 209  df-an 398  df-tru 1551  df-ex 1788  df-sb 2075  df-clab 2720  df-cleq 2733  df-clel 2816  df-rab 3394
This theorem is referenced by:  wlksnwwlknvbij  29998
  Copyright terms: Public domain W3C validator