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

Theorem rabrabi 3446
Description: Abstract builder restricted to another restricted abstract builder with implicit substitution. (Contributed by AV, 2-Aug-2022.) Avoid ax-10 2130, ax-11 2147 and ax-12 2167. (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 3429 . . . . . 6 {𝑦𝐴𝜑} = {𝑦 ∣ (𝑦𝐴𝜑)}
21eleq2i 2821 . . . . 5 (𝑥 ∈ {𝑦𝐴𝜑} ↔ 𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)})
3 df-clab 2706 . . . . 5 (𝑥 ∈ {𝑦 ∣ (𝑦𝐴𝜑)} ↔ [𝑥 / 𝑦](𝑦𝐴𝜑))
4 eleq1w 2812 . . . . . . 7 (𝑦 = 𝑥 → (𝑦𝐴𝑥𝐴))
5 rabrabi.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜒𝜑))
65bicomd 222 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑𝜒))
76equcoms 2016 . . . . . . 7 (𝑦 = 𝑥 → (𝜑𝜒))
84, 7anbi12d 631 . . . . . 6 (𝑦 = 𝑥 → ((𝑦𝐴𝜑) ↔ (𝑥𝐴𝜒)))
98sbievw 2088 . . . . 5 ([𝑥 / 𝑦](𝑦𝐴𝜑) ↔ (𝑥𝐴𝜒))
102, 3, 93bitri 297 . . . 4 (𝑥 ∈ {𝑦𝐴𝜑} ↔ (𝑥𝐴𝜒))
1110anbi1i 623 . . 3 ((𝑥 ∈ {𝑦𝐴𝜑} ∧ 𝜓) ↔ ((𝑥𝐴𝜒) ∧ 𝜓))
12 anass 468 . . 3 (((𝑥𝐴𝜒) ∧ 𝜓) ↔ (𝑥𝐴 ∧ (𝜒𝜓)))
1311, 12bitri 275 . 2 ((𝑥 ∈ {𝑦𝐴𝜑} ∧ 𝜓) ↔ (𝑥𝐴 ∧ (𝜒𝜓)))
1413rabbia2 3431 1 {𝑥 ∈ {𝑦𝐴𝜑} ∣ 𝜓} = {𝑥𝐴 ∣ (𝜒𝜓)}
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395   = wceq 1534  [wsb 2060  wcel 2099  {cab 2705  {crab 3428
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-ext 2699
This theorem depends on definitions:  df-bi 206  df-an 396  df-tru 1537  df-ex 1775  df-sb 2061  df-clab 2706  df-cleq 2720  df-clel 2806  df-rab 3429
This theorem is referenced by:  wlksnwwlknvbij  29712
  Copyright terms: Public domain W3C validator