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

Theorem ralab2 3657
Description: Universal quantification over a class abstraction. (Contributed by Mario Carneiro, 3-Sep-2015.) Drop ax-8 2152. (Revised by GG, 1-Dec-2023.)
Hypothesis
Ref Expression
ralab2.1 (𝑥 = 𝑦 → (𝜓 ↔ 𝜒))
Assertion
Ref Expression
ralab2 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑦(𝜑 → 𝜒))
Distinct variable groups:   𝑥,𝑦   𝜒,𝑥   𝜑,𝑥   𝜓,𝑦
Allowed substitution hints:   𝜑(𝑦)   𝜓(𝑥)   𝜒(𝑦)

Proof of Theorem ralab2
StepHypRef Expression
1 df-ral 3084 . 2 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑥(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓))
2 nfsab1 2752 . . . 4 Ⅎ𝑦 𝑥 ∈ {𝑦 ∣ 𝜑}
3 nfv 1951 . . . 4 Ⅎ𝑦𝜓
42, 3nfim 1933 . . 3 Ⅎ𝑦(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓)
5 nfv 1951 . . 3 Ⅎ𝑥(𝜑 → 𝜒)
6 eleq1ab 2746 . . . . 5 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ 𝜑} ↔ 𝑦 ∈ {𝑦 ∣ 𝜑}))
7 abid 2748 . . . . 5 (𝑦 ∈ {𝑦 ∣ 𝜑} ↔ 𝜑)
86, 7bitrdi 290 . . . 4 (𝑥 = 𝑦 → (𝑥 ∈ {𝑦 ∣ 𝜑} ↔ 𝜑))
9 ralab2.1 . . . 4 (𝑥 = 𝑦 → (𝜓 ↔ 𝜒))
108, 9imbi12d 347 . . 3 (𝑥 = 𝑦 → ((𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓) ↔ (𝜑 → 𝜒)))
114, 5, 10cbvalv1 2377 . 2 (∀𝑥(𝑥 ∈ {𝑦 ∣ 𝜑} → 𝜓) ↔ ∀𝑦(𝜑 → 𝜒))
121, 11bitri 278 1 (∀𝑥 ∈ {𝑦 ∣ 𝜑}𝜓 ↔ ∀𝑦(𝜑 → 𝜒))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209  ∀wal 1570   ∈ wcel 2150  {cab 2744  ∀wral 3083
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-10 2183  ax-11 2200  ax-12 2219
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1815  df-nf 1819  df-sb 2104  df-clab 2745  df-ral 3084
This theorem is used by:  ralrab2  3658  elintabg  4922  ssintab  4929  efgval  19984  efger  19985  tz9.1tco  37487  dfttc3gw  37527  elintima  44974
  Copyright terms: Public domain W3C validator