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

Theorem rabrabi 3430
Description: Abstract builder restricted to another restricted abstract builder with implicit substitution. (Contributed by AV, 2-Aug-2022.) Avoid ax-10 2177, ax-11 2193 and ax-12 2212. (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 3413 . . . . . 6 {𝑦 ∈ 𝐴 ∣ 𝜑} = {𝑦 ∣ (𝑦 ∈ 𝐴 ∧ 𝜑)}
21eleq2i 2852 . . . . 5 (𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ↔ 𝑥 ∈ {𝑦 ∣ (𝑦 ∈ 𝐴 ∧ 𝜑)})
3 df-clab 2739 . . . . 5 (𝑥 ∈ {𝑦 ∣ (𝑦 ∈ 𝐴 ∧ 𝜑)} ↔ [𝑥 / 𝑦](𝑦 ∈ 𝐴 ∧ 𝜑))
4 eleq1w 2843 . . . . . . 7 (𝑦 = 𝑥 → (𝑦 ∈ 𝐴 ↔ 𝑥 ∈ 𝐴))
5 rabrabi.1 . . . . . . . . 9 (𝑥 = 𝑦 → (𝜒 ↔ 𝜑))
65bicomd 226 . . . . . . . 8 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
76equcoms 2052 . . . . . . 7 (𝑦 = 𝑥 → (𝜑 ↔ 𝜒))
84, 7anbi12d 644 . . . . . 6 (𝑦 = 𝑥 → ((𝑦 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ 𝜒)))
98sbievw 2130 . . . . 5 ([𝑥 / 𝑦](𝑦 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ 𝜒))
102, 3, 93bitri 300 . . . 4 (𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ↔ (𝑥 ∈ 𝐴 ∧ 𝜒))
1110anbi1i 636 . . 3 ((𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ∧ 𝜓) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜒) ∧ 𝜓))
12 anass 474 . . 3 (((𝑥 ∈ 𝐴 ∧ 𝜒) ∧ 𝜓) ↔ (𝑥 ∈ 𝐴 ∧ (𝜒 ∧ 𝜓)))
1311, 12bitri 278 . 2 ((𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ∧ 𝜓) ↔ (𝑥 ∈ 𝐴 ∧ (𝜒 ∧ 𝜓)))
1413rabbia2 3415 1 {𝑥 ∈ {𝑦 ∈ 𝐴 ∣ 𝜑} ∣ 𝜓} = {𝑥 ∈ 𝐴 ∣ (𝜒 ∧ 𝜓)}
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1569  [wsb 2098   ∈ wcel 2144  {cab 2738  {crab 3412
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-tru 1572  df-ex 1812  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-rab 3413
This theorem is used by:  wlksnwwlknvbij  30497
  Copyright terms: Public domain W3C validator