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

Theorem rabrabi 3433
Description: Abstract builder restricted to another restricted abstract builder with implicit substitution. (Contributed by AV, 2-Aug-2022.) Avoid ax-10 2183, ax-11 2200 and ax-12 2219. (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 3416 . . . . . 6 {𝑦 ∈ 𝐴 ∣ 𝜑} = {𝑦 ∣ (𝑦 ∈ 𝐴 ∧ 𝜑)}
21eleq2i 2859 . . . . 5 (𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ↔ 𝑥 ∈ {𝑦 ∣ (𝑦 ∈ 𝐴 ∧ 𝜑)})
3 df-clab 2745 . . . . 5 (𝑥 ∈ {𝑦 ∣ (𝑦 ∈ 𝐴 ∧ 𝜑)} ↔ [𝑥 / 𝑦](𝑦 ∈ 𝐴 ∧ 𝜑))
4 eleq1w 2850 . . . . . . 7 (𝑦 = 𝑥 → (𝑦 ∈ 𝐴 ↔ 𝑥 ∈ 𝐴))
5 rabrabi.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜒 ↔ 𝜑))
65bicomd 226 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
76equcoms 2057 . . . . . . 7 (𝑦 = 𝑥 → (𝜑 ↔ 𝜒))
84, 7anbi12d 644 . . . . . 6 (𝑦 = 𝑥 → ((𝑦 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ 𝜒)))
98sbievw 2136 . . . . 5 ([𝑥 / 𝑦](𝑦 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ 𝜒))
102, 3, 93bitri 300 . . . 4 (𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ↔ (𝑥 ∈ 𝐴 ∧ 𝜒))
1110anbi1i 636 . . 3 ((𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ∧ 𝜓) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜒) ∧ 𝜓))
12 anass 474 . . 3 (((𝑥 ∈ 𝐴 ∧ 𝜒) ∧ 𝜓) ↔ (𝑥 ∈ 𝐴 ∧ (𝜒 ∧ 𝜓)))
1311, 12bitri 278 . 2 ((𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ∧ 𝜓) ↔ (𝑥 ∈ 𝐴 ∧ (𝜒 ∧ 𝜓)))
1413rabbia2 3418 1 {𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ∣ 𝜓} = {𝑥 ∈ 𝐴 ∣ (𝜒 ∧ 𝜓)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  [wsb 2103   ∈ wcel 2150  {cab 2744  {crab 3415
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2152  ax-9 2160  ax-ext 2738
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1575  df-ex 1815  df-sb 2104  df-clab 2745  df-cleq 2758  df-clel 2842  df-rab 3416
This theorem is used by:  wlksnwwlknvbij  30556
  Copyright terms: Public domain W3C validator